pinggit / kubernetes-contrail-day-one

9 stars 6 forks source link

[page #100 ] - deployment YAML file not complete #30

Open tkaagent opened 4 years ago

tkaagent commented 4 years ago

deploy-webserver-do.yaml file should be corrected; As per page #100:

[..] In both namespaces and the default namespace, create a deployment to launch a webserver pod:

deploy-webserver-do.yaml

apiVersion: apps/v1

$ kubectl apply -f deploy-webserver-do.yaml -n default deployment.extensions/webserver created [..]

Recommendation: ============== apiVersion: apps/v1 kind: Deployment metadata: name: webserver labels: app: webserver spec: replicas: 1 selector: matchLabels: app: webserver matchExpressions:

pinggit commented 4 years ago

that is right. it is missing in the official final PDF. it is in the raw draft though. will fix it.