github.com/qsunny/k8s@v0.0.0-20220101153623-e6dca256d5bf/examples-master/staging/explorer/pod.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    name: explorer
     5  spec:
     6    containers:
     7      - name: explorer
     8        image: k8s.gcr.io/explorer:1.0
     9        args: ["-port=8080"]
    10        ports:
    11          - containerPort: 8080
    12            protocol: TCP
    13        volumeMounts:
    14          - mountPath: "/mount/test-volume"
    15            name: test-volume
    16    volumes:
    17      - name: test-volume
    18        emptyDir: {}