19 lines
446 B
YAML
19 lines
446 B
YAML
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-0001
|
|
target:
|
|
kind: Deployment
|