mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-08 20:15:03 +10:00
22 lines
698 B
YAML
22 lines
698 B
YAML
# Full configuration https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta2/
|
|
apiVersion: kubeadm.k8s.io/v1beta2
|
|
kind: ClusterConfiguration
|
|
etcd:
|
|
external:
|
|
endpoints:
|
|
- "https://192.168.1.22:2379"
|
|
- "https://192.168.1.2:2379"
|
|
- "https://192.168.1.11:2379"
|
|
- "https://192.168.1.111:2379"
|
|
caFile: "/etc/etcd/ca.pem"
|
|
certFile: "/etc/etcd/etcd.pem"
|
|
keyFile: "/etc/etcd/etcd-key.pem"
|
|
networking:
|
|
serviceSubnet: "10.96.0.0/16"
|
|
podSubnet: "10.244.0.0/16"
|
|
dnsDomain: "cluster.local"
|
|
controlPlaneEndpoint: "192.168.1.2:6443" # updated to this vip
|
|
certificatesDir: "/etc/kubernetes/pki"
|
|
imageRepository: "k8s.gcr.io"
|
|
clusterName: "home-cluster"
|