You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use-case: There is a feature in Aerospike Kubernetes Operator (AKO) called k8sNodeBlockList (list of K8s node names) where a user can define a list of K8s nodes that should be ignored from scheduling for Aerospike Cluster pods. This feature of AKO helps users in K8s cluster maintenance by migrating pods to other K8s nodes. It uses kubernetes.io/hostname label along with NotIn operator in the NodeAffinity to move pods away from those nodes.
Similar issue in Karpenter: #4671
Related issue in Aerospike: aerospike/aerospike-kubernetes-operator#305
Use-case: There is a feature in Aerospike Kubernetes Operator (AKO) called k8sNodeBlockList (list of K8s node names) where a user can define a list of K8s nodes that should be ignored from scheduling for Aerospike Cluster pods. This feature of AKO helps users in K8s cluster maintenance by migrating pods to other K8s nodes. It uses
kubernetes.io/hostname
label along withNotIn
operator in the NodeAffinity to move pods away from those nodes.Issue: Karpenter has a sweeping check where it blocks the
kubernetes.io/hostname
in NodeAffinity. Ref code: https://github.com/kubernetes-sigs/karpenter/blob/d5660acf4472db796d5f4fac58a147d14b320451/pkg/apis/v1beta1/labels.go#L90As a result if there are pending pods with
kubernetes.io/hostname
NodeAffinity, they remain in pending state as Karpenter doesn't scale K8s node.Questions:
kubernetes.io/hostname
label?In
operator and allowNotIn
operator forkubernetes.io/hostname
label?The text was updated successfully, but these errors were encountered: