A quick tips on how to fix Kubernetes pod when it fails with CreateContainerError status followed with “Error: failed to reserve container name … is reserved for …” described status by kubelet.
In order to redirect the EKS AWS ALB Ingress host you can use alb.ingress.kubernetes.io/actions annotation to do its job to redirect ALB Listener rule from artifactory.domain.com to artifactory-new.domain.com
If you will ever need to change serviceSubnet CIDR range (e.g. Kubernetes pod-network-cidr and service-cidr can’t overlap with intranet network ranges) here is how to proceed:
If you initialize Kubernetes cluster with kubeadm check with the network team if the ranges you provide to kubeadm with – pod-network-cidr and – service-cidr does not overlap with intranet network ranges. Otherwise, pods/services won’t operate well and you might see anomalies in your Kubernetes environment.