diff --git a/apps/overlays/hexm-0002/kustomization.yaml b/apps/overlays/hexm-0002/kustomization.yaml new file mode 100644 index 0000000..b87fe28 --- /dev/null +++ b/apps/overlays/hexm-0002/kustomization.yaml @@ -0,0 +1,18 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +namespace: epcare + +resources: + - ../../base + - secrets.yaml + +patches: + # Pin all Deployments to the single node of this cluster. + # Value must match: kubectl get nodes --show-labels | grep kubernetes.io/hostname + - patch: |- + - op: replace + path: /spec/template/spec/nodeSelector/kubernetes.io~1hostname + value: hexm-0002 + target: + kind: Deployment