Create and stated write role for deploy k8s cluster
This commit is contained in:
23
ansible/roles/k8s-deploy-cluster/vars/main.yml
Normal file
23
ansible/roles/k8s-deploy-cluster/vars/main.yml
Normal file
@ -0,0 +1,23 @@
|
||||
---
|
||||
|
||||
|
||||
k8s_apt_key_url: "https://pkgs.k8s.io/core:/stable:/v1.33/deb/Release.key"
|
||||
k8s_repo_url: "deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.33/deb/ /"
|
||||
|
||||
k8s_pkg_list:
|
||||
- apt-transport-https
|
||||
- ca-certificates
|
||||
- curl
|
||||
- gnupg
|
||||
- lsb-release
|
||||
- containerd
|
||||
- kubelet
|
||||
- kubeadm
|
||||
- kubectl
|
||||
|
||||
|
||||
k8s_clusterApi: "k8s-cl01-api.k8s-test.local:6443"
|
||||
k8s_clusterName: "k8s-cl01.k8s-test.local"
|
||||
k8s_dnsDomain: "k8s-cl01.local"
|
||||
k8s_podSubnet: "10.111.111.0/16"
|
||||
|
Reference in New Issue
Block a user