<ARTIFACT_REPOSITORY_DOCKER_REGISTRY>
corresponds to the host of the URL of the artifact repository Docker
registry (Nexus, Artifactory)
<STUDIO_PROJECT> corresponds to the
Talend Studio project name that is the same as the Git project name. Project
names must be in upper case.
args:
- "--name=1111"
corresponds to the Docker or
Kubernetes context parameters that can be changed according to your
deployment needs. This way of calling context parameters for Docker
and Kubernetes is different from the one used for other types of
context parameters (see Changing context parameters in Jobs and Routes).
Execute the kubectl apply -f demorestroute.yaml command to
deploy the artifact to Kubernetes.
Example
$ kubectl apply -f demorestroute.yaml
service/demorestroute created
deployment.extensions/demorestroute-v1 created
Execute the kubectl get po command to check
that the Kubernetes pod is up and running.
Example
$ kubectl get po
NAME READY STATUS RESTARTS AGE
demorestroute-v1-6c4dc67648-z6zh7 1/1 Running 0 8s
Access the endpoint in a browser, an XML document is returned.