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:
Matt Bajor 2017-04-18 19:30:26 -05:00
parent f2d6752751
commit 7686c1a153
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ kubeadm-init.sh
```
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:
```

View File

@ -1,2 +1,2 @@
#!/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