1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-26 07:25:09 +00:00
Files
rke/cluster.yml
2017-11-28 23:55:43 +02:00

66 lines
1.3 KiB
YAML

---
auth:
strategy: x509
options:
foo: bar
# supported plugins are:
# flannel
# calico
# canal
network:
plugin: flannel
options:
foo: bar
nodes:
- address: 1.1.1.1
user: ubuntu
role: [controlplane, etcd]
- address: 2.2.2.2
user: ubuntu
role: [worker]
- address: example.com
user: ubuntu
role: [worker]
hostname_override: node3
internal_address: 192.168.1.6
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