pvc.yml: Create PVC: Check:
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
An example of creating a common directory for two containers in one pod.
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
First you need to install Docker. For Kubernetes to work correctly, you must disable SWAP Also check delete it with fstab Add Kubernetes repository and install Ubuntu: CentOS 7: