Updating to kubespray 1.23 + velero changes + home server
This commit is contained in:
parent
18f94c7d5c
commit
030050d156
|
|
@ -6,7 +6,7 @@
|
||||||
echo "######################################################################################"
|
echo "######################################################################################"
|
||||||
echo "## Reinit repository"
|
echo "## Reinit repository"
|
||||||
rm -rf kubespray
|
rm -rf kubespray
|
||||||
VERSION="release-2.22"
|
VERSION="release-2.23"
|
||||||
git clone --branch $VERSION https://github.com/kubernetes-sigs/kubespray.git
|
git clone --branch $VERSION https://github.com/kubernetes-sigs/kubespray.git
|
||||||
|
|
||||||
echo "######################################################################################"
|
echo "######################################################################################"
|
||||||
|
|
@ -47,6 +47,8 @@ rsync -a ./inventory/ ./kubespray/inventory/
|
||||||
echo "## * changing into kubespray dir"
|
echo "## * changing into kubespray dir"
|
||||||
cd kubespray
|
cd kubespray
|
||||||
echo "## * execute the following command to force new settings"
|
echo "## * execute the following command to force new settings"
|
||||||
|
echo "ansible-playbook -i inventory/prod/inventory.ini cluster.yml"
|
||||||
|
echo "## * execute the following command to force new settings with forced cluster upgrade"
|
||||||
echo "ansible-playbook -i inventory/prod/inventory.ini -e upgrade_cluster_setup=true cluster.yml"
|
echo "ansible-playbook -i inventory/prod/inventory.ini -e upgrade_cluster_setup=true cluster.yml"
|
||||||
|
|
||||||
# cp -r kubespray/inventory/sample kubespray/inventory/prod
|
# cp -r kubespray/inventory/sample kubespray/inventory/prod
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
# moritz
|
# moritz
|
||||||
kubelet_preferred_address_types: 'Hostname,ExternalDNS,ExternalIP,InternalDNS,InternalIP'
|
kubelet_preferred_address_types: 'Hostname,ExternalDNS,ExternalIP,InternalDNS,InternalIP'
|
||||||
dns_min_replicas: 1
|
dns_min_replicas: 1
|
||||||
|
enable_dns_autoscaler: false
|
||||||
|
|
||||||
## Directory where etcd data stored
|
## Directory where etcd data stored
|
||||||
etcd_data_dir: /var/lib/etcd
|
etcd_data_dir: /var/lib/etcd
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue