apiVersion: v1
kind: Pod
metadata:
  name: hostports0
spec:
  containers:
  - image: k8s.gcr.io/pause
    name: container1
    ports:
    - containerPort: 12345
  initContainers:
  - image: k8s.gcr.io/pause
    name: initcontainer1
    ports:
    - containerPort: 12346
  securityContext:
    runAsNonRoot: true
