November 2017
Intermediate to advanced
388 pages
8h 46m
English
$ vi nginx-deployment.yamlapiVersion: extensions/v1beta1kind: Deploymentmetadata: name: webappspec: replicas: 2 selector: matchLabels: app: nginx minReadySeconds: 5 template: metadata: labels: app: nginx spec: containers: - name: webapp image: nginx imagePullPolicy: IfNotPresent ports: - containerPort: 80
The previous configuration is mentioning the following things:
Read now
Unlock full access