--- auth: strategy: x509 options: foo: bar # supported plugins are: # flannel # calico # canal network: plugin: flannel options: foo: bar hosts: - advertised_hostname: server1 ip: 1.1.1.1 user: ubuntu role: [controlplane, etcd] docker_socket: /var/run/docker.sock advertise_address: 10.1.1.1 - advertised_hostname: server2 ip: 2.2.2.2 user: ubuntu role: [worker] advertise_address: 10.2.2.2 services: etcd: image: quay.io/coreos/etcd:latest kube-api: image: rancher/k8s:v1.8.3-rancher2 service_cluster_ip_range: 10.233.0.0/18 extra_args: v: 4 kube-controller: image: rancher/k8s:v1.8.3-rancher2 cluster_cidr: 10.233.64.0/18 service_cluster_ip_range: 10.233.0.0/18 scheduler: image: rancher/k8s:v1.8.3-rancher2 kubelet: image: rancher/k8s:v1.8.3-rancher2 cluster_domain: cluster.local cluster_dns_server: 10.233.0.3 infra_container_image: gcr.io/google_containers/pause-amd64:3.0 kubeproxy: image: rancher/k8s:v1.8.3-rancher2 # all addon manifests MUST specify a namespace addons: |- --- apiVersion: v1 kind: Pod metadata: name: my-nginx namespace: default spec: containers: - name: my-nginx image: nginx ports: - containerPort: 80