Skip to content

Instantly share code, notes, and snippets.

@rurkss
Created June 14, 2024 19:23
Show Gist options
  • Save rurkss/2ba5a9b6012996398994596ca6bc3fa4 to your computer and use it in GitHub Desktop.
Save rurkss/2ba5a9b6012996398994596ca6bc3fa4 to your computer and use it in GitHub Desktop.

k --context app-prod-hq -n nitro-web-production describe po nitro-production-consolepb5wp

Name:             nitro-production-consolepb5wp
Namespace:        nitro-web-production
Priority:         0
Service Account:  default
Node:             prod-app-worker02.hq.powerinfra.io/10.1.160.112
Start Time:       Fri, 14 Jun 2024 15:13:53 -0400
Labels:           app.kubernetes.io/component=shell
                  app.kubernetes.io/instance=nitro-production
                  app.kubernetes.io/managed-by=nitro
                  app.kubernetes.io/name=nitro
                  app.kubernetes.io/part-of=nitro
                  app.kubernetes.io/version=9d5eafecd2e79cb949b8da24b6cf7468a0fe9e34
Annotations:      cni.projectcalico.org/containerID: 8ff632748e411e8cffa6e79e27485f9c6a2db691a14a95f59bef2e7063ea2530
                  cni.projectcalico.org/podIP:
                  cni.projectcalico.org/podIPs:
Status:           Failed
IP:               10.66.60.214
IPs:
  IP:  10.66.60.214
Containers:
  task-runner:
    Container ID:  containerd://5d4e2899ff95f300883a4a31d4149d013a0ea07057dce285ff102a6fd3184df6
    Image:         image-registry.powerapp.cloud/nitro-web/nitro_web:9d5eafecd2e79cb949b8da24b6cf7468a0fe9e34
    Image ID:      image-registry.powerapp.cloud/nitro-web/nitro_web@sha256:7d69da01f94db06410911cef9b9eacff008f15f699c87a94853ae891403c2191
    Port:          <none>
    Host Port:     <none>
    Command:
      sleep
    Args:
      --
      sleep
      10800
    State:          Terminated
      Reason:       Error
      Exit Code:    1
      Started:      Fri, 14 Jun 2024 15:14:02 -0400
      Finished:     Fri, 14 Jun 2024 15:14:02 -0400
    Ready:          False
    Restart Count:  0
    Limits:
      ephemeral-storage:  500Mi
      memory:             1536Mi
    Requests:
      cpu:                1
      ephemeral-storage:  500Mi
      memory:             500Mi
    Environment:
      RAILS_LOG_TO_STDOUT:                                 true
      STRUCTURED_LOGGING:                                  true
      FORCE_SSL:                                           0
      RACK_ENV:                                            production
      RAILS_ENV:                                           production
      REDIS_LOGICAL_DB_NAME:                               0
      POWERAPP_CLOUD_CLUSTER_NAME:                         app-prod-hq
      RUNNING_PXC:                                         1
      ENRICHED_MILANO_LOG:                                 true
      DATABASE_PORT:                                       3307
      DATABASE_READ_TIMEOUT:                               600
      POWERAPP_CLOUD_NODE_NAME:                             (v1:spec.nodeName)
      POWERAPP_CLOUD_NAMESPACE:                            nitro-web-production (v1:metadata.namespace)
      NITRO_ID_CLIENT_ID:                                  <set to the key 'clientId' in secret 'nitro-id-client'>      Optional: true
      NITRO_ID_CLIENT_SECRET:                              <set to the key 'clientSecret' in secret 'nitro-id-client'>  Optional: true
      NEW_RELIC_METADATA_KUBERNETES_CLUSTER_NAME:          app-prod-hq
      NEW_RELIC_METADATA_KUBERNETES_NODE_NAME:              (v1:spec.nodeName)
      NEW_RELIC_METADATA_KUBERNETES_NAMESPACE_NAME:        nitro-web-production (v1:metadata.namespace)
      NEW_RELIC_METADATA_KUBERNETES_POD_NAME:              nitro-production-consolepb5wp (v1:metadata.name)
      NEW_RELIC_METADATA_KUBERNETES_CONTAINER_NAME:        task-runner
      NEW_RELIC_METADATA_KUBERNETES_CONTAINER_IMAGE_NAME:  image-registry.powerapp.cloud/nitro-web/nitro_web:9d5eafecd2e79cb949b8da24b6cf7468a0fe9e34
    Mounts:
      /home/app/src/config/apple_gsx_certs/phrg.key from config-volume (ro,path="apple_gsx_key.pem")
      /home/app/src/config/apple_gsx_certs/phrg.pem from config-volume (ro,path="apple_gsx_cert_chain.pem")
      /home/app/src/config/config.yml from config-volume (ro,path="config.yml")
      /home/app/src/config/database.yml from config-volume (ro,path="database.yml")
      /home/app/src/config/ldap.yml from config-volume (ro,path="ldap.yml")
      /home/app/src/config/tuna_certs_sha2/POWERHO2_SHA2_RT.pem from config-volume (ro,path="tuna_ca_cert.pem")
      /home/app/src/config/tuna_certs_sha2/POWERHOME.pem from config-volume (ro,path="tuna_cert.pem")
      /home/app/src/config/tuna_certs_sha2/POWERHOME_KEY.pem from config-volume (ro,path="tuna_key.pem")
      /home/app/src/public/assets from assets-volume (rw,path="assets")
      /home/app/src/public/packs from assets-volume (rw,path="packs")
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-9q5r4 (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  config-volume:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  nitro-configfiles
    Optional:    false
  assets-volume:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  nitro-assets-pvc
    ReadOnly:   false
  kube-api-access-9q5r4:
    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:
  Type    Reason                  Age    From                     Message
  ----    ------                  ----   ----                     -------
  Normal  Scheduled               2m42s  default-scheduler        Successfully assigned nitro-web-production/nitro-production-consolepb5wp to prod-app-worker02.hq.powerinfra.io
  Normal  SuccessfulAttachVolume  2m41s  attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-e0c38eb9-a35e-417c-8d59-682d02242e20"
  Normal  Pulled                  2m33s  kubelet                  Container image "image-registry.powerapp.cloud/nitro-web/nitro_web:9d5eafecd2e79cb949b8da24b6cf7468a0fe9e34" already present on machine
  Normal  Created                 2m33s  kubelet                  Created container task-runner
  Normal  Started                 2m33s  kubelet                  Started container task-runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment