Skip to content

文档,https://kubernetes.io/docs/reference/kubectl/generated/kubectl_explain/

整体结构

kubectl explain pods --recursive

yaml
KIND:     Pod
VERSION:  v1

DESCRIPTION:
     Pod is a collection of containers that can run on a host. This resource is
     created by clients and scheduled onto hosts.

FIELDS:
   apiVersion	<string>
   kind	<string>
   metadata	<Object>
      annotations	<map[string]string>
      clusterName	<string>
      creationTimestamp	<string>
      deletionGracePeriodSeconds	<integer>
      deletionTimestamp	<string>
      finalizers	<[]string>
      generateName	<string>
      generation	<integer>
      labels	<map[string]string>
      managedFields	<[]Object>
         apiVersion	<string>
         fieldsType	<string>
         fieldsV1	<map[string]>
         manager	<string>
         operation	<string>
         subresource	<string>
         time	<string>
      name	<string>
      namespace	<string>
      ownerReferences	<[]Object>
         apiVersion	<string>
         blockOwnerDeletion	<boolean>
         controller	<boolean>
         kind	<string>
         name	<string>
         uid	<string>
      resourceVersion	<string>
      selfLink	<string>
      uid	<string>
   spec	<Object>
      activeDeadlineSeconds	<integer>
      affinity	<Object>
         nodeAffinity	<Object>
            preferredDuringSchedulingIgnoredDuringExecution	<[]Object>
               preference	<Object>
                  matchExpressions	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
                  matchFields	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
               weight	<integer>
            requiredDuringSchedulingIgnoredDuringExecution	<Object>
               nodeSelectorTerms	<[]Object>
                  matchExpressions	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
                  matchFields	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
         podAffinity	<Object>
            preferredDuringSchedulingIgnoredDuringExecution	<[]Object>
               podAffinityTerm	<Object>
                  labelSelector	<Object>
                     matchExpressions	<[]Object>
                        key	<string>
                        operator	<string>
                        values	<[]string>
                     matchLabels	<map[string]string>
                  namespaceSelector	<Object>
                     matchExpressions	<[]Object>
                        key	<string>
                        operator	<string>
                        values	<[]string>
                     matchLabels	<map[string]string>
                  namespaces	<[]string>
                  topologyKey	<string>
               weight	<integer>
            requiredDuringSchedulingIgnoredDuringExecution	<[]Object>
               labelSelector	<Object>
                  matchExpressions	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
                  matchLabels	<map[string]string>
               namespaceSelector	<Object>
                  matchExpressions	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
                  matchLabels	<map[string]string>
               namespaces	<[]string>
               topologyKey	<string>
         podAntiAffinity	<Object>
            preferredDuringSchedulingIgnoredDuringExecution	<[]Object>
               podAffinityTerm	<Object>
                  labelSelector	<Object>
                     matchExpressions	<[]Object>
                        key	<string>
                        operator	<string>
                        values	<[]string>
                     matchLabels	<map[string]string>
                  namespaceSelector	<Object>
                     matchExpressions	<[]Object>
                        key	<string>
                        operator	<string>
                        values	<[]string>
                     matchLabels	<map[string]string>
                  namespaces	<[]string>
                  topologyKey	<string>
               weight	<integer>
            requiredDuringSchedulingIgnoredDuringExecution	<[]Object>
               labelSelector	<Object>
                  matchExpressions	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
                  matchLabels	<map[string]string>
               namespaceSelector	<Object>
                  matchExpressions	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
                  matchLabels	<map[string]string>
               namespaces	<[]string>
               topologyKey	<string>
      automountServiceAccountToken	<boolean>
      containers	<[]Object>
         args	<[]string>
         command	<[]string>
         env	<[]Object>
            name	<string>
            value	<string>
            valueFrom	<Object>
               configMapKeyRef	<Object>
                  key	<string>
                  name	<string>
                  optional	<boolean>
               fieldRef	<Object>
                  apiVersion	<string>
                  fieldPath	<string>
               resourceFieldRef	<Object>
                  containerName	<string>
                  divisor	<string>
                  resource	<string>
               secretKeyRef	<Object>
                  key	<string>
                  name	<string>
                  optional	<boolean>
         envFrom	<[]Object>
            configMapRef	<Object>
               name	<string>
               optional	<boolean>
            prefix	<string>
            secretRef	<Object>
               name	<string>
               optional	<boolean>
         image	<string>
         imagePullPolicy	<string>
         lifecycle	<Object>
            postStart	<Object>
               exec	<Object>
                  command	<[]string>
               httpGet	<Object>
                  host	<string>
                  httpHeaders	<[]Object>
                     name	<string>
                     value	<string>
                  path	<string>
                  port	<string>
                  scheme	<string>
               tcpSocket	<Object>
                  host	<string>
                  port	<string>
            preStop	<Object>
               exec	<Object>
                  command	<[]string>
               httpGet	<Object>
                  host	<string>
                  httpHeaders	<[]Object>
                     name	<string>
                     value	<string>
                  path	<string>
                  port	<string>
                  scheme	<string>
               tcpSocket	<Object>
                  host	<string>
                  port	<string>
         livenessProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         name	<string>
         ports	<[]Object>
            containerPort	<integer>
            hostIP	<string>
            hostPort	<integer>
            name	<string>
            protocol	<string>
         readinessProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         resources	<Object>
            limits	<map[string]string>
            requests	<map[string]string>
         securityContext	<Object>
            allowPrivilegeEscalation	<boolean>
            capabilities	<Object>
               add	<[]string>
               drop	<[]string>
            privileged	<boolean>
            procMount	<string>
            readOnlyRootFilesystem	<boolean>
            runAsGroup	<integer>
            runAsNonRoot	<boolean>
            runAsUser	<integer>
            seLinuxOptions	<Object>
               level	<string>
               role	<string>
               type	<string>
               user	<string>
            seccompProfile	<Object>
               localhostProfile	<string>
               type	<string>
            windowsOptions	<Object>
               gmsaCredentialSpec	<string>
               gmsaCredentialSpecName	<string>
               hostProcess	<boolean>
               runAsUserName	<string>
         startupProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         stdin	<boolean>
         stdinOnce	<boolean>
         terminationMessagePath	<string>
         terminationMessagePolicy	<string>
         tty	<boolean>
         volumeDevices	<[]Object>
            devicePath	<string>
            name	<string>
         volumeMounts	<[]Object>
            mountPath	<string>
            mountPropagation	<string>
            name	<string>
            readOnly	<boolean>
            subPath	<string>
            subPathExpr	<string>
         workingDir	<string>
      dnsConfig	<Object>
         nameservers	<[]string>
         options	<[]Object>
            name	<string>
            value	<string>
         searches	<[]string>
      dnsPolicy	<string>
      enableServiceLinks	<boolean>
      ephemeralContainers	<[]Object>
         args	<[]string>
         command	<[]string>
         env	<[]Object>
            name	<string>
            value	<string>
            valueFrom	<Object>
               configMapKeyRef	<Object>
                  key	<string>
                  name	<string>
                  optional	<boolean>
               fieldRef	<Object>
                  apiVersion	<string>
                  fieldPath	<string>
               resourceFieldRef	<Object>
                  containerName	<string>
                  divisor	<string>
                  resource	<string>
               secretKeyRef	<Object>
                  key	<string>
                  name	<string>
                  optional	<boolean>
         envFrom	<[]Object>
            configMapRef	<Object>
               name	<string>
               optional	<boolean>
            prefix	<string>
            secretRef	<Object>
               name	<string>
               optional	<boolean>
         image	<string>
         imagePullPolicy	<string>
         lifecycle	<Object>
            postStart	<Object>
               exec	<Object>
                  command	<[]string>
               httpGet	<Object>
                  host	<string>
                  httpHeaders	<[]Object>
                     name	<string>
                     value	<string>
                  path	<string>
                  port	<string>
                  scheme	<string>
               tcpSocket	<Object>
                  host	<string>
                  port	<string>
            preStop	<Object>
               exec	<Object>
                  command	<[]string>
               httpGet	<Object>
                  host	<string>
                  httpHeaders	<[]Object>
                     name	<string>
                     value	<string>
                  path	<string>
                  port	<string>
                  scheme	<string>
               tcpSocket	<Object>
                  host	<string>
                  port	<string>
         livenessProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         name	<string>
         ports	<[]Object>
            containerPort	<integer>
            hostIP	<string>
            hostPort	<integer>
            name	<string>
            protocol	<string>
         readinessProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         resources	<Object>
            limits	<map[string]string>
            requests	<map[string]string>
         securityContext	<Object>
            allowPrivilegeEscalation	<boolean>
            capabilities	<Object>
               add	<[]string>
               drop	<[]string>
            privileged	<boolean>
            procMount	<string>
            readOnlyRootFilesystem	<boolean>
            runAsGroup	<integer>
            runAsNonRoot	<boolean>
            runAsUser	<integer>
            seLinuxOptions	<Object>
               level	<string>
               role	<string>
               type	<string>
               user	<string>
            seccompProfile	<Object>
               localhostProfile	<string>
               type	<string>
            windowsOptions	<Object>
               gmsaCredentialSpec	<string>
               gmsaCredentialSpecName	<string>
               hostProcess	<boolean>
               runAsUserName	<string>
         startupProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         stdin	<boolean>
         stdinOnce	<boolean>
         targetContainerName	<string>
         terminationMessagePath	<string>
         terminationMessagePolicy	<string>
         tty	<boolean>
         volumeDevices	<[]Object>
            devicePath	<string>
            name	<string>
         volumeMounts	<[]Object>
            mountPath	<string>
            mountPropagation	<string>
            name	<string>
            readOnly	<boolean>
            subPath	<string>
            subPathExpr	<string>
         workingDir	<string>
      hostAliases	<[]Object>
         hostnames	<[]string>
         ip	<string>
      hostIPC	<boolean>
      hostNetwork	<boolean>
      hostPID	<boolean>
      hostname	<string>
      imagePullSecrets	<[]Object>
         name	<string>
      initContainers	<[]Object>
         args	<[]string>
         command	<[]string>
         env	<[]Object>
            name	<string>
            value	<string>
            valueFrom	<Object>
               configMapKeyRef	<Object>
                  key	<string>
                  name	<string>
                  optional	<boolean>
               fieldRef	<Object>
                  apiVersion	<string>
                  fieldPath	<string>
               resourceFieldRef	<Object>
                  containerName	<string>
                  divisor	<string>
                  resource	<string>
               secretKeyRef	<Object>
                  key	<string>
                  name	<string>
                  optional	<boolean>
         envFrom	<[]Object>
            configMapRef	<Object>
               name	<string>
               optional	<boolean>
            prefix	<string>
            secretRef	<Object>
               name	<string>
               optional	<boolean>
         image	<string>
         imagePullPolicy	<string>
         lifecycle	<Object>
            postStart	<Object>
               exec	<Object>
                  command	<[]string>
               httpGet	<Object>
                  host	<string>
                  httpHeaders	<[]Object>
                     name	<string>
                     value	<string>
                  path	<string>
                  port	<string>
                  scheme	<string>
               tcpSocket	<Object>
                  host	<string>
                  port	<string>
            preStop	<Object>
               exec	<Object>
                  command	<[]string>
               httpGet	<Object>
                  host	<string>
                  httpHeaders	<[]Object>
                     name	<string>
                     value	<string>
                  path	<string>
                  port	<string>
                  scheme	<string>
               tcpSocket	<Object>
                  host	<string>
                  port	<string>
         livenessProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         name	<string>
         ports	<[]Object>
            containerPort	<integer>
            hostIP	<string>
            hostPort	<integer>
            name	<string>
            protocol	<string>
         readinessProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         resources	<Object>
            limits	<map[string]string>
            requests	<map[string]string>
         securityContext	<Object>
            allowPrivilegeEscalation	<boolean>
            capabilities	<Object>
               add	<[]string>
               drop	<[]string>
            privileged	<boolean>
            procMount	<string>
            readOnlyRootFilesystem	<boolean>
            runAsGroup	<integer>
            runAsNonRoot	<boolean>
            runAsUser	<integer>
            seLinuxOptions	<Object>
               level	<string>
               role	<string>
               type	<string>
               user	<string>
            seccompProfile	<Object>
               localhostProfile	<string>
               type	<string>
            windowsOptions	<Object>
               gmsaCredentialSpec	<string>
               gmsaCredentialSpecName	<string>
               hostProcess	<boolean>
               runAsUserName	<string>
         startupProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         stdin	<boolean>
         stdinOnce	<boolean>
         terminationMessagePath	<string>
         terminationMessagePolicy	<string>
         tty	<boolean>
         volumeDevices	<[]Object>
            devicePath	<string>
            name	<string>
         volumeMounts	<[]Object>
            mountPath	<string>
            mountPropagation	<string>
            name	<string>
            readOnly	<boolean>
            subPath	<string>
            subPathExpr	<string>
         workingDir	<string>
      nodeName	<string>
      nodeSelector	<map[string]string>
      overhead	<map[string]string>
      preemptionPolicy	<string>
      priority	<integer>
      priorityClassName	<string>
      readinessGates	<[]Object>
         conditionType	<string>
      restartPolicy	<string>
      runtimeClassName	<string>
      schedulerName	<string>
      securityContext	<Object>
         fsGroup	<integer>
         fsGroupChangePolicy	<string>
         runAsGroup	<integer>
         runAsNonRoot	<boolean>
         runAsUser	<integer>
         seLinuxOptions	<Object>
            level	<string>
            role	<string>
            type	<string>
            user	<string>
         seccompProfile	<Object>
            localhostProfile	<string>
            type	<string>
         supplementalGroups	<[]integer>
         sysctls	<[]Object>
            name	<string>
            value	<string>
         windowsOptions	<Object>
            gmsaCredentialSpec	<string>
            gmsaCredentialSpecName	<string>
            hostProcess	<boolean>
            runAsUserName	<string>
      serviceAccount	<string>
      serviceAccountName	<string>
      setHostnameAsFQDN	<boolean>
      shareProcessNamespace	<boolean>
      subdomain	<string>
      terminationGracePeriodSeconds	<integer>
      tolerations	<[]Object>
         effect	<string>
         key	<string>
         operator	<string>
         tolerationSeconds	<integer>
         value	<string>
      topologySpreadConstraints	<[]Object>
         labelSelector	<Object>
            matchExpressions	<[]Object>
               key	<string>
               operator	<string>
               values	<[]string>
            matchLabels	<map[string]string>
         maxSkew	<integer>
         topologyKey	<string>
         whenUnsatisfiable	<string>
      volumes	<[]Object>
         awsElasticBlockStore	<Object>
            fsType	<string>
            partition	<integer>
            readOnly	<boolean>
            volumeID	<string>
         azureDisk	<Object>
            cachingMode	<string>
            diskName	<string>
            diskURI	<string>
            fsType	<string>
            kind	<string>
            readOnly	<boolean>
         azureFile	<Object>
            readOnly	<boolean>
            secretName	<string>
            shareName	<string>
         cephfs	<Object>
            monitors	<[]string>
            path	<string>
            readOnly	<boolean>
            secretFile	<string>
            secretRef	<Object>
               name	<string>
            user	<string>
         cinder	<Object>
            fsType	<string>
            readOnly	<boolean>
            secretRef	<Object>
               name	<string>
            volumeID	<string>
         configMap	<Object>
            defaultMode	<integer>
            items	<[]Object>
               key	<string>
               mode	<integer>
               path	<string>
            name	<string>
            optional	<boolean>
         csi	<Object>
            driver	<string>
            fsType	<string>
            nodePublishSecretRef	<Object>
               name	<string>
            readOnly	<boolean>
            volumeAttributes	<map[string]string>
         downwardAPI	<Object>
            defaultMode	<integer>
            items	<[]Object>
               fieldRef	<Object>
                  apiVersion	<string>
                  fieldPath	<string>
               mode	<integer>
               path	<string>
               resourceFieldRef	<Object>
                  containerName	<string>
                  divisor	<string>
                  resource	<string>
         emptyDir	<Object>
            medium	<string>
            sizeLimit	<string>
         ephemeral	<Object>
            volumeClaimTemplate	<Object>
               metadata	<Object>
                  annotations	<map[string]string>
                  clusterName	<string>
                  creationTimestamp	<string>
                  deletionGracePeriodSeconds	<integer>
                  deletionTimestamp	<string>
                  finalizers	<[]string>
                  generateName	<string>
                  generation	<integer>
                  labels	<map[string]string>
                  managedFields	<[]Object>
                     apiVersion	<string>
                     fieldsType	<string>
                     fieldsV1	<map[string]>
                     manager	<string>
                     operation	<string>
                     subresource	<string>
                     time	<string>
                  name	<string>
                  namespace	<string>
                  ownerReferences	<[]Object>
                     apiVersion	<string>
                     blockOwnerDeletion	<boolean>
                     controller	<boolean>
                     kind	<string>
                     name	<string>
                     uid	<string>
                  resourceVersion	<string>
                  selfLink	<string>
                  uid	<string>
               spec	<Object>
                  accessModes	<[]string>
                  dataSource	<Object>
                     apiGroup	<string>
                     kind	<string>
                     name	<string>
                  dataSourceRef	<Object>
                     apiGroup	<string>
                     kind	<string>
                     name	<string>
                  resources	<Object>
                     limits	<map[string]string>
                     requests	<map[string]string>
                  selector	<Object>
                     matchExpressions	<[]Object>
                        key	<string>
                        operator	<string>
                        values	<[]string>
                     matchLabels	<map[string]string>
                  storageClassName	<string>
                  volumeMode	<string>
                  volumeName	<string>
         fc	<Object>
            fsType	<string>
            lun	<integer>
            readOnly	<boolean>
            targetWWNs	<[]string>
            wwids	<[]string>
         flexVolume	<Object>
            driver	<string>
            fsType	<string>
            options	<map[string]string>
            readOnly	<boolean>
            secretRef	<Object>
               name	<string>
         flocker	<Object>
            datasetName	<string>
            datasetUUID	<string>
         gcePersistentDisk	<Object>
            fsType	<string>
            partition	<integer>
            pdName	<string>
            readOnly	<boolean>
         gitRepo	<Object>
            directory	<string>
            repository	<string>
            revision	<string>
         glusterfs	<Object>
            endpoints	<string>
            path	<string>
            readOnly	<boolean>
         hostPath	<Object>
            path	<string>
            type	<string>
         iscsi	<Object>
            chapAuthDiscovery	<boolean>
            chapAuthSession	<boolean>
            fsType	<string>
            initiatorName	<string>
            iqn	<string>
            iscsiInterface	<string>
            lun	<integer>
            portals	<[]string>
            readOnly	<boolean>
            secretRef	<Object>
               name	<string>
            targetPortal	<string>
         name	<string>
         nfs	<Object>
            path	<string>
            readOnly	<boolean>
            server	<string>
         persistentVolumeClaim	<Object>
            claimName	<string>
            readOnly	<boolean>
         photonPersistentDisk	<Object>
            fsType	<string>
            pdID	<string>
         portworxVolume	<Object>
            fsType	<string>
            readOnly	<boolean>
            volumeID	<string>
         projected	<Object>
            defaultMode	<integer>
            sources	<[]Object>
               configMap	<Object>
                  items	<[]Object>
                     key	<string>
                     mode	<integer>
                     path	<string>
                  name	<string>
                  optional	<boolean>
               downwardAPI	<Object>
                  items	<[]Object>
                     fieldRef	<Object>
                        apiVersion	<string>
                        fieldPath	<string>
                     mode	<integer>
                     path	<string>
                     resourceFieldRef	<Object>
                        containerName	<string>
                        divisor	<string>
                        resource	<string>
               secret	<Object>
                  items	<[]Object>
                     key	<string>
                     mode	<integer>
                     path	<string>
                  name	<string>
                  optional	<boolean>
               serviceAccountToken	<Object>
                  audience	<string>
                  expirationSeconds	<integer>
                  path	<string>
         quobyte	<Object>
            group	<string>
            readOnly	<boolean>
            registry	<string>
            tenant	<string>
            user	<string>
            volume	<string>
         rbd	<Object>
            fsType	<string>
            image	<string>
            keyring	<string>
            monitors	<[]string>
            pool	<string>
            readOnly	<boolean>
            secretRef	<Object>
               name	<string>
            user	<string>
         scaleIO	<Object>
            fsType	<string>
            gateway	<string>
            protectionDomain	<string>
            readOnly	<boolean>
            secretRef	<Object>
               name	<string>
            sslEnabled	<boolean>
            storageMode	<string>
            storagePool	<string>
            system	<string>
            volumeName	<string>
         secret	<Object>
            defaultMode	<integer>
            items	<[]Object>
               key	<string>
               mode	<integer>
               path	<string>
            optional	<boolean>
            secretName	<string>
         storageos	<Object>
            fsType	<string>
            readOnly	<boolean>
            secretRef	<Object>
               name	<string>
            volumeName	<string>
            volumeNamespace	<string>
         vsphereVolume	<Object>
            fsType	<string>
            storagePolicyID	<string>
            storagePolicyName	<string>
            volumePath	<string>
   status	<Object>
      conditions	<[]Object>
         lastProbeTime	<string>
         lastTransitionTime	<string>
         message	<string>
         reason	<string>
         status	<string>
         type	<string>
      containerStatuses	<[]Object>
         containerID	<string>
         image	<string>
         imageID	<string>
         lastState	<Object>
            running	<Object>
               startedAt	<string>
            terminated	<Object>
               containerID	<string>
               exitCode	<integer>
               finishedAt	<string>
               message	<string>
               reason	<string>
               signal	<integer>
               startedAt	<string>
            waiting	<Object>
               message	<string>
               reason	<string>
         name	<string>
         ready	<boolean>
         restartCount	<integer>
         started	<boolean>
         state	<Object>
            running	<Object>
               startedAt	<string>
            terminated	<Object>
               containerID	<string>
               exitCode	<integer>
               finishedAt	<string>
               message	<string>
               reason	<string>
               signal	<integer>
               startedAt	<string>
            waiting	<Object>
               message	<string>
               reason	<string>
      ephemeralContainerStatuses	<[]Object>
         containerID	<string>
         image	<string>
         imageID	<string>
         lastState	<Object>
            running	<Object>
               startedAt	<string>
            terminated	<Object>
               containerID	<string>
               exitCode	<integer>
               finishedAt	<string>
               message	<string>
               reason	<string>
               signal	<integer>
               startedAt	<string>
            waiting	<Object>
               message	<string>
               reason	<string>
         name	<string>
         ready	<boolean>
         restartCount	<integer>
         started	<boolean>
         state	<Object>
            running	<Object>
               startedAt	<string>
            terminated	<Object>
               containerID	<string>
               exitCode	<integer>
               finishedAt	<string>
               message	<string>
               reason	<string>
               signal	<integer>
               startedAt	<string>
            waiting	<Object>
               message	<string>
               reason	<string>
      hostIP	<string>
      initContainerStatuses	<[]Object>
         containerID	<string>
         image	<string>
         imageID	<string>
         lastState	<Object>
            running	<Object>
               startedAt	<string>
            terminated	<Object>
               containerID	<string>
               exitCode	<integer>
               finishedAt	<string>
               message	<string>
               reason	<string>
               signal	<integer>
               startedAt	<string>
            waiting	<Object>
               message	<string>
               reason	<string>
         name	<string>
         ready	<boolean>
         restartCount	<integer>
         started	<boolean>
         state	<Object>
            running	<Object>
               startedAt	<string>
            terminated	<Object>
               containerID	<string>
               exitCode	<integer>
               finishedAt	<string>
               message	<string>
               reason	<string>
               signal	<integer>
               startedAt	<string>
            waiting	<Object>
               message	<string>
               reason	<string>
      message	<string>
      nominatedNodeName	<string>
      phase	<string>
      podIP	<string>
      podIPs	<[]Object>
         ip	<string>
      qosClass	<string>
      reason	<string>
      startTime	<string>
