Welcome to the new Linux Foundation Forum!

Lab6.1 YAML question

bryonbakerbryonbaker Posts: 28
edited February 11 in LFD259 Class Forum

Hi,
In lab 6.1 the YAML has two declarations for name under the container field. "secondapp" and "busy." Why?

Thanks

apiVersion: v1
kind: Pod
metadata:
  name: secondapp
spec:
  securityContext:
    runAsUser: 1000
  containers:
  - image: busybox
    name: secondapp
    command:
      - sleep
      - "3600"
    securityContext:
      runAsUser: 2000
      allowPrivilegeEscalation: false
    name: busy
Sign In or Register to comment.