Add apps/overlays/hexm-0002/kustomization.yaml
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user