2022-10-13 21:56:38 +01:00
|
|
|
#!/bin/sh -e
|
2023-01-28 22:01:00 +01:00
|
|
|
{
|
|
|
|
sudo curl --tlsv1.2 -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
|
2022-10-13 21:56:38 +01:00
|
|
|
echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
|
2023-01-28 22:01:00 +01:00
|
|
|
sudo apt-get update
|
|
|
|
} >&2
|
2022-10-13 21:56:38 +01:00
|
|
|
echo kubectl
|