Port Forward Kubernetes
Cấu hình port forward tạo kết nối đến ứng dụng triển khai trên Kubernetes cluster
Kubernetes is an open-source container orchestration platform for automating deployment, scaling, and management of containerized applications.
| Concept | Description |
|---|---|
| Pod | Smallest deployable unit that can contain one or more containers |
| Node | Worker machine in the Kubernetes cluster |
| Cluster | Set of nodes that run containerized applications |
| Deployment | Manages the desired state for Pods and ReplicaSets |
| Service | Defines a logical set of Pods and a policy to access them |
| Namespace | Virtual cluster within a physical cluster |
| Command | Description |
|---|---|
kubectl get pods | List all pods in the current namespace |
kubectl apply -f file.yaml | Create or update resources from a file |
kubectl describe pod <pod-name> | Show detailed information about a pod |
kubectl logs <pod-name> | Print the logs from a container in a pod |
kubectl exec -it <pod-name> -- /bin/bash | Execute a command in a container |
Cấu hình port forward tạo kết nối đến ứng dụng triển khai trên Kubernetes cluster
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.