Summary
We began this chapter by managing Pods with Deployment
resources and ReplicaSet
resources and discussed some of the critical Kubernetes deployment strategies. We then looked into Kubernetes service discovery and models and understood why we required a separate entity to expose containers to the internal or external world. We then looked at different Service
resources and where to use them. We talked about Ingress
resources and how to use them to create reverse proxies to our container workloads. We then delved into Horizontal Pod Autoscaling and used multiple metrics to scale our Pods
automatically.
We looked at state considerations and learned about static and dynamic storage provisioning using PeristentVolumes
, PersistentVolumeClaims
, and StorageClass
, and talked about some best practices surrounding them. We looked at StatefulSet
resources as an essential resource that helps you schedule and manage stateful containers. Finally, we looked at some best practices, tips...