June 2020
Intermediate to advanced
432 pages
11h 57m
English
We will create a deployment file and deploy it to Kubernetes. To do this, perform the following steps:
apiVersion: apps/v1kind: Deploymentmetadata: name: kubernetes-deployment labels: app: customapplicationspec: replicas: 3 selector: matchLabels: app: customapplication template: metadata: labels: app: customapplication spec: containers: - name: azuredevops image: msftazuredevops.azurecr.io/azuredevops:586 ports: - containerPort: 80
In this example, the following is specified:
Read now
Unlock full access