1
0
mirror of https://github.com/rancher/rke.git synced 2025-08-30 21:50:21 +00:00
rke/cluster.yml

66 lines
1.3 KiB
YAML
Raw Normal View History

2017-10-29 09:45:21 +00:00
---
2017-11-14 18:11:21 +00:00
auth:
strategy: x509
options:
foo: bar
2017-11-22 00:58:21 +00:00
# supported plugins are:
# flannel
# calico
# canal
2017-11-14 18:11:21 +00:00
network:
2017-11-22 00:58:21 +00:00
plugin: flannel
2017-11-14 18:11:21 +00:00
options:
foo: bar
2017-11-28 17:45:24 +00:00
nodes:
- address: 1.1.1.1
2017-10-29 09:45:21 +00:00
user: ubuntu
role: [controlplane, etcd]
2017-11-28 17:45:24 +00:00
- address: 2.2.2.2
2017-10-29 09:45:21 +00:00
user: ubuntu
role: [worker]
2017-11-28 17:45:24 +00:00
- address: example.com
user: ubuntu
role: [worker]
hostname_override: node3
internal_address: 192.168.1.6
2017-10-29 09:45:21 +00:00
services:
etcd:
image: quay.io/coreos/etcd:latest
2017-10-29 09:45:21 +00:00
kube-api:
2017-11-22 20:46:01 +00:00
image: rancher/k8s:v1.8.3-rancher2
service_cluster_ip_range: 10.233.0.0/18
2017-11-10 19:53:48 +00:00
extra_args:
2017-11-22 00:58:21 +00:00
v: 4
2017-10-29 09:45:21 +00:00
kube-controller:
2017-11-22 20:46:01 +00:00
image: rancher/k8s:v1.8.3-rancher2
2017-11-01 18:50:00 +00:00
cluster_cidr: 10.233.64.0/18
service_cluster_ip_range: 10.233.0.0/18
2017-10-29 09:45:21 +00:00
scheduler:
2017-11-22 20:46:01 +00:00
image: rancher/k8s:v1.8.3-rancher2
2017-10-29 09:45:21 +00:00
kubelet:
2017-11-22 20:46:01 +00:00
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
2017-10-29 09:45:21 +00:00
kubeproxy:
2017-11-22 20:46:01 +00:00
image: rancher/k8s:v1.8.3-rancher2
2017-11-22 00:58:21 +00:00
# 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