2017-08-17 03:04:37 +05:30
|
|
|
This example shows how it is possible to use a custom template
|
2017-03-08 13:02:13 +01:00
|
|
|
|
|
|
|
|
First create a configmap with a template inside running:
|
|
|
|
|
```
|
|
|
|
|
kubectl create configmap nginx-template --from-file=nginx.tmpl=../../nginx.tmpl
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Next create the rc `kubectl create -f custom-template.yaml`
|