Skip to content

Commit

Permalink
feat: add ephermeral container approach inside pod debug page. (#18754)
Browse files Browse the repository at this point in the history
  • Loading branch information
Colstuwjx authored Jan 29, 2020
1 parent 48fb48d commit c7dc8c1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ As an example, to look at the logs from a running Cassandra pod, you might run:
kubectl exec cassandra -- cat /var/log/cassandra/system.log
```

If your cluster enabled it, you can also try adding an [ephemeral container](/docs/concepts/workloads/pods/ephemeral-containers/) into the existing pod. You can use the new temporary container to run arbitrary commands, for example, to diagnose problems inside the Pod. See the page about [ephemeral container](/docs/concepts/workloads/pods/ephemeral-containers/) for more details, including feature availability.

If none of these approaches work, you can find the host machine that the pod is
running on and SSH into that host.

Expand Down

0 comments on commit c7dc8c1

Please sign in to comment.