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

Atualiza passos da instalação do cluster no day-5 #237

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
7 changes: 5 additions & 2 deletions pt/day-5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,13 @@ Hora de instalar os pacotes do Kubernetes! Coisa linda de ai meu Deus! Aqui vamo

```
sudo apt-get update && sudo apt-get install -y apt-transport-https curl
```
Com a [mudança de repositório do k8s](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/), agora é necessário setar explicitamente a versão antes de instalar os componentes, abaixo vemos a instalação dos componenetes na versão 1.28, para instalação de outras versões substitua `v1.28` pela versão desejada:

curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
```
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg

echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list

sudo apt-get update
sudo apt-get install -y kubelet kubeadm kubectl
Expand Down