Belajar Sendiri

Commands

ssh

ssh <node> | docker exec -it <node> bash (kind)

Risk: Safe

What it does

Opens a shell inside one node: the stall's back room. exit takes you back.

When to use it

When kubectl can't tell you why: look at the kubelet, its diary and the stove.

Example

$ ssh dev-worker

Step into dev-worker's back room, like on the exam.

$ docker exec -it dev-worker bash

The same on kind: each node is a Docker container with no SSH server.