Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate from k8s.gcr.io to registry.k8s.io #40

Merged
merged 1 commit into from
May 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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