update jobs-expansions-index.md
change the wrong url change the wrong template
This commit is contained in:
@@ -109,7 +109,7 @@ Processing item cherry
|
|||||||
|
|
||||||
In the first example, each instance of the template had one parameter, and that parameter was also
|
In the first example, each instance of the template had one parameter, and that parameter was also
|
||||||
used as a label. However label keys are limited in [what characters they can
|
used as a label. However label keys are limited in [what characters they can
|
||||||
contain](docs/user-guide/labels/#syntax-and-character-set).
|
contain](/docs/user-guide/labels/#syntax-and-character-set).
|
||||||
|
|
||||||
This slightly more complex example uses a the jinja2 template language to generate our objects.
|
This slightly more complex example uses a the jinja2 template language to generate our objects.
|
||||||
We will use a one-line python script to convert the template to a file.
|
We will use a one-line python script to convert the template to a file.
|
||||||
@@ -128,7 +128,7 @@ First, copy and paste the following template of a Job object, into a file called
|
|||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: jobexample-{{ {{ name }} }}
|
name: jobexample-{{ name }}
|
||||||
labels:
|
labels:
|
||||||
jobgroup: jobexample
|
jobgroup: jobexample
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
Reference in New Issue
Block a user