Skip to content

Commit fd15a9a

Browse files
Merge pull request #287292 from rbhaiya/patch-8
Update howto-prepare-cluster.md
2 parents 42325b4 + 7e0ca72 commit fd15a9a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

articles/iot-operations/deploy-iot-ops/howto-prepare-cluster.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,29 @@ By default, Azure Kubernetes Service Edge Essentials clusters support Azure Cont
131131

132132
### [Ubuntu](#tab/ubuntu)
133133

134+
Install dependencies on Ubuntu:
135+
136+
1. Run the helm installation script:
137+
138+
```bash
139+
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
140+
chmod 700 get_helm.sh
141+
./get_helm.sh
142+
helm version
143+
```
144+
145+
Install dependencies on Ubuntu:
146+
147+
1. Run the kubectl installation script:
148+
149+
```bash
150+
curl -LO “https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl”
151+
curl -LO “https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256”
152+
echo$(cat kubectl.sha256) kubectl” | sha256sum --check
153+
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
154+
kubectl version --client
155+
```
156+
134157
To prepare a K3s Kubernetes cluster on Ubuntu:
135158

136159
1. Run the K3s installation script:

0 commit comments

Comments
 (0)