May 2018
Intermediate to advanced
554 pages
13h 51m
English
After each build, Jenkins keeps pushing your container image on your Docker hub repository at the end of the CI process. Next, update the Jenkins job configuration to use the latest image to deploy to Kubernetes, via the following steps:
$ cat my-calc.yaml apiVersion: apps/v1kind: Deploymentmetadata: name: my-calc-deployspec: replicas: 2 selector: matchLabels: run: my-calc template: metadata: labels: run: my-calc spec: containers: - name: my-calc image: hidetosaito/my-calc//use --record to trace ...
Read now
Unlock full access