KIND:     Pod
VERSION:  v1

DESCRIPTION:
     Pod is a collection of containers that can run on a host. This resource is
     created by clients and scheduled onto hosts.

FIELDS:
   apiVersion	<string>
   kind	<string>
   metadata	<Object>
      annotations	<map[string]string>
      clusterName	<string>
      creationTimestamp	<string>
      deletionGracePeriodSeconds	<integer>
      deletionTimestamp	<string>
      finalizers	<[]string>
      generateName	<string>
      generation	<integer>
      labels	<map[string]string>
      managedFields	<[]Object>
         apiVersion	<string>
         fieldsType	<string>
         fieldsV1	<map[string]>
         manager	<string>
         operation	<string>
         subresource	<string>
         time	<string>
      name	<string>
      namespace	<string>
      ownerReferences	<[]Object>
         apiVersion	<string>
         blockOwnerDeletion	<boolean>
         controller	<boolean>
         kind	<string>
         name	<string>
         uid	<string>
      resourceVersion	<string>
      selfLink	<string>
      uid	<string>
   spec	<Object>
      activeDeadlineSeconds	<integer>
      affinity	<Object>
         nodeAffinity	<Object>
            preferredDuringSchedulingIgnoredDuringExecution	<[]Object>
               preference	<Object>
                  matchExpressions	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
                  matchFields	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
               weight	<integer>
            requiredDuringSchedulingIgnoredDuringExecution	<Object>
               nodeSelectorTerms	<[]Object>
                  matchExpressions	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
                  matchFields	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
         podAffinity	<Object>
            preferredDuringSchedulingIgnoredDuringExecution	<[]Object>
               podAffinityTerm	<Object>
                  labelSelector	<Object>
                     matchExpressions	<[]Object>
                        key	<string>
                        operator	<string>
                        values	<[]string>
                     matchLabels	<map[string]string>
                  namespaceSelector	<Object>
                     matchExpressions	<[]Object>
                        key	<string>
                        operator	<string>
                        values	<[]string>
                     matchLabels	<map[string]string>
                  namespaces	<[]string>
                  topologyKey	<string>
               weight	<integer>
            requiredDuringSchedulingIgnoredDuringExecution	<[]Object>
               labelSelector	<Object>
                  matchExpressions	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
                  matchLabels	<map[string]string>
               namespaceSelector	<Object>
                  matchExpressions	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
                  matchLabels	<map[string]string>
               namespaces	<[]string>
               topologyKey	<string>
         podAntiAffinity	<Object>
            preferredDuringSchedulingIgnoredDuringExecution	<[]Object>
               podAffinityTerm	<Object>
                  labelSelector	<Object>
                     matchExpressions	<[]Object>
                        key	<string>
                        operator	<string>
                        values	<[]string>
                     matchLabels	<map[string]string>
                  namespaceSelector	<Object>
                     matchExpressions	<[]Object>
                        key	<string>
                        operator	<string>
                        values	<[]string>
                     matchLabels	<map[string]string>
                  namespaces	<[]string>
                  topologyKey	<string>
               weight	<integer>
            requiredDuringSchedulingIgnoredDuringExecution	<[]Object>
               labelSelector	<Object>
                  matchExpressions	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
                  matchLabels	<map[string]string>
               namespaceSelector	<Object>
                  matchExpressions	<[]Object>
                     key	<string>
                     operator	<string>
                     values	<[]string>
                  matchLabels	<map[string]string>
               namespaces	<[]string>
               topologyKey	<string>
      automountServiceAccountToken	<boolean>
      containers	<[]Object>
         args	<[]string>
         command	<[]string>
         env	<[]Object>
            name	<string>
            value	<string>
            valueFrom	<Object>
               configMapKeyRef	<Object>
                  key	<string>
                  name	<string>
                  optional	<boolean>
               fieldRef	<Object>
                  apiVersion	<string>
                  fieldPath	<string>
               resourceFieldRef	<Object>
                  containerName	<string>
                  divisor	<string>
                  resource	<string>
               secretKeyRef	<Object>
                  key	<string>
                  name	<string>
                  optional	<boolean>
         envFrom	<[]Object>
            configMapRef	<Object>
               name	<string>
               optional	<boolean>
            prefix	<string>
            secretRef	<Object>
               name	<string>
               optional	<boolean>
         image	<string>
         imagePullPolicy	<string>
         lifecycle	<Object>
            postStart	<Object>
               exec	<Object>
                  command	<[]string>
               httpGet	<Object>
                  host	<string>
                  httpHeaders	<[]Object>
                     name	<string>
                     value	<string>
                  path	<string>
                  port	<string>
                  scheme	<string>
               tcpSocket	<Object>
                  host	<string>
                  port	<string>
            preStop	<Object>
               exec	<Object>
                  command	<[]string>
               httpGet	<Object>
                  host	<string>
                  httpHeaders	<[]Object>
                     name	<string>
                     value	<string>
                  path	<string>
                  port	<string>
                  scheme	<string>
               tcpSocket	<Object>
                  host	<string>
                  port	<string>
         livenessProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         name	<string>
         ports	<[]Object>
            containerPort	<integer>
            hostIP	<string>
            hostPort	<integer>
            name	<string>
            protocol	<string>
         readinessProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         resources	<Object>
            limits	<map[string]string>
            requests	<map[string]string>
         securityContext	<Object>
            allowPrivilegeEscalation	<boolean>
            capabilities	<Object>
               add	<[]string>
               drop	<[]string>
            privileged	<boolean>
            procMount	<string>
            readOnlyRootFilesystem	<boolean>
            runAsGroup	<integer>
            runAsNonRoot	<boolean>
            runAsUser	<integer>
            seLinuxOptions	<Object>
               level	<string>
               role	<string>
               type	<string>
               user	<string>
            seccompProfile	<Object>
               localhostProfile	<string>
               type	<string>
            windowsOptions	<Object>
               gmsaCredentialSpec	<string>
               gmsaCredentialSpecName	<string>
               hostProcess	<boolean>
               runAsUserName	<string>
         startupProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         stdin	<boolean>
         stdinOnce	<boolean>
         terminationMessagePath	<string>
         terminationMessagePolicy	<string>
         tty	<boolean>
         volumeDevices	<[]Object>
            devicePath	<string>
            name	<string>
         volumeMounts	<[]Object>
            mountPath	<string>
            mountPropagation	<string>
            name	<string>
            readOnly	<boolean>
            subPath	<string>
            subPathExpr	<string>
         workingDir	<string>
      dnsConfig	<Object>
         nameservers	<[]string>
         options	<[]Object>
            name	<string>
            value	<string>
         searches	<[]string>
      dnsPolicy	<string>
      enableServiceLinks	<boolean>
      ephemeralContainers	<[]Object>
         args	<[]string>
         command	<[]string>
         env	<[]Object>
            name	<string>
            value	<string>
            valueFrom	<Object>
               configMapKeyRef	<Object>
                  key	<string>
                  name	<string>
                  optional	<boolean>
               fieldRef	<Object>
                  apiVersion	<string>
                  fieldPath	<string>
               resourceFieldRef	<Object>
                  containerName	<string>
                  divisor	<string>
                  resource	<string>
               secretKeyRef	<Object>
                  key	<string>
                  name	<string>
                  optional	<boolean>
         envFrom	<[]Object>
            configMapRef	<Object>
               name	<string>
               optional	<boolean>
            prefix	<string>
            secretRef	<Object>
               name	<string>
               optional	<boolean>
         image	<string>
         imagePullPolicy	<string>
         lifecycle	<Object>
            postStart	<Object>
               exec	<Object>
                  command	<[]string>
               httpGet	<Object>
                  host	<string>
                  httpHeaders	<[]Object>
                     name	<string>
                     value	<string>
                  path	<string>
                  port	<string>
                  scheme	<string>
               tcpSocket	<Object>
                  host	<string>
                  port	<string>
            preStop	<Object>
               exec	<Object>
                  command	<[]string>
               httpGet	<Object>
                  host	<string>
                  httpHeaders	<[]Object>
                     name	<string>
                     value	<string>
                  path	<string>
                  port	<string>
                  scheme	<string>
               tcpSocket	<Object>
                  host	<string>
                  port	<string>
         livenessProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         name	<string>
         ports	<[]Object>
            containerPort	<integer>
            hostIP	<string>
            hostPort	<integer>
            name	<string>
            protocol	<string>
         readinessProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         resources	<Object>
            limits	<map[string]string>
            requests	<map[string]string>
         securityContext	<Object>
            allowPrivilegeEscalation	<boolean>
            capabilities	<Object>
               add	<[]string>
               drop	<[]string>
            privileged	<boolean>
            procMount	<string>
            readOnlyRootFilesystem	<boolean>
            runAsGroup	<integer>
            runAsNonRoot	<boolean>
            runAsUser	<integer>
            seLinuxOptions	<Object>
               level	<string>
               role	<string>
               type	<string>
               user	<string>
            seccompProfile	<Object>
               localhostProfile	<string>
               type	<string>
            windowsOptions	<Object>
               gmsaCredentialSpec	<string>
               gmsaCredentialSpecName	<string>
               hostProcess	<boolean>
               runAsUserName	<string>
         startupProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         stdin	<boolean>
         stdinOnce	<boolean>
         targetContainerName	<string>
         terminationMessagePath	<string>
         terminationMessagePolicy	<string>
         tty	<boolean>
         volumeDevices	<[]Object>
            devicePath	<string>
            name	<string>
         volumeMounts	<[]Object>
            mountPath	<string>
            mountPropagation	<string>
            name	<string>
            readOnly	<boolean>
            subPath	<string>
            subPathExpr	<string>
         workingDir	<string>
      hostAliases	<[]Object>
         hostnames	<[]string>
         ip	<string>
      hostIPC	<boolean>
      hostNetwork	<boolean>
      hostPID	<boolean>
      hostname	<string>
      imagePullSecrets	<[]Object>
         name	<string>
      initContainers	<[]Object>
         args	<[]string>
         command	<[]string>
         env	<[]Object>
            name	<string>
            value	<string>
            valueFrom	<Object>
               configMapKeyRef	<Object>
                  key	<string>
                  name	<string>
                  optional	<boolean>
               fieldRef	<Object>
                  apiVersion	<string>
                  fieldPath	<string>
               resourceFieldRef	<Object>
                  containerName	<string>
                  divisor	<string>
                  resource	<string>
               secretKeyRef	<Object>
                  key	<string>
                  name	<string>
                  optional	<boolean>
         envFrom	<[]Object>
            configMapRef	<Object>
               name	<string>
               optional	<boolean>
            prefix	<string>
            secretRef	<Object>
               name	<string>
               optional	<boolean>
         image	<string>
         imagePullPolicy	<string>
         lifecycle	<Object>
            postStart	<Object>
               exec	<Object>
                  command	<[]string>
               httpGet	<Object>
                  host	<string>
                  httpHeaders	<[]Object>
                     name	<string>
                     value	<string>
                  path	<string>
                  port	<string>
                  scheme	<string>
               tcpSocket	<Object>
                  host	<string>
                  port	<string>
            preStop	<Object>
               exec	<Object>
                  command	<[]string>
               httpGet	<Object>
                  host	<string>
                  httpHeaders	<[]Object>
                     name	<string>
                     value	<string>
                  path	<string>
                  port	<string>
                  scheme	<string>
               tcpSocket	<Object>
                  host	<string>
                  port	<string>
         livenessProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         name	<string>
         ports	<[]Object>
            containerPort	<integer>
            hostIP	<string>
            hostPort	<integer>
            name	<string>
            protocol	<string>
         readinessProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         resources	<Object>
            limits	<map[string]string>
            requests	<map[string]string>
         securityContext	<Object>
            allowPrivilegeEscalation	<boolean>
            capabilities	<Object>
               add	<[]string>
               drop	<[]string>
            privileged	<boolean>
            procMount	<string>
            readOnlyRootFilesystem	<boolean>
            runAsGroup	<integer>
            runAsNonRoot	<boolean>
            runAsUser	<integer>
            seLinuxOptions	<Object>
               level	<string>
               role	<string>
               type	<string>
               user	<string>
            seccompProfile	<Object>
               localhostProfile	<string>
               type	<string>
            windowsOptions	<Object>
               gmsaCredentialSpec	<string>
               gmsaCredentialSpecName	<string>
               hostProcess	<boolean>
               runAsUserName	<string>
         startupProbe	<Object>
            exec	<Object>
               command	<[]string>
            failureThreshold	<integer>
            httpGet	<Object>
               host	<string>
               httpHeaders	<[]Object>
                  name	<string>
                  value	<string>
               path	<string>
               port	<string>
               scheme	<string>
            initialDelaySeconds	<integer>
            periodSeconds	<integer>
            successThreshold	<integer>
            tcpSocket	<Object>
               host	<string>
               port	<string>
            terminationGracePeriodSeconds	<integer>
            timeoutSeconds	<integer>
         stdin	<boolean>
         stdinOnce	<boolean>
         terminationMessagePath	<string>
         terminationMessagePolicy	<string>
         tty	<boolean>
         volumeDevices	<[]Object>
            devicePath	<string>
            name	<string>
         volumeMounts	<[]Object>
            mountPath	<string>
            mountPropagation	<string>
            name	<string>
            readOnly	<boolean>
            subPath	<string>
            subPathExpr	<string>
         workingDir	<string>
      nodeName	<string>
      nodeSelector	<map[string]string>
      overhead	<map[string]string>
      preemptionPolicy	<string>
      priority	<integer>
      priorityClassName	<string>
      readinessGates	<[]Object>
         conditionType	<string>
      restartPolicy	<string>
      runtimeClassName	<string>
      schedulerName	<string>
      securityContext	<Object>
         fsGroup	<integer>
         fsGroupChangePolicy	<string>
         runAsGroup	<integer>
         runAsNonRoot	<boolean>
         runAsUser	<integer>
         seLinuxOptions	<Object>
            level	<string>
            role	<string>
            type	<string>
            user	<string>
         seccompProfile	<Object>
            localhostProfile	<string>
            type	<string>
         supplementalGroups	<[]integer>
         sysctls	<[]Object>
            name	<string>
            value	<string>
         windowsOptions	<Object>
            gmsaCredentialSpec	<string>
            gmsaCredentialSpecName	<string>
            hostProcess	<boolean>
            runAsUserName	<string>
      serviceAccount	<string>
      serviceAccountName	<string>
      setHostnameAsFQDN	<boolean>
      shareProcessNamespace	<boolean>
      subdomain	<string>
      terminationGracePeriodSeconds	<integer>
      tolerations	<[]Object>
         effect	<string>
         key	<string>
         operator	<string>
         tolerationSeconds	<integer>
         value	<string>
      topologySpreadConstraints	<[]Object>
         labelSelector	<Object>
            matchExpressions	<[]Object>
               key	<string>
               operator	<string>
               values	<[]string>
            matchLabels	<map[string]string>
         maxSkew	<integer>
         topologyKey	<string>
         whenUnsatisfiable	<string>
      volumes	<[]Object>
         awsElasticBlockStore	<Object>
            fsType	<string>
            partition	<integer>
            readOnly	<boolean>
            volumeID	<string>
         azureDisk	<Object>
            cachingMode	<string>
            diskName	<string>
            diskURI	<string>
            fsType	<string>
            kind	<string>
            readOnly	<boolean>
         azureFile	<Object>
            readOnly	<boolean>
            secretName	<string>
            shareName	<string>
         cephfs	<Object>
            monitors	<[]string>
            path	<string>
            readOnly	<boolean>
            secretFile	<string>
            secretRef	<Object>
               name	<string>
            user	<string>
         cinder	<Object>
            fsType	<string>
            readOnly	<boolean>
            secretRef	<Object>
               name	<string>
            volumeID	<string>
         configMap	<Object>
            defaultMode	<integer>
            items	<[]Object>
               key	<string>
               mode	<integer>
               path	<string>
            name	<string>
            optional	<boolean>
         csi	<Object>
            driver	<string>
            fsType	<string>
            nodePublishSecretRef	<Object>
               name	<string>
            readOnly	<boolean>
            volumeAttributes	<map[string]string>
         downwardAPI	<Object>
            defaultMode	<integer>
            items	<[]Object>
               fieldRef	<Object>
                  apiVersion	<string>
                  fieldPath	<string>
               mode	<integer>
               path	<string>
               resourceFieldRef	<Object>
                  containerName	<string>
                  divisor	<string>
                  resource	<string>
         emptyDir	<Object>
            medium	<string>
            sizeLimit	<string>
         ephemeral	<Object>
            volumeClaimTemplate	<Object>
               metadata	<Object>
                  annotations	<map[string]string>
                  clusterName	<string>
                  creationTimestamp	<string>
                  deletionGracePeriodSeconds	<integer>
                  deletionTimestamp	<string>
                  finalizers	<[]string>
                  generateName	<string>
                  generation	<integer>
                  labels	<map[string]string>
                  managedFields	<[]Object>
                     apiVersion	<string>
                     fieldsType	<string>
                     fieldsV1	<map[string]>
                     manager	<string>
                     operation	<string>
                     subresource	<string>
                     time	<string>
                  name	<string>
                  namespace	<string>
                  ownerReferences	<[]Object>
                     apiVersion	<string>
                     blockOwnerDeletion	<boolean>
                     controller	<boolean>
                     kind	<string>
                     name	<string>
                     uid	<string>
                  resourceVersion	<string>
                  selfLink	<string>
                  uid	<string>
               spec	<Object>
                  accessModes	<[]string>
                  dataSource	<Object>
                     apiGroup	<string>
                     kind	<string>
                     name	<string>
                  dataSourceRef	<Object>
                     apiGroup	<string>
                     kind	<string>
                     name	<string>
                  resources	<Object>
                     limits	<map[string]string>
                     requests	<map[string]string>
                  selector	<Object>
                     matchExpressions	<[]Object>
                        key	<string>
                        operator	<string>
                        values	<[]string>
                     matchLabels	<map[string]string>
                  storageClassName	<string>
                  volumeMode	<string>
                  volumeName	<string>
         fc	<Object>
            fsType	<string>
            lun	<integer>
            readOnly	<boolean>
            targetWWNs	<[]string>
            wwids	<[]string>
         flexVolume	<Object>
            driver	<string>
            fsType	<string>
            options	<map[string]string>
            readOnly	<boolean>
            secretRef	<Object>
               name	<string>
         flocker	<Object>
            datasetName	<string>
            datasetUUID	<string>
         gcePersistentDisk	<Object>
            fsType	<string>
            partition	<integer>
            pdName	<string>
            readOnly	<boolean>
         gitRepo	<Object>
            directory	<string>
            repository	<string>
            revision	<string>
         glusterfs	<Object>
            endpoints	<string>
            path	<string>
            readOnly	<boolean>
         hostPath	<Object>
            path	<string>
            type	<string>
         iscsi	<Object>
            chapAuthDiscovery	<boolean>
            chapAuthSession	<boolean>
            fsType	<string>
            initiatorName	<string>
            iqn	<string>
            iscsiInterface	<string>
            lun	<integer>
            portals	<[]string>
            readOnly	<boolean>
            secretRef	<Object>
               name	<string>
            targetPortal	<string>
         name	<string>
         nfs	<Object>
            path	<string>
            readOnly	<boolean>
            server	<string>
         persistentVolumeClaim	<Object>
            claimName	<string>
            readOnly	<boolean>
         photonPersistentDisk	<Object>
            fsType	<string>
            pdID	<string>
         portworxVolume	<Object>
            fsType	<string>
            readOnly	<boolean>
            volumeID	<string>
         projected	<Object>
            defaultMode	<integer>
            sources	<[]Object>
               configMap	<Object>
                  items	<[]Object>
                     key	<string>
                     mode	<integer>
                     path	<string>
                  name	<string>
                  optional	<boolean>
               downwardAPI	<Object>
                  items	<[]Object>
                     fieldRef	<Object>
                        apiVersion	<string>
                        fieldPath	<string>
                     mode	<integer>
                     path	<string>
                     resourceFieldRef	<Object>
                        containerName	<string>
                        divisor	<string>
                        resource	<string>
               secret	<Object>
                  items	<[]Object>
                     key	<string>
                     mode	<integer>
                     path	<string>
                  name	<string>
                  optional	<boolean>
               serviceAccountToken	<Object>
                  audience	<string>
                  expirationSeconds	<integer>
                  path	<string>
         quobyte	<Object>
            group	<string>
            readOnly	<boolean>
            registry	<string>
            tenant	<string>
            user	<string>
            volume	<string>
         rbd	<Object>
            fsType	<string>
            image	<string>
            keyring	<string>
            monitors	<[]string>
            pool	<string>
            readOnly	<boolean>
            secretRef	<Object>
               name	<string>
            user	<string>
         scaleIO	<Object>
            fsType	<string>
            gateway	<string>
            protectionDomain	<string>
            readOnly	<boolean>
            secretRef	<Object>
               name	<string>
            sslEnabled	<boolean>
            storageMode	<string>
            storagePool	<string>
            system	<string>
            volumeName	<string>
         secret	<Object>
            defaultMode	<integer>
            items	<[]Object>
               key	<string>
               mode	<integer>
               path	<string>
            optional	<boolean>
            secretName	<string>
         storageos	<Object>
            fsType	<string>
            readOnly	<boolean>
            secretRef	<Object>
               name	<string>
            volumeName	<string>
            volumeNamespace	<string>
         vsphereVolume	<Object>
            fsType	<string>
            storagePolicyID	<string>
            storagePolicyName	<string>
            volumePath	<string>
   status	<Object>
      conditions	<[]Object>
         lastProbeTime	<string>
         lastTransitionTime	<string>
         message	<string>
         reason	<string>
         status	<string>
         type	<string>
      containerStatuses	<[]Object>
         containerID	<string>
         image	<string>
         imageID	<string>
         lastState	<Object>
            running	<Object>
               startedAt	<string>
            terminated	<Object>
               containerID	<string>
               exitCode	<integer>
               finishedAt	<string>
               message	<string>
               reason	<string>
               signal	<integer>
               startedAt	<string>
            waiting	<Object>
               message	<string>
               reason	<string>
         name	<string>
         ready	<boolean>
         restartCount	<integer>
         started	<boolean>
         state	<Object>
            running	<Object>
               startedAt	<string>
            terminated	<Object>
               containerID	<string>
               exitCode	<integer>
               finishedAt	<string>
               message	<string>
               reason	<string>
               signal	<integer>
               startedAt	<string>
            waiting	<Object>
               message	<string>
               reason	<string>
      ephemeralContainerStatuses	<[]Object>
         containerID	<string>
         image	<string>
         imageID	<string>
         lastState	<Object>
            running	<Object>
               startedAt	<string>
            terminated	<Object>
               containerID	<string>
               exitCode	<integer>
               finishedAt	<string>
               message	<string>
               reason	<string>
               signal	<integer>
               startedAt	<string>
            waiting	<Object>
               message	<string>
               reason	<string>
         name	<string>
         ready	<boolean>
         restartCount	<integer>
         started	<boolean>
         state	<Object>
            running	<Object>
               startedAt	<string>
            terminated	<Object>
               containerID	<string>
               exitCode	<integer>
               finishedAt	<string>
               message	<string>
               reason	<string>
               signal	<integer>
               startedAt	<string>
            waiting	<Object>
               message	<string>
               reason	<string>
      hostIP	<string>
      initContainerStatuses	<[]Object>
         containerID	<string>
         image	<string>
         imageID	<string>
         lastState	<Object>
            running	<Object>
               startedAt	<string>
            terminated	<Object>
               containerID	<string>
               exitCode	<integer>
               finishedAt	<string>
               message	<string>
               reason	<string>
               signal	<integer>
               startedAt	<string>
            waiting	<Object>
               message	<string>
               reason	<string>
         name	<string>
         ready	<boolean>
         restartCount	<integer>
         started	<boolean>
         state	<Object>
            running	<Object>
               startedAt	<string>
            terminated	<Object>
               containerID	<string>
               exitCode	<integer>
               finishedAt	<string>
               message	<string>
               reason	<string>
               signal	<integer>
               startedAt	<string>
            waiting	<Object>
               message	<string>
               reason	<string>
      message	<string>
      nominatedNodeName	<string>
      phase	<string>
      podIP	<string>
      podIPs	<[]Object>
         ip	<string>
      qosClass	<string>
      reason	<string>
      startTime	<string>

pod

shell
kubectl explain pod.spec
kubectl explain pod.spec

containers

shell
kubectl explain pod.spec.containers
kubectl explain pod.spec.containers

deployment

shell
kubectl explain deployment
kubectl explain deployment

service

shell
kubectl explain service

如果后面跟着的是<object>, 则需要空格
volumes	<[]Object>    则需要前面加 -
kubectl explain service

如果后面跟着的是<object>, 则需要空格
volumes	<[]Object>    则需要前面加 -

区域

image-20240415215706386

yaml
apiVersion: v1
kind: Pod
metadata:
  name: pod-policy		#pod名字
spec:
  containers:
  - name: pod-policy	#容器名字
    image: nginx
    imagePullPolicy: IfNotPresent
apiVersion: v1
kind: Pod
metadata:
  name: pod-policy		#pod名字
spec:
  containers:
  - name: pod-policy	#容器名字
    image: nginx
    imagePullPolicy: IfNotPresent