Welcome to the Linux Foundation Forum!

Lab6.1 YAML question

Posts: 28
edited February 2019 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

  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4. name: secondapp
  5. spec:
  6. securityContext:
  7. runAsUser: 1000
  8. containers:
  9. - image: busybox
  10. name: secondapp
  11. command:
  12. - sleep
  13. - "3600"
  14. securityContext:
  15. runAsUser: 2000
  16. allowPrivilegeEscalation: false
  17. name: busy

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