6. POD Design Flashcards

1
Q

Define a label in a yaml file

A
apiVersion: v1
kind: Pod

metadata:
  name: simple-webaa
  labels:
    app: App1
	  function: Front-end

spec: 
  containers:
  - name: simple-webapp
    image: simple-webapp
    ports: 
      - containerPort: 8080
How well did you know this?
1
Not at all
2
3
4
5
Perfectly