freeleaps-ops/cluster/ansible/manifests/inventory.ini
2025-01-12 03:03:58 +08:00

13 lines
1.1 KiB
INI

[kube_control_plane]
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=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=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]
kube_control_plane
; If you want to add more nodes to the cluster, you can add them to the [kube_node] group
[kube_node]
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-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-ingress-03 ansible_host=10.10.0.5 ansible_user=zhenyus@mathmast.com host_name=prod-usw2-k8s-freeleaps-worker-ingress-03