modified: README.md

This commit is contained in:
2026-01-17 12:13:23 +00:00
parent fa51096c61
commit 2858174542

View File

@@ -3,6 +3,7 @@
Kubernetes is an opensource platform that automates the deployment, scaling, and management of containerized applications. It acts as an orchestrator, ensuring your containers run reliably across clusters of machines, handling networking, storage, and updates without downtime. Kubernetes is an opensource platform that automates the deployment, scaling, and management of containerized applications. It acts as an orchestrator, ensuring your containers run reliably across clusters of machines, handling networking, storage, and updates without downtime.
- [kubectl](#kubectl) - [kubectl](#kubectl)
- [Run a command inside a running Pod](#run-a-command-inside-a-running-pod)
- [Get Pod](#get-pod) - [Get Pod](#get-pod)
- [Pod delete](#pod-delete) - [Pod delete](#pod-delete)
- [OOMKilled](#oomkilled) - [OOMKilled](#oomkilled)
@@ -45,6 +46,16 @@ kubectl is the commandline tool used to interact with Kubernetes clusters. Th
kubectl create namespace tests kubectl create namespace tests
``` ```
### Run a command inside a running Pod
``` bash
# sh
kubectl exec -it ${POD_NAME} -- sh
# bash
kubectl exec -it ${POD_NAME} -- bash
```
### Get Pod ### Get Pod
**Get pod name by label ap:** **Get pod name by label ap:**