1 개요[ | ]
- Kustomize nodeSelector 패치
2 별도 파일[ | ]
kustomization.yaml
yaml
Copy
patchesStrategicMerge:
- nodeSelector.yaml
nodeSelector.yaml
yaml
Copy
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: mysql
spec:
template:
spec:
nodeSelector:
group: infra
slurm: mysql
3 인라인[ | ]
kustomization.yaml
yaml
Copy
patchesStrategicMerge:
- |
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: mysql
spec:
template:
spec:
nodeSelector:
group: infra
slurm: mysql
4 같이 보기[ | ]
5 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.