Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 724 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 724 Bytes

Kubernetes Mutator Webhook: NodeSelector

A solution for locking Pods which reside in a specific namespace to a sepcific node group.

Why

We are waiting for EKS to ship support for scheduler.alpha.kubernetes.io/node-selector.

apiVersion: v1
kind: Namespace
metadata:
 name: your-namespace
 annotations:
   scheduler.alpha.kubernetes.io/node-selector: env=test

Link to the issue can be found here:

aws/containers-roadmap#304

Usage

apiVersion: v1
kind: Namespace
metadata:
 name: your-namespace
 annotations:
   k8s-mutate-nodeselector.skpr.io/namespace: env=test