Summary
We have come to the end of this chapter on Pods and how to create them; we hope you enjoyed it. You’ve learned how to use the most important objects in Kubernetes: Pods.
The knowledge you’ve developed in this chapter is part of the essential basis for mastering Kubernetes: all you will do in Kubernetes is manipulate Pods, label them, and access them. But also remember, in the actual Kubernetes environment, you will not be creating or modifying resources directly, instead using other methods to deploy your application Pods and other resources. In addition, you saw that Kubernetes behaves like a traditional API, in that it executes CRUD operations to interact with the resources on the cluster. In this chapter, you learned how to launch containers on Kubernetes, how to access these containers using kubectl
port forwarding, how to add labels and annotations to Pods, how to delete Pods, and how to launch and schedule jobs using the CronJob
resource.
Just remember...