Skip to content

Commit c994d5d

Browse files
author
Girdhar Agrawal
authored
kubectl-kustomize: add page (#18832)
1 parent b7a0506 commit c994d5d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

pages/common/kubectl-kustomize.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# kubectl kustomize
2+
3+
> Build a set of Kubernetes resources using a `kustomization.yaml` file.
4+
> More information: <https://kubernetes.io/docs/reference/kubectl/generated/kubectl_kustomize/>.
5+
6+
- Build resources from the current directory:
7+
8+
`kubectl kustomize`
9+
10+
- Build resources from a specific directory:
11+
12+
`kubectl kustomize {{path/to/directory}}`
13+
14+
- Build resources from a remote URL:
15+
16+
`kubectl kustomize {{https://github.com/user/repo/path}}`
17+
18+
- Build resources and save to a file:
19+
20+
`kubectl kustomize {{path/to/directory}} > {{output.yaml}}`
21+
22+
- Build resources with load restrictor disabled:
23+
24+
`kubectl kustomize --load-restrictor {{LoadRestrictionsNone}} {{path/to/directory}}`

0 commit comments

Comments
 (0)