You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the readme.md and 04-script (that contains the same commands from readme.md) that installs Kubeadm is wrong. The repository address is wrong, the version is wrong and the flags are wrong. Here is a fixed file for anyone that is trying to deploy on a Apple Silicon (tested on M2) :
`#!/usr/bin/env bash
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Right now the readme.md and 04-script (that contains the same commands from readme.md) that installs Kubeadm is wrong. The repository address is wrong, the version is wrong and the flags are wrong. Here is a fixed file for anyone that is trying to deploy on a Apple Silicon (tested on M2) :
`#!/usr/bin/env bash
Step 4 - Install kubeadm, kubelet and kubectl
KUBE_VERSION=1.26.4
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates curl
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.26/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.26/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update
sudo apt-get install -y kubelet=${KUBE_VERSION}-1.1 jq kubectl=${KUBE_VERSION}-1.1 kubeadm=${KUBE_VERSION}-1.1 runc kubernetes-cni=1.2.0-2.1 --allow-change-held-packages
sudo apt-mark hold kubelet kubeadm kubectl`
Beta Was this translation helpful? Give feedback.
All reactions