We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 [..]
apiVersion: apps/v1 kind: Deployment metadata: name: webserver labels: app: webserver spec: replicas: 1 selector: matchLabels: app: webserver matchExpressions: - {key: app, operator: In, values: [webserver]} template: metadata: name: webserver labels: app: webserver spec: containers: - name: webserver image: contrailk8sdayone/contrail-webserver securityContext: privileged: true ports: - containerPort: 80
The text was updated successfully, but these errors were encountered:
that is right. it is missing in the official final PDF. it is in the raw draft though. will fix it.
Sorry, something went wrong.
No branches or pull requests
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:
- {key: app, operator: In, values: [webserver]}
template:
metadata:
name: webserver
labels:
app: webserver
spec:
containers:
- name: webserver
image: contrailk8sdayone/contrail-webserver
securityContext:
privileged: true
ports:
- containerPort: 80
The text was updated successfully, but these errors were encountered: