Adding inventory and correcting also host vars

This commit is contained in:
Moritz Graf 2025-11-29 12:00:36 +01:00
parent 02dbfae782
commit 295e1a2e68
11 changed files with 6 additions and 25 deletions

View File

@ -27,7 +27,7 @@ kube_kubeadm_apiserver_extra_args:
kube_api_anonymous_auth: true kube_api_anonymous_auth: true
## Change this to use another Kubernetes version, e.g. a current beta release ## Change this to use another Kubernetes version, e.g. a current beta release
kube_version: v1.30.6 kube_version: v1.31.9
# kubernetes image repo define # kubernetes image repo define
#kube_image_repo: "k8s.gcr.io" #kube_image_repo: "k8s.gcr.io"

View File

@ -3,35 +3,16 @@
# ## We should set etcd_member_name for etcd cluster. The node that is not a etcd member do not need to set the value, or can set the empty string value. # ## We should set etcd_member_name for etcd cluster. The node that is not a etcd member do not need to set the value, or can set the empty string value.
[all] [all]
haumdaucher haumdaucher
#jetson1.dyndns.moritzgraf.de
# container_manager=containerd resolvconf_mode=docker_dns
#ns3088070.ip-37-59-40.eu ansible_host=37.59.40.95 ansible_become=yes ansible_become_method=sudo ansible_python_interpreter=/usr/bin/python3 [kube_control_plane]
#ns3100058.ip-37-59-61.eu ansible_host=37.59.61.198 ansible_become=yes ansible_become_method=sudo ansible_python_interpreter=/usr/bin/python3
# node1 ansible_host=95.54.0.12 # ip=10.3.0.1 etcd_member_name=etcd1
# node2 ansible_host=95.54.0.13 # ip=10.3.0.2 etcd_member_name=etcd2
# node3 ansible_host=95.54.0.14 # ip=10.3.0.3 etcd_member_name=etcd3
# node4 ansible_host=95.54.0.15 # ip=10.3.0.4 etcd_member_name=etcd4
# node5 ansible_host=95.54.0.16 # ip=10.3.0.5 etcd_member_name=etcd5
# node6 ansible_host=95.54.0.17 # ip=10.3.0.6 etcd_member_name=etcd6
# ## configure a bastion host if your nodes are not directly reachable
# bastion ansible_host=x.x.x.x ansible_user=some_user
[kube-master]
haumdaucher haumdaucher
#ns3088070.ip-37-59-40.eu
[etcd] [etcd]
haumdaucher haumdaucher
[kube-node] [kube_node]
haumdaucher haumdaucher
#jetson1.dyndns.moritzgraf.de
[calico-rr] [k8s_cluster:children]
kube_control_plane
[k8s-cluster:children] kube_node
kube-master
kube-node
calico-rr