Kubectl Reference Docs - Kubernetes
kubernetes.io › docs › referencekubectl create deployment my-dep --image=busybox -- date. Create a deployment named my-dep that runs the nginx image with 3 replicas. kubectl create deployment my-dep --image =nginx --replicas =3 Create a deployment named my-dep that runs the busybox image and expose port 5701. kubectl create deployment my-dep --image =busybox --port =5701
Kubectl | minikube
minikube.sigs.k8s.io › docs › handbookNov 17, 2021 · By default, kubectl gets configured to access the kubernetes cluster control plane inside minikube when the minikube start command is executed. However if kubectl is not installed locally, minikube already includes kubectl which can be used like this:
Using kubectl to generate Kubernetes YAML | Liam Moat
www.liammoat.com › blog › 2019Jul 13, 2019 · When you get started with Kubernetes, the first thing you will probably do is create a Deployment using the kubectl command-line interface. When you create an object in Kubernetes, including a Deployment, you must provide the object spec that describes its desired state, as well as some basic information about the object (such as a name). Most often, you provide this information using a YAML ...