Installation instructions can be found here. Install HELM locally: Installing Tiller with RBAC enabled Начиная с Kubernetes v1.8+, RBAC включен по умолчанию. Checking: Create Nginx Ingress Controller: If the following error occurs: Error: release nginx-ingress failed: namespaces "default" is forbidden: User "system:serviceaccount:kube-system:default" cannot get resource "namespaces" in API …
Continue reading "GKE – Nginx Ingress Installation Using HELM"
To enable CORS in ingress, add the following: * – allows requests from anywhere, replace it with the domain you need
Configuration example Kubernetes Ingress with the choice of backend based on the value of the argument "proxy". And the default backend, if the value of the argument "proxy" is different from "1" and "2", or is missing. manifest.yaml
Replicas Let’s look at the name and namespace of Ingress'а: Edit our Ingress: And we find the string: Set 2 replicas: You can save changes and watch the number of Ingress Pods. nodeSelector We explicitly indicate on which nodes the Ingress should be run. Let’s see the current label: Set the label: Edit Ingress …
Continue reading "Kubernetes – Ingress Nginx: Replicas and Nodeselector"
Terraform configuration example that creates Kubernetes cluster (Bare Metal) on AWS EC2. Creates Ingress with NodePort. IP addresses Ingress nodes. This template creates the following EC2 instances: 1 manager 2 workers 2 ingresses variables.tf
ingress.yml