• May 21, 2022

Affinity and Antiaffinity in Kubernetes simplified

Studying Affinity and AntiAffinity can be challenging due to the length of the official documentation. This post is not intended to replace the official docs but to provide a bird’s-eye view of the structure. Some takeaways: affinity is a sub section of pod’s spec The diagram as follow: The full diagram as follow: Please ignore…

Read More

Create and use ConfigMap in Kubernetes With Diagram

Create ConfigMap from YAML file Create and use configmap from single values That would create a configmap with a key myval1 = 10000 Of course, you can use multiple –from-literal blocks in a single command. Use a single value from configmap in pod yaml Create and use multiple environment variables from file If you plan…

Read More