KubeZero/charts/kubeadm/templates/JoinConfiguration.yaml

16 lines
402 B
YAML
Raw Normal View History

2021-01-03 15:33:13 +00:00
apiVersion: kubeadm.k8s.io/v1beta2
kind: JoinConfiguration
discovery:
file:
kubeConfigPath: /root/.kube/config
controlPlane:
localAPIEndpoint:
advertiseAddress: IP_ADDRESS
bindPort: {{ regexSplit ":" .Values.apiEndpoint -1 | last }}
2021-01-03 15:33:13 +00:00
nodeRegistration:
ignorePreflightErrors:
- DirAvailable--var-lib-etcd
- Swap
kubeletExtraArgs:
node-labels: {{ .Values.nodeLabels | quote }}