Changes

Jump to navigation Jump to search
m
Set up a Kubernetes job script
== Set up a Kubernetes job script ==
Download the [[File:Kubernetes_samples.zip|Kubernetes samples]] and look at job script the kubernetes subdirectory in example_1. Alternatively, create Check out "make_config.sh" and run it after you have set the bash environment variable "KUBERNETES_USER" to your own directory and file named cluster username: <syntaxhighlight lang="bash"job_script>> export KUBERNETES_USER=your.username> ./make_config.sh</syntaxhighlight> This will create a number of yamlfiles (Kubernetes configuration files) from the templates in the "template"subdirectory. Edit Check out the contents as follows and replace all placeholders with your datafirst example, "job-script.yaml"
<syntaxhighlight lang="yaml">

Navigation menu