How To Create Deployment Objects in Kubernetes and Deploy Using kubectl
Kubernetes provides a layer of functionality around Pods and allows you to describe a desired state. Deployments create a ReplicaSets which will in turn create the Pods that we request as part of our Deployment. When we update our Deployments, new Replica sets will be created that contain the updated Pods. Using kubectl, we can use the command to create a deployment using our own YAML file. We can also use the following command:fyployment -fyDeployment-a-deployment.
Software Engineer and Microsoft Data Platform MVP based in Auckland, New Zealand
Join Hacker Noon
Create your free account to unlock your custom reading experience.