Welcome to the Linux Foundation Forum!

LFD259 Lab 8.2

Posts: 3
edited October 2023 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':
    selector:
    matchLabels:
    app: broken

Hope this helps. Enjoy!!

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training