Skip to content

Commit

Permalink
Improve Binary Installation Process for K8s Tools (#7252)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaradtke-aws authored Jan 4, 2024
1 parent ec9bd81 commit 64326c0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/content/en/docs/getting-started/docker/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Install `eksctl`
curl "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" \
--silent --location \
| tar xz -C /tmp
sudo mv /tmp/eksctl /usr/local/bin/
sudo install -m 0755 /tmp/eksctl /usr/local/bin/eksctl
```

Install the `eksctl-anywhere` plugin
Expand All @@ -66,16 +66,15 @@ EKS_ANYWHERE_TARBALL_URL=$(curl https://anywhere-assets.eks.amazonaws.com/releas
curl $EKS_ANYWHERE_TARBALL_URL \
--silent --location \
| tar xz ./eksctl-anywhere
sudo mv ./eksctl-anywhere /usr/local/bin/
sudo install -m 0755 ./eksctl-anywhere /usr/local/bin/eksctl-anywhere
```

Install `kubectl`. See the Kubernetes [documentation](https://kubernetes.io/docs/tasks/tools/) for more information.

```bash
export OS="$(uname -s | tr A-Z a-z)" ARCH=$(test "$(uname -m)" = 'x86_64' && echo 'amd64' || echo 'arm64')
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/${OS}/${ARCH}/kubectl"
sudo mv ./kubectl /usr/local/bin
sudo chmod +x /usr/local/bin/kubectl
sudo install -m 0755 ./kubectl /usr/local/bin/kubectl
```

### Create a local Docker cluster
Expand Down

0 comments on commit 64326c0

Please sign in to comment.