IT-SDK-Kubernetes-Basics

From wiki.samerhijazi.net
Revision as of 00:20, 7 July 2021 by Samerhijazi (talk | contribs) (Source)
Jump to navigation Jump to search

Ref.

Source

kubectl run  --image=nginx -o yaml --dry-run=client > pod-defination.yaml
kubectl create deployment  --image=nginx --replicas=3 -o yaml --dry-run=client > deployment-defination.yaml

minikube

minikube start
minikube dashboard
minikube stop		            #Halt the cluster:
minikube config set memory 16384    #Set memory limit
minikube addons list	            #Browse the catalog
minikube start -p aged --kubernetes-version=v1.16.1		#Create a second cluster
minikube delete --all		    #Delete all of the minikube