Static provisioning – Managing Advanced Kubernetes Resources-2
As the Service resource is created, we can create a StatefulSet resource that uses the created PersistentVolume and Service resources. The StatefulSet resource manifest, nginx-manual-statefulset.yaml, looks like…
Static provisioning – Managing Advanced Kubernetes Resources-1
Static provisioning is the traditional method of provisioning volumes. It requires someone (typically an administrator) to manually provision a disk and create a PersistentVolume resource using the…
StatefulSet resources – Managing Advanced Kubernetes Resources
StatefulSet resources help manage stateful applications. They are similar to Deployment resources, but unlike a Deployment resource, they also keep track of state and require Volume and…
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…
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…
Ramped slow rollout – Managing Advanced Kubernetes Resources
If you have numerous replicas but want to roll out the release slowly, observe the application for any issues, and roll back your deployment if needed, you…
RollingUpdate – Managing Advanced Kubernetes Resources
When you update the Deployment with a RollingUpdate strategy, Kubernetes creates a new ReplicaSet resource, and it simultaneously spins up the required number of pods on the…