feat(config): update upstream DNS servers and enable system hostname override
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
afd5d6b146
commit
7ae54597b6
@ -36,9 +36,9 @@ loadbalancer_apiserver_healthcheck_port: 8081
|
|||||||
# disable_host_nameservers: false
|
# disable_host_nameservers: false
|
||||||
|
|
||||||
## Upstream dns servers
|
## Upstream dns servers
|
||||||
# upstream_dns_servers:
|
upstream_dns_servers:
|
||||||
# - 8.8.8.8
|
- 8.8.8.8
|
||||||
# - 8.8.4.4
|
- 8.8.4.4
|
||||||
|
|
||||||
## There are some changes specific to the cloud providers
|
## There are some changes specific to the cloud providers
|
||||||
## for instance we need to encapsulate packets with some network plugins
|
## for instance we need to encapsulate packets with some network plugins
|
||||||
@ -137,4 +137,4 @@ unsafe_show_logs: false
|
|||||||
allow_unsupported_distribution_setup: false
|
allow_unsupported_distribution_setup: false
|
||||||
|
|
||||||
## Do not override system hostname
|
## Do not override system hostname
|
||||||
override_system_hostname: false
|
override_system_hostname: true
|
||||||
@ -1,16 +1,13 @@
|
|||||||
[kube_control_plane]
|
[kube_control_plane]
|
||||||
prod-usw2-k8s-freeleaps-master-01 ansible_host=prod-usw2-k8s-freeleaps-master-01.mathmast.com ansible_user=zhenyus@mathmast.com etcd_member_name=freeleaps-etcd-01 host_name=prod-usw2-k8s-freeleaps-master-01
|
prod-usw2-k8s-freeleaps-master-01 ansible_host=10.10.0.4 ansible_user=zhenyus@mathmast.com etcd_member_name=freeleaps-etcd-01 host_name=prod-usw2-k8s-freeleaps-master-01
|
||||||
prod-usw2-k8s-freeleaps-master-02 ansible_host=prod-usw2-k8s-freeleaps-master-02.mathmast.com ansible_user=zhenyus@mathmast.com etcd_member_name=freeleaps-etcd-02 host_name=prod-usw2-k8s-freeleaps-master-02
|
prod-usw2-k8s-freeleaps-master-02 ansible_host=10.10.0.9 ansible_user=zhenyus@mathmast.com etcd_member_name=freeleaps-etcd-02 host_name=prod-usw2-k8s-freeleaps-master-02
|
||||||
prod-usw2-k8s-freeleaps-master-03 ansible_host=prod-usw2-k8s-freeleaps-master-03.mathmast.com ansible_user=zhenyus@mathmast.com etcd_member_name=freeleaps-etcd-03 host_name=prod-usw2-k8s-freeleaps-master-03
|
prod-usw2-k8s-freeleaps-master-03 ansible_host=10.10.0.8 ansible_user=zhenyus@mathmast.com etcd_member_name=freeleaps-etcd-03 host_name=prod-usw2-k8s-freeleaps-master-03
|
||||||
|
|
||||||
[etcd:children]
|
[etcd:children]
|
||||||
kube_control_plane
|
kube_control_plane
|
||||||
|
|
||||||
; If you want to add more nodes to the cluster, you can add them to the [kube_node] group
|
; If you want to add more nodes to the cluster, you can add them to the [kube_node] group
|
||||||
[kube_node]
|
[kube_node]
|
||||||
prod-usw2-k8s-freeleaps-worker-01 ansible_host=prod-usw2-k8s-freeleaps-worker-01.mathmast.com ansible_user=zhenyus@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-01
|
prod-usw2-k8s-freeleaps-worker-ingress-01 ansible_host=10.10.0.6 ansible_user=zhenyus@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-ingress-01
|
||||||
prod-usw2-k8s-freeleaps-worker-02 ansible_host=prod-usw2-k8s-freeleaps-worker-02.mathmast.com ansible_user=zhenyus@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-02
|
prod-usw2-k8s-freeleaps-worker-ingress-02 ansible_host=10.10.0.7 ansible_user=zhenyus@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-ingress-02
|
||||||
prod-usw2-k8s-freeleaps-worker-03 ansible_host=prod-usw2-k8s-freeleaps-worker-03.mathmast.com ansible_user=zhenyus@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-03
|
prod-usw2-k8s-freeleaps-worker-ingress-03 ansible_host=10.10.0.5 ansible_user=zhenyus@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-ingress-03
|
||||||
prod-usw2-k8s-freeleaps-worker-ingress-01 ansible_host=prod-usw2-k8s-freeleaps-worker-ingress-01.mathmast.com ansible_user=zhenyus@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-ingress-01
|
|
||||||
prod-usw2-k8s-freeleaps-worker-ingress-02 ansible_host=prod-usw2-k8s-freeleaps-worker-ingress-02.mathmast.com ansible_user=zhenyus@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-ingress-02
|
|
||||||
prod-usw2-k8s-freeleaps-worker-ingress-03 ansible_host=prod-usw2-k8s-freeleaps-worker-ingress-03.mathmast.com ansible_user=zhenyus@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-ingress-03
|
|
||||||
Loading…
Reference in New Issue
Block a user