Changed the command for Attaching to the shell container

This commit is contained in:
HITMAN 2024-10-09 23:18:56 +05:30 committed by GitHub
parent 650d42ef85
commit 585c1c60c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ Process namespace sharing is enabled using the `shareProcessNamespace` field of
1. Attach to the `shell` container and run `ps`:
```shell
kubectl attach -it nginx -c shell
kubectl exec -it nginx -c shell -- /bin/sh
```
If you don't see a command prompt, try pressing enter. In the container shell: