github.com/oam-dev/kubevela@v1.9.11/pkg/velaql/testdata/example-pod.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    name: hello-world-server-55559d5dd9-t8wt2
     5    namespace: default
     6  spec:
     7    containers:
     8      - image: crccheck/hello-world
     9        imagePullPolicy: Always
    10        name: hello-world-server
    11        ports:
    12          - containerPort: 8000
    13            protocol: TCP
    14        resources: {}
    15        terminationMessagePath: /dev/termination-log
    16        terminationMessagePolicy: File
    17        volumeMounts:
    18          - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
    19            name: kube-api-access-9wklg
    20            readOnly: true
    21    dnsPolicy: ClusterFirst
    22    enableServiceLinks: true
    23    nodeName: kind-control-plane
    24    preemptionPolicy: PreemptLowerPriority
    25    priority: 0
    26    restartPolicy: Always
    27    schedulerName: default-scheduler
    28    securityContext: {}
    29    serviceAccountName: default
    30    terminationGracePeriodSeconds: 30
    31    tolerations:
    32      - effect: NoExecute
    33        key: node.kubernetes.io/not-ready
    34        operator: Exists
    35        tolerationSeconds: 300
    36      - effect: NoExecute
    37        key: node.kubernetes.io/unreachable
    38        operator: Exists
    39        tolerationSeconds: 300
    40    volumes:
    41      - name: kube-api-access-9wklg
    42        projected:
    43          defaultMode: 420
    44          sources:
    45            - serviceAccountToken:
    46                expirationSeconds: 3607
    47                path: token
    48            - configMap:
    49                items:
    50                  - key: ca.crt
    51                    path: ca.crt
    52                name: kube-root-ca.crt
    53            - downwardAPI:
    54                items:
    55                  - fieldRef:
    56                      apiVersion: v1
    57                      fieldPath: metadata.namespace
    58                    path: namespace