Kubernetes, DevOps, Cloud Computing, Software Development, Programming.
a pod to have a static IP address using custom resources and annotations. Here’s an example of how to achieve this using the Calico CNI plugin: apiVersion: v1 kind: Pod metadata: name: static-ip-pod annotations: cni.projectcalico.org/ipAddrs: "[\"192.168.1.100\"]" spec: containers: - name: nginx