Managing stateful applications – Managing Advanced Kubernetes Resources
Imagine you’re a librarian in a magical library. You have a bunch of enchanted books that store valuable knowledge. Each book has a unique story and is…
Horizontal Pod autoscaling – Managing Advanced Kubernetes Resources-2
Now, let’s autoscale this deployment. The Deployment resource needs at least 1 pod replica and can have a maximum of 5 pod replicas while maintaining an average…
Horizontal Pod autoscaling – Managing Advanced Kubernetes Resources-1
Imagine you’re the manager of a snack bar at a park. On a sunny day, lots of people come to enjoy the park, and they all want…
Name-based routing – Managing Advanced Kubernetes Resources
Name-based or FQDN-based routing relies on the host header we pass while making an HTTP request. The Ingress resource can route based on the header. For example,…
Important note – Managing Advanced Kubernetes Resources
Remember that Ingress rules take a while to propagate across the cluster, so if you receive an error initially when you curl the endpoint, wait for 5…
LoadBalancer Service resources – Managing Advanced Kubernetes Resources
LoadBalancer Service resources help expose your pods on a single load-balanced endpoint. These Service resources can only be used within cloud platforms and platforms that provide Kubernetes…
NodePort Service resources – Managing Advanced Kubernetes Resources
NodePort Service resources are used to expose your pods to the external world. Creating a NodePort Service resource spins up a ClusterIP Service resource and maps the…
Best-effort controlled rollout – Managing Advanced Kubernetes Resources
Best-effort controlled rollout helps you roll out your deployment on a best-effort basis, and you can use it to roll out your release faster and ensure that…
ReplicaSet resources – Managing Advanced Kubernetes Resources
ReplicaSet resources are Kubernetes controllers that help you run multiple pod replicas at a given time. They provide horizontal scaling for your container workloads, forming the basic…
Kubernetes Deployments – Managing Advanced Kubernetes Resources
The need for advanced Kubernetes resources In the last chapter, we looked at pods, the basic building blocks of Kubernetes that provide everything for your containers to…