Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
9.0 kB
5
Indexable
Never
Name:                 rails-automate-787c4d6c56-hpdpt
Namespace:            stag-k8s-devautomate2
Priority:             -5
Priority Class Name:  low-priority
Service Account:      remove-files-from-s3-staging
Node:                 ip-10-72-5-230.eu-central-1.compute.internal/10.72.5.230
Start Time:           Thu, 06 Apr 2023 18:08:02 +0530
Labels:               browserstack.com/application=rails-automate
                      browserstack.com/component=railsapp
                      browserstack.com/env=k8s-devautomate2
                      pod-template-hash=787c4d6c56
Annotations:          kubectl.kubernetes.io/restartedAt: 2022-11-26T23:03:26+05:30
                      kubernetes.io/psp: eks.privileged
Status:               Running
IP:                   10.72.4.132
IPs:
  IP:           10.72.4.132
Controlled By:  ReplicaSet/rails-automate-787c4d6c56
Containers:
  rails-automate:
    Container ID:   docker://af8737014570f5f150b03f0e8dbdba60a4c555aac384e7edd7fd95ecfc242f30
    Image:          737963123736.dkr.ecr.eu-central-1.amazonaws.com/browserstack/railsapp-base:stag-36eae9b4a-36de24c97
    Image ID:       docker-pullable://737963123736.dkr.ecr.eu-central-1.amazonaws.com/browserstack/railsapp-base@sha256:0f4e7525365c72c3bc51c091be4ed9cf42373cc1c04fb60921a64ec69c0d616d
    Port:           <none>
    Host Port:      <none>
    State:          Running
      Started:      Thu, 06 Apr 2023 18:08:05 +0530
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:                300m
      ephemeral-storage:  50Mi
      memory:             700Mi
    Requests:
      cpu:                300m
      ephemeral-storage:  50Mi
      memory:             700Mi
    Environment:
      BUILD_ENV:                    staging
      P1_DEPLOY:                    false
      CHECK_PATH:                   users/sign_up
      SUBDOMAIN:                    automate-k8s-devautomate2.bsstag.com
      COMMAND_TO_RUN:               mkdir -p {/var/log/nginx,/ebs/logs,/home/app/railsApp/log,/home/app/railsApp/config/learnupon/metadata} && chown app:app -R {/var/log/nginx,/ebs/logs/,/home/app/railsApp/log,/home/app/railsApp/config/learnupon/metadata} && /usr/sbin/nginx -g 'daemon off;'
      RAILS_ENV:                    <set to the key 'RAILS_ENV' of config map 'rails-env'>    Optional: false
      SETUP_NAME:                   <set to the key 'SETUP_NAME' of config map 'setup-name'>  Optional: false
      SHOULD_COMPILE_ASSETS:        false
      AWS_STS_REGIONAL_ENDPOINTS:   regional
      AWS_DEFAULT_REGION:           eu-central-1
      AWS_REGION:                   eu-central-1
      AWS_ROLE_ARN:                 arn:aws:iam::737963123736:role/eksctl-browserstack-euc1-1-addon-iamservicea-Role1-1UTCKBWZZK7L7
      AWS_WEB_IDENTITY_TOKEN_FILE:  /var/run/secrets/eks.amazonaws.com/serviceaccount/token
    Mounts:
      /ebs from rails-automate-ebs (rw)
      /etc/confd/conf.d/confd_automate.toml from automate-tomls (rw,path="confd_automate.toml")
      /etc/confd/conf.d/confd_env.scss.toml from base-tomls (rw,path="confd_env.scss.toml")
      /etc/confd/conf.d/confd_rails_config.toml from base-tomls (rw,path="confd_rails_config.toml")
      /etc/confd/conf.d/confd_rails_database.toml from base-tomls (rw,path="confd_rails_database.toml")
      /etc/confd/conf.d/confd_rails_frontend_config.toml from base-tomls (rw,path="confd_rails_frontend_config.toml")
      /etc/confd/conf.d/confd_url_whitelisting.toml from automate-tomls (rw,path="confd_url_whitelisting.toml")
      /etc/confd/templates/_env.scss.tmpl from rails-config (rw,path="_env.scss.tmpl")
      /etc/confd/templates/config.yml.tmpl from rails-config (rw,path="config.yml.tmpl")
      /etc/confd/templates/database.yml.tmpl from rails-config (rw,path="database.yml.tmpl")
      /etc/confd/templates/frontend_config.json.tmpl from rails-config (rw,path="frontend_config.json.tmpl")
      /etc/confd/templates/nginx_automate.conf.tmpl from automate-nginx (rw,path="nginx_automate.conf.tmpl")
      /etc/confd/templates/url_whitelisting.conf.tmpl from automate-nginx (rw,path="url_whitelisting.conf.tmpl")
      /home/app/railsApp/config/initializers/pk-cloudfront.pem from staging-secrets (rw,path="pk-cloudfront.pem")
      /home/app/railsApp/config/learnupon/learnupon-staging.cert from staging-secrets (rw,path="learnupon-staging.cert")
      /home/app/railsApp/config/learnupon/learnupon-staging.pem from staging-secrets (rw,path="learnupon-staging.pem")
      /home/app/railsApp/log from rails-automate-applog (rw)
      /opt/secrets/staging from staging-secrets (rw)
      /tmp/api.json from rails-config (rw,path="api.json")
      /tmp/app_uploader_401.json from automate-nginx (rw,path="app_uploader_401.json")
      /tmp/app_uploader_429.json from automate-nginx (rw,path="app_uploader_429.json")
      /tmp/assets from rails-assets-modified (rw)
      /tmp/entrypoint.sh from entrypoints (rw,path="rails-entrypoint.sh")
      /tmp/hacks from railsapp-hacks (rw)
      /tmp/health_check_handler.conf from base-nginx (rw,path="health_check_handler.conf")
      /tmp/staging-liveness.sh from entrypoints (rw,path="staging-liveness.sh")
      /tmp/staging-readiness.sh from entrypoints (rw,path="staging-readiness.sh")
      /tmp/staging-startup.sh from entrypoints (rw,path="staging-startup.sh")
      /tmp/status_page.conf from base-nginx (rw,path="status_page.conf")
      /var/log from rails-automate-varlog (rw)
      /var/run/secrets/eks.amazonaws.com/serviceaccount from aws-iam-token (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-dtgmv (ro)
Conditions:
  Type              Status
  Initialized       True 
  Ready             True 
  ContainersReady   True 
  PodScheduled      True 
Volumes:
  aws-iam-token:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  86400
  staging-secrets:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  staging-secrets
    Optional:    false
  rails-assets-modified:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      rails-assets-modified
    Optional:  false
  entrypoints:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      entrypoints
    Optional:  false
  railsapp-hacks:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      staging-hacks
    Optional:  false
  automate-tomls:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      automate-tomls
    Optional:  false
  automate-nginx:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      automate-nginx
    Optional:  false
  rails-automate-ebs:
    Type:          HostPath (bare host directory volume)
    Path:          /ebs/k8s-devautomate2/rails-automate/ebs
    HostPathType:  DirectoryOrCreate
  rails-automate-applog:
    Type:          HostPath (bare host directory volume)
    Path:          /ebs/k8s-devautomate2/rails-automate/applog
    HostPathType:  DirectoryOrCreate
  rails-automate-varlog:
    Type:          HostPath (bare host directory volume)
    Path:          /ebs/k8s-devautomate2/rails-automate/varlog
    HostPathType:  DirectoryOrCreate
  base-tomls:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      base-tomls
    Optional:  false
  rails-config:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      rails-config
    Optional:  false
  base-nginx:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      base-nginx
    Optional:  false
  kube-api-access-dtgmv:
    Type:                     Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:   3607
    ConfigMapName:            kube-root-ca.crt
    ConfigMapOptional:        <nil>
    DownwardAPI:              true
QoS Class:                    Guaranteed
Node-Selectors:               purpose=pvt-apps-internal-spot-common-euc1-1
Tolerations:                  node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                              node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
                              pvt-apps-internal-spot-common-euc1-1:NoSchedule
Topology Spread Constraints:  topology.kubernetes.io/zone:ScheduleAnyway when max skew 1 is exceeded
Events:
  Type    Reason     Age   From               Message
  ----    ------     ----  ----               -------
  Normal  Scheduled  13m   default-scheduler  Successfully assigned stag-k8s-devautomate2/rails-automate-787c4d6c56-hpdpt to ip-10-72-5-230.eu-central-1.compute.internal
  Normal  Pulled     13m   kubelet            Container image "737963123736.dkr.ecr.eu-central-1.amazonaws.com/browserstack/railsapp-base:stag-36eae9b4a-36de24c97" already present on machine
  Normal  Created    13m   kubelet            Created container rails-automate
  Normal  Started    13m   kubelet            Started container rails-automate