Skip to content

k8ssrilanka/training-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

POD

kubectl run nginx --image=nginx --restart=Never --dry-run -o yaml

list

kubectl get pods

kubectl delete pod <pod-name>

kubectl edit pod <pod-name>

kubectl apply -f <file-name>

kubectl explain Pod.spec

kubectl port-forward <pod-namee> <host-port>:<container-port>

Namespace

kubectl get namespace

Deployments

kubectl run nginx --image=nginx --restart=Always --replicas=3 --dry-run -o yaml > k8s/deployment.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published