We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apiVersion: kubeadm.k8s.io/v1beta1 kind: ClusterConfiguration kubernetesVersion: v1.14.0 controlPlaneEndpoint: "apiserver.cluster.local:6443" # apiserver DNS name apiServer: certSANs: - 127.0.0.1 - apiserver.cluster.local - 172.20.241.205 - 172.20.241.206 - 172.20.241.207 - 172.20.241.208 - 10.103.97.1 # virturl ip --- apiVersion: kubeproxy.config.k8s.io/v1alpha1 kind: KubeProxyConfiguration mode: "ipvs" ipvs: excludeCIDRs: - "10.103.97.1/32"
把所有master地址渲染进去,写到/root/kubeadm-config.yaml文件
The text was updated successfully, but these errors were encountered:
如果文件已存在就不渲染,渲染使用 text/template 注意虚拟地址要和代码里写死的一致. 10.103.97.2
Sorry, something went wrong.
b8215e0
fix #41
07357fc
optimize
3d7258c
No branches or pull requests
把所有master地址渲染进去,写到/root/kubeadm-config.yaml文件
The text was updated successfully, but these errors were encountered: