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

96 lines
2.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-30 11:35:31 +00:00
# weave
#
# If you are using calico on AWS, use the network plugin config option:
# 'calico_cloud_provider: aws'
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:
flannel_image: quay.io/coreos/flannel:v0.9.1
flannel_cni_image: quay.io/coreos/flannel-cni:v0.2.0
2017-11-14 18:11:21 +00:00
2017-12-02 17:07:47 +00:00
ssh_key_path: ~/.ssh/test
2017-12-15 03:02:44 +00:00
ignore_docker_version: false
2017-12-02 17:07:47 +00:00
2017-12-14 21:56:19 +00:00
# Kubernetes authorization mode; currently only `rbac` is supported and enabled by default.
# Use `mode: none` to disable authorization
authorization:
mode: rbac
options:
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-12-02 17:07:47 +00:00
ssh_key_path: /home/user/.ssh/id_rsa
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-12-02 17:07:47 +00:00
ssh_key: |-
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
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
system_images:
alpine: alpine:latest
nginx_proxy: rancher/rke-nginx-proxy:0.1.0
cert_downloader: rancher/rke-cert-deployer:0.1.0
kubedns_image: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.5
dnsmasq_image: gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.5
kubedns_sidecar_image: gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.5
kubedns_autoscaler_image: gcr.io/google_containers/cluster-proportional-autoscaler-amd64:1.0.0
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