Welcome to the Linux Foundation Forum!

LFD259 Lab 8.2

chunkuoli Posts: 3
edited October 11 in LFD259 Class Forum

I made it work for this exercise. This is what I did in the brokendeploy.yaml

  1. change the apiVersion to apps/v1
    you can run 'kubectl api-resources | grep deploy' to see this info.
  2. add 'selector' block in the spec section, where the stanza of 'selector' is same as 'templates', i.e. 'selector' is one of the element of the 'spec':
    app: broken

Hope this helps. Enjoy!!


Upcoming Training