Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 1.78 KB

scheduling.md

File metadata and controls

71 lines (46 loc) · 1.78 KB

Core Concepts (13%)

kubernetes.io > Documentation > Reference > kubectl CLI > kubectl Cheat Sheet

kubernetes.io > Documentation > Tasks > Monitoring, Logging, and Debugging > Get a Shell to a Running Container

kubernetes.io > Documentation > Tasks > Access Applications in a Cluster > Configure Access to Multiple Clusters

kubernetes.io > Documentation > Tasks > Access Applications in a Cluster > Accessing Clusters using API

kubernetes.io > Documentation > Tasks > Access Applications in a Cluster > Use Port Forwarding to Access Applications in a Cluster

Create a deployment from a YAML file named deploy.yml

show

kubectl apply -f deploy.yml

Describe a pod named nginx

show

kubectl describe po nginx

Delete a pod named nginx

show

kubectl delete po nginx

Create a deployment named nginx and use the image nginx

show

kubectl create deploy nginx --image=nginx

Create the YAML specification for a deployment named nginx, outputting to a file named deploy.yml

show

kubectl create deployment nginx --image=nginx --dry-run -o yaml > deploy.yml