mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-08-13 12:25:46 +00:00
Migrate the Kubernetes shell to ash
The Kubernetes images have been migrated to Alpine Linux which does not include bash by default. Signed-off-by: Matt Bajor <matt@notevenremotelydorky.com>
This commit is contained in:
parent
f2d6752751
commit
7686c1a153
@ -32,7 +32,7 @@ kubeadm-init.sh
|
|||||||
```
|
```
|
||||||
|
|
||||||
Once `kubeadm` exits, make sure to copy the `kubeadm join` arguments,
|
Once `kubeadm` exits, make sure to copy the `kubeadm join` arguments,
|
||||||
and try `runc exec kubelet kubectl get nodes`.
|
and try `kubectl get nodes` from within the master.
|
||||||
|
|
||||||
To boot a node use:
|
To boot a node use:
|
||||||
```
|
```
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash -eux
|
#!/bin/bash -eux
|
||||||
./ssh.sh -t "$1" nsenter --mount --target 1 runc exec --tty kubelet bash -l
|
./ssh.sh -t "$1" nsenter --mount --target 1 runc exec --tty kubelet ash -l
|
||||||
|
Loading…
Reference in New Issue
Block a user