May be dumb question - Can i use multiple pods ( not containers ) in one single . . .

KB:
may be dumb question - Can i use multiple pods ( not containers ) in one single Yaml file ? Something like this ?

apiVersion: v1
kind: Pod
metadata:
  name: test 

apiVersion: v1
kind: Pod
metadata:
  name: test-2 

Abhinav:
I think so if they are separated by a comment line

Rahul Soni:
Yes, just use triple hyphon between both

may be dumb question - Can i use multiple pods ( not containers ) in one single Yaml file ? Something like this ?

apiVersion: v1
kind: Pod
metadata:
  name: test 

—-



apiVersion: v1
kind: Pod
metadata:
  name: test-2 

KB:
thank you Rahul Soni