Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHEATSHEET.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ A beginner-friendly guide to commonly used Kubernetes commands for managing pods
- `kubectl get services --all-namespaces`: list services across all namespaces
- `kubectl describe endpoints <endpoints-name>`: show detailed information about a specific endpoints
- `kubectl get services -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}'`: list the names of all services in jsonpath format
- `kubectl get services -o jsonpath='{.items[*].spec.ports[*].name}'`: list the ports name of all services in jsonpath foat
- `kubectl get services -o jsonpath='{.items[*].spec.ports[*].name}'`: list the ports name of all services in jsonpath format
- `kubectl get services -o jsonpath='{.items[*].spec.ports[*].port}'`: list the ports number of all services in jsonpath format

## Deployment Management
Expand Down