docs(examples): Add some deployment examples

This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2022-08-11 13:25:03 +02:00
parent 592e2a35dc
commit 216592df83
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
10 changed files with 280 additions and 34 deletions

View file

@ -0,0 +1,25 @@
# Deployment example using Kustomize
### Deployment
#### Build
In order to view the resulting manifest for this example through Kustomize, issue
the following command:
```console
kubectl kustomize --enable-helm .
```
This will print the rendered manifest(s) to your console.
#### Apply
In order to deploy the manifest for this example through Kustomize, issue the
following command:
```console
kubectl kustomize --enable-helm . | kubectl apply -f -
```
This will apply the rendered manifest(s) to your cluster.