https://github.com/kubernetes-sigs/kustomize

    https://kustomize.io/

    kustomize - 图1

    1. [rancher@rmaster01 ~]$ kubectl kustomize -h
    2. Print a set of API resources generated from instructions in a kustomization.yaml file.
    3. The argument must be the path to the directory containing the file, or a git repository URL with a path suffix
    4. specifying same with respect to the repository root.
    5. kubectl kustomize somedir
    6. Examples:
    7. # Use the current working directory
    8. kubectl kustomize .
    9. # Use some shared configuration directory
    10. kubectl kustomize /home/configuration/production
    11. # Use a URL
    12. kubectl kustomize github.com/kubernetes-sigs/kustomize.git/examples/helloWorld?ref=v1.0.6
    13. Usage:
    14. kubectl kustomize <dir> [flags] [options]
    15. Use "kubectl options" for a list of global command-line options (applies to all commands).
    16. [rancher@rmaster01 ~]$