17.2 Viewing Pod Descriptions

Details about a pod can be viewed using the kubectl describe command:
kubectl describe pod <pod> -n <namespace>
For example:
kubectl describe pod governancedomain-oim-server1 -n oigns
The output will look similar to the following:
Name:             governancedomain-oim-server1
Namespace:        oigns
Priority:         0
Service Account:  default
Node:             worker-2/100.105.211.87
Start Time:       <DATE>
Labels:           weblogic.clusterName=oim_cluster
                  weblogic.clusterObservedGeneration=2
                  weblogic.createdByOperator=true
                  weblogic.domainName=governancedomain
                  weblogic.domainObservedGeneration=3
                  weblogic.domainUID=governancedomain
                  weblogic.operatorVersion=4.2.10
                  weblogic.serverName=oim_server1
Annotations:      prometheus.io/path: /wls-exporter/metrics
                  prometheus.io/port: 14000
                  prometheus.io/scrape: true
                  weblogic.sha256: ca63e88a762186c5b4ca394be1c7c3b3ca0f0474c91bb3c8b6a928546aeafd35
Status:           Running
SeccompProfile:   RuntimeDefault
IP:               10.244.2.251
IPs:
  IP:           10.244.2.251
Controlled By:  Domain/governancedomain
Init Containers:
  compat-connector-init:
    Container ID:  cri-o://dbd6a9ef07c3b9cbaa30685e6382f587a4be5461f1ada4750a947e00349e5c2e
    Image:         container-registry.oracle.com/middleware/oig_cpu:14.1.2.1.0-jdk17-ol8-<YYMMDD>
    Image ID:      container-registry.oracle.com/middleware/oam_cpu@sha256:b52e106cdb9b522e9a7a971888481af3869542ef433ba3ea9cd6d47b323c781b
    Port:          <none>
    Host Port:     <none>
    Command:
      /bin/bash
      -c
      mkdir -p  /u01/oracle/user_projects/domains/ConnectorDefaultDirectory
      mkdir -p  /u01/oracle/user_projects/domains/wdt-logs
    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      <DATE>
      Finished:     <DATE>
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:     2
      memory:  8Gi
    Requests:
      cpu:        1
      memory:     4Gi
    Environment:  <none>
    Mounts:
      /u01/oracle/user_projects from weblogic-domain-storage-volume (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-qxpt4 (ro)
Containers:
  weblogic-server:
    Container ID:  cri-o://80b0b0d9241ae88e57a7ceb5d81d0716f1b812d70d5e7c1b1ee148495559a8b3
    Image:         container-registry.oracle.com/middleware/oig_cpu:14.1.2.1.0-jdk17-ol8-<YYMMDD>
    Image ID:     container-registry.oracle.com/middleware/oig_cpu@sha256:b52e106cdb9b522e9a7a971888481af3869542ef433ba3ea9cd6d47b323c781b
    Ports:         14002/TCP, 14000/TCP
    Host Ports:    0/TCP, 0/TCP
    Command:
      /weblogic-operator/scripts/startServer.sh
    State:          Running
      Started:      <DATE>
    Last State:     Terminated
      Reason:       Error
      Exit Code:    137
      Started:      <DATE>
      Finished:     <DATE>
    Ready:          True
    Restart Count:  1
    Limits:
      cpu:     2
      memory:  8Gi
    Requests:
      cpu:      1
      memory:   4Gi
    Liveness:   exec [/weblogic-operator/scripts/livenessProbe.sh] delay=30s timeout=5s period=45s #success=1 #failure=1
    Readiness:  http-get http://:14000/weblogic/ready delay=30s timeout=5s period=5s #success=1 #failure=1
    Environment Variables from:
      governancedomain-rcu-credentials  Secret  Optional: false
    Environment:
      USER_MEM_ARGS:                      -Djava.security.egd=file:/dev/./urandom -Xms8192m -Xmx8192m
      JAVA_OPTIONS:                       -Dweblogic.StdoutDebugEnabled=false
      WLSDEPLOY_LOG_DIRECTORY:            /u01/oracle/user_projects/domains/wdt-logs
      FRONTENDHOST:                       example.com
      FRONTENDPORT:                       14000
      WLSDEPLOY_PROPERTIES:               -Dwdt.config.disable.rcu.drop.schema=true
      DOMAIN_NAME:                        governancedomain
      DOMAIN_HOME:                        /u01/oracle/user_projects/domains/governancedomain
      ADMIN_NAME:                         AdminServer
      ADMIN_PORT:                         7001
      SERVER_NAME:                        oim_server1
      DOMAIN_UID:                         governancedomain
      NODEMGR_HOME:                       /u01/nodemanager
      LOG_HOME:                           /u01/oracle/user_projects/domains/logs/governancedomain
      SERVER_OUT_IN_POD_LOG:              true
      SERVICE_NAME:                       governancedomain-oim-server1
      AS_SERVICE_NAME:                    governancedomain-adminserver
      ADMIN_USERNAME:
      ADMIN_PASSWORD:
      LOCAL_ADMIN_PORT:                   14000
      LOCAL_ADMIN_PROTOCOL:               t3
      SHUTDOWN_TYPE:                      Graceful
      SHUTDOWN_TIMEOUT:                   30
      SHUTDOWN_IGNORE_SESSIONS:           false
      REPLACE_VARIABLES_IN_JAVA_OPTIONS:  false
      DYNAMIC_CONFIG_OVERRIDE:            true
      DOMAIN_SOURCE_TYPE:                 PersistentVolume
    Mounts:
      /u01/oracle/user_projects from weblogic-domain-storage-volume (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-qxpt4 (ro)
      /weblogic-operator/debug from weblogic-domain-debug-cm-volume (ro)
      /weblogic-operator/introspector from weblogic-domain-introspect-cm-volume (rw)
      /weblogic-operator/scripts from weblogic-scripts-cm-volume (ro)
Conditions:
  Type                        Status
  PodReadyToStartContainers   True
  Initialized                 True
  Ready                       True
  ContainersReady             True
  PodScheduled                True
Volumes:
  weblogic-scripts-cm-volume:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      weblogic-scripts-cm
    Optional:  false
  weblogic-domain-debug-cm-volume:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      governancedomain-weblogic-domain-debug-cm
    Optional:  true
  weblogic-domain-introspect-cm-volume:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      governancedomain-weblogic-domain-introspect-cm
    Optional:  false
  weblogic-domain-storage-volume:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  governancedomain-domain-pvc
    ReadOnly:   false
  kube-api-access-qxpt4:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   Burstable
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events: