Welcome to the new Linux Foundation Forum!

Lab 5 Page 4 unclear steps

I am surprised at the substandard quality of Linux Foundation Training materials.

Section 12 says to add only lines after volume but in the main simpleapp.yaml, the volumeMounts is not present. so the instructions are not clearly written. again a proper downloadable yaml file with correct indentation helps a lot.

[email protected]:~$ vim app1/simpleapp.yaml
.
spec:
containers:

  • image: 10.105.119.236:5000/simpleapp:latest
    volumeMounts:

  • mountPath: /etc/cars
    name: car-vol
    imagePullPolicy: Always
    name: try1
    .
    initialDelaySeconds: 15
    periodSeconds: 20
    volumes: #Add this and following four lines

  • configMap:
    defaultMode: 420
    name: fast-car
    name: car-vol
    dnsPolicy: ClusterFirst
    restartPolicy: Always

Comments

  • Hi, understanding the structure and the resources relationship in a YAML file add value to your Kubernetes learning experience. At this step since volumeMounts are introduced for the first time, one would assume they need to be added to the YAML file together with the volumes definition.

  • kozdogkozdog Posts: 3

    Not even going to sugarcoat it. This course sucks.

  • coopcoop Posts: 309

    Saying just "this course sucks" helps neither other students or moderators and course designers, who can explain, accept criticisms, make changes etc. If you have a specific point to make please do so so that your contribution is positive, not negative. The moderators have been extremely responsive on a subject which is fast moving and has to deal with upstream changes constantly.

Sign In or Register to comment.