Kustomize GitHub 리소스 사용

1 개요[ | ]

Kustomize GitHub 리소스 사용

2 예시 1[ | ]

root@wsl:~/temp# cat kustomization.yaml
resources:
- https://github.com/kubernetes-sigs/kustomize//examples/multibases?ref=v1.0.6
namePrefix: remote-
root@wsl:~/temp# kubectl kustomize . -o rendered.yaml
root@wsl:~/temp# head -5 rendered.yaml
apiVersion: v1
kind: Pod
metadata:
  labels:
    app: myapp

3 예시 2[ | ]

root@wsl:~/temp# cat kustomization.yaml
resources:
- https://github.com/kubernetes/ingress-nginx//deploy/static/provider/baremetal?ref=controller-v1.5.1
root@wsl:~/temp# kubectl kustomize . -o rendered.yaml
root@wsl:~/temp# head -5 rendered.yaml
apiVersion: v1
kind: Namespace
metadata:
  labels:
    app.kubernetes.io/instance: ingress-nginx

4 같이 보기[ | ]

5 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}