Skip to content

Commit

Permalink
Merge pull request #40 from ahmedwaleedmalik/update-k8s-registry
Browse files Browse the repository at this point in the history
chore: migrate from k8s.gcr.io to registry.k8s.io
  • Loading branch information
luc99hen authored May 9, 2023
2 parents 60eb192 + 78a2b35 commit 384ea35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/k8s_config_cloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
sed -i '/swap/d' /etc/fstab
sudo swapoff -a

# change hostname
# change hostname
hostnamectl set-hostname $1

# let ip_table see bridged network
# let ip_table see bridged network
sudo modprobe br_netfilter
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
br_netfilter
Expand Down Expand Up @@ -78,7 +78,7 @@ systemctl enable kubelet && systemctl start kubelet

# install cluster containers
IMAGE_REPO=registry.aliyuncs.com/google_containers
TARGET_REPO=k8s.gcr.io
TARGET_REPO=registry.k8s.io
Containers=("kube-apiserver:v1.18.8" "kube-controller-manager:v1.18.8" "kube-scheduler:v1.18.8" "kube-proxy:v1.18.8" "pause:3.2" "etcd:3.4.3-0" "coredns:1.6.7")

for container in ${Containers[*]}; do
Expand Down

0 comments on commit 384ea35

Please sign in to comment.