This commit is contained in:
2023-01-16 22:54:37 +07:00
commit def2185721
4 changed files with 131 additions and 0 deletions

59
1.Cluster/cluster.yml Normal file
View File

@@ -0,0 +1,59 @@
cluster_name: k8s-test
kubernetes_version: v1.23.14-rancher1-1
ignore_docker_version: true
nodes:
- address: 65.109.190.72
hostname_override: node1
user: root
labels:
worker: yes
ingress: yes
location: nsk
role: [controlplane, worker, etcd]
- address: 65.109.190.74
hostname_override: node2
user: root
labels:
worker: yes
ingress: yes
location: nsk
role: [controlplane, worker, etcd]
- address: 135.181.206.109
hostname_override: node3
user: root
labels:
worker: yes
ingress: yes
location: nsk
role: [controlplane, worker, etcd]
services:
etcd:
snapshot: true
creation: 6h
retention: 30h
kube-controller:
extra_args:
terminated-pod-gc-threshold: 100
authentication:
strategy: x509
sans:
- "rke.xxx-net.ru"
ingress:
provider: nginx
node_selector:
ingress: yes
tolerations:
- key: node-role.kubernetes.io/controlplane
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/etcd
operator: Exists
effect: NoExecute
extra_args:
http-port: 80
https-port: 443