2017-10-29 09:45:21 +00:00
|
|
|
---
|
2018-01-31 20:12:53 +00:00
|
|
|
|
|
|
|
kubernetes_version: v1.8.5-rancher4
|
|
|
|
|
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
|
2017-12-07 18:07:23 +00:00
|
|
|
#
|
2018-01-14 17:52:01 +00:00
|
|
|
# If you are using calico on AWS or GCE, use the network plugin config option:
|
2017-12-14 21:56:19 +00:00
|
|
|
# 'calico_cloud_provider: aws'
|
2018-01-14 17:52:01 +00:00
|
|
|
# or
|
|
|
|
# 'calico_cloud_provider: gce'
|
2018-02-05 15:50:39 +00:00
|
|
|
# network:
|
|
|
|
# plugin: calico
|
|
|
|
# options:
|
|
|
|
# calico_cloud_provider: aws
|
|
|
|
#
|
|
|
|
# To specify flannel interface, you can use the 'flannel_iface' option:
|
|
|
|
# network:
|
|
|
|
# plugin: flannel
|
|
|
|
# options:
|
|
|
|
# flannel_iface: eth1
|
|
|
|
|
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:
|
|
|
|
|
2017-12-02 17:07:47 +00:00
|
|
|
ssh_key_path: ~/.ssh/test
|
2018-02-06 22:29:04 +00:00
|
|
|
ignore_docker_version: false
|
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
|
2017-12-14 21:56:19 +00:00
|
|
|
authorization:
|
|
|
|
mode: rbac
|
|
|
|
options:
|
|
|
|
|
2018-01-30 18:15:14 +00:00
|
|
|
|
|
|
|
# List of registry credentials, if you are using a Docker Hub registry,
|
|
|
|
# you can omit the `url` or set it to `docker.io`
|
|
|
|
private_registries:
|
|
|
|
- url: registry.com
|
|
|
|
user: Username
|
|
|
|
passowrd: password
|
2018-01-31 20:12:53 +00:00
|
|
|
|
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:
|
2018-01-30 23:45:44 +00:00
|
|
|
|
2017-10-29 09:45:21 +00:00
|
|
|
kube-api:
|
2018-01-30 23:45:44 +00:00
|
|
|
|
2017-10-30 06:31:06 +00:00
|
|
|
service_cluster_ip_range: 10.233.0.0/18
|
2017-12-20 01:51:07 +00:00
|
|
|
pod_security_policy: false
|
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-01 18:50:00 +00:00
|
|
|
cluster_cidr: 10.233.64.0/18
|
2017-10-30 06:31:06 +00:00
|
|
|
service_cluster_ip_range: 10.233.0.0/18
|
2017-10-29 09:45:21 +00:00
|
|
|
scheduler:
|
|
|
|
kubelet:
|
2017-10-30 06:31:06 +00:00
|
|
|
cluster_domain: cluster.local
|
2017-11-06 20:50:41 +00:00
|
|
|
cluster_dns_server: 10.233.0.3
|
2017-10-30 06:31:06 +00:00
|
|
|
infra_container_image: gcr.io/google_containers/pause-amd64:3.0
|
2017-10-29 09:45:21 +00:00
|
|
|
kubeproxy:
|
2018-01-30 23:45:44 +00:00
|
|
|
|
2017-11-18 12:51:28 +00:00
|
|
|
|
2017-12-05 01:29:29 +00:00
|
|
|
|
|
|
|
system_images:
|
2018-02-03 07:41:37 +00:00
|
|
|
etcd: rancher/etcd:v3.0.17
|
2018-01-30 23:45:44 +00:00
|
|
|
kubernetes: rancher/k8s:v1.8.5-rancher4
|
2017-12-05 01:29:29 +00:00
|
|
|
alpine: alpine:latest
|
2018-01-19 22:43:19 +00:00
|
|
|
nginx_proxy: rancher/rke-nginx-proxy:v0.1.1
|
2018-01-16 13:46:49 +00:00
|
|
|
cert_downloader: rancher/rke-cert-deployer:v0.1.1
|
2018-01-30 12:32:50 +00:00
|
|
|
kubernetes_services_sidecar: rancher/rke-service-sidekick:v0.1.0
|
2018-02-03 07:41:37 +00:00
|
|
|
kubedns: rancher/k8s-dns-kube-dns-amd64:1.14.5
|
|
|
|
dnsmasq: rancher/k8s-dns-dnsmasq-nanny-amd64:1.14.5
|
|
|
|
kubedns_sidecar: rancher/k8s-dns-sidecar-amd64:1.14.5
|
|
|
|
kubedns_autoscaler: rancher/cluster-proportional-autoscaler-amd64:1.0.0
|
2017-12-05 01:29:29 +00:00
|
|
|
|
2017-11-22 00:58:21 +00:00
|
|
|
# all addon manifests MUST specify a namespace
|
2017-11-18 12:51:28 +00:00
|
|
|
addons: |-
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Pod
|
|
|
|
metadata:
|
|
|
|
name: my-nginx
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: my-nginx
|
|
|
|
image: nginx
|
|
|
|
ports:
|
|
|
|
- containerPort: 80
|