|
|
@ -19,8 +19,7 @@ tk create kustomization [name] [flags]
|
|
|
|
create kustomization contour \
|
|
|
|
create kustomization contour \
|
|
|
|
--source=contour \
|
|
|
|
--source=contour \
|
|
|
|
--path="./examples/contour/" \
|
|
|
|
--path="./examples/contour/" \
|
|
|
|
--prune="instance=contour" \
|
|
|
|
--prune=true \
|
|
|
|
--generate=true \
|
|
|
|
|
|
|
|
--interval=10m \
|
|
|
|
--interval=10m \
|
|
|
|
--validate=client \
|
|
|
|
--validate=client \
|
|
|
|
--health-check="Deployment/contour.projectcontour" \
|
|
|
|
--health-check="Deployment/contour.projectcontour" \
|
|
|
@ -32,22 +31,33 @@ tk create kustomization [name] [flags]
|
|
|
|
--depends-on=contour \
|
|
|
|
--depends-on=contour \
|
|
|
|
--source=webapp \
|
|
|
|
--source=webapp \
|
|
|
|
--path="./deploy/overlays/dev" \
|
|
|
|
--path="./deploy/overlays/dev" \
|
|
|
|
--prune="env=dev,instance=webapp" \
|
|
|
|
--prune=true \
|
|
|
|
--interval=5m \
|
|
|
|
--interval=5m \
|
|
|
|
--validate=client
|
|
|
|
--validate=client
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Create a kustomization that runs under a service account
|
|
|
|
|
|
|
|
create kustomization webapp \
|
|
|
|
|
|
|
|
--source=webapp \
|
|
|
|
|
|
|
|
--path="./deploy/overlays/staging" \
|
|
|
|
|
|
|
|
--prune=true \
|
|
|
|
|
|
|
|
--interval=5m \
|
|
|
|
|
|
|
|
--validate=client \
|
|
|
|
|
|
|
|
--sa-name=reconclier \
|
|
|
|
|
|
|
|
--sa-namespace=staging
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Options
|
|
|
|
### Options
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
--depends-on stringArray kustomization that must be ready before this kustomization can be applied
|
|
|
|
--depends-on stringArray kustomization that must be ready before this kustomization can be applied
|
|
|
|
--generate generate the kustomization.yaml for all the Kubernetes manifests in the specified path and sub-directories
|
|
|
|
|
|
|
|
--health-check stringArray workload to be included in the health assessment, in the format '<kind>/<name>.<namespace>'
|
|
|
|
--health-check stringArray workload to be included in the health assessment, in the format '<kind>/<name>.<namespace>'
|
|
|
|
--health-check-timeout duration timeout of health checking operations (default 2m0s)
|
|
|
|
--health-check-timeout duration timeout of health checking operations (default 2m0s)
|
|
|
|
-h, --help help for kustomization
|
|
|
|
-h, --help help for kustomization
|
|
|
|
--path string path to the directory containing the kustomization file (default "./")
|
|
|
|
--path string path to the directory containing the kustomization file (default "./")
|
|
|
|
--prune string label selector used for garbage collection
|
|
|
|
--prune enable garbage collection
|
|
|
|
|
|
|
|
--sa-name string service account name
|
|
|
|
|
|
|
|
--sa-namespace string service account namespace
|
|
|
|
--source string GitRepository name
|
|
|
|
--source string GitRepository name
|
|
|
|
--validate string validate the manifests before applying them on the cluster, can be 'client' or 'server'
|
|
|
|
--validate string validate the manifests before applying them on the cluster, can be 'client' or 'server'
|
|
|
|
```
|
|
|
|
```
|
|
|
@ -67,4 +77,4 @@ tk create kustomization [name] [flags]
|
|
|
|
|
|
|
|
|
|
|
|
* [tk create](tk_create.md) - Create commands
|
|
|
|
* [tk create](tk_create.md) - Create commands
|
|
|
|
|
|
|
|
|
|
|
|
###### Auto generated by spf13/cobra on 1-May-2020
|
|
|
|
###### Auto generated by spf13/cobra on 5-May-2020
|
|
|
|