Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
6.8 kB
2
Indexable
Never
Name:               redis-sentinel-node
Namespace:          authorization
CreationTimestamp:  Thu, 04 Jan 2024 20:16:40 +0300
Selector:           app.kubernetes.io/component=node,app.kubernetes.io/instance=redis-sentinel,app.kubernetes.io/name=redis
Labels:             app.kubernetes.io/component=node
                    app.kubernetes.io/instance=redis-sentinel
                    app.kubernetes.io/managed-by=Helm
                    app.kubernetes.io/name=redis
                    app.kubernetes.io/version=7.2.3
                    helm.sh/chart=redis-18.6.2
Annotations:        meta.helm.sh/release-name: redis-sentinel
                    meta.helm.sh/release-namespace: authorization
Replicas:           3 desired | 3 total
Update Strategy:    RollingUpdate
Pods Status:        3 Running / 0 Waiting / 0 Succeeded / 0 Failed
Pod Template:
  Labels:           app.kubernetes.io/component=node
                    app.kubernetes.io/instance=redis-sentinel
                    app.kubernetes.io/managed-by=Helm
                    app.kubernetes.io/name=redis
                    app.kubernetes.io/version=7.2.3
                    helm.sh/chart=redis-18.6.2
  Annotations:      checksum/configmap: f03658674eafce09765ed36e5c272046721efb41b01eae62aa98058e2db12963
                    checksum/health: 1eace71641fb5bd753e90012419e82c10b1180d694f91d83743b727a5aacca73
                    checksum/scripts: 37fefaba5613d220645d890cbe6c28655c49bc04eb06b6c28566181915cebc26
                    checksum/secret: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
                    prometheus.io/port: 9121
                    prometheus.io/scrape: true
  Service Account:  redis-sentinel
  Containers:
   redis:
    Image:           docker.io/bitnami/redis:7.2.3-debian-11-r2
    Port:            6379/TCP
    Host Port:       0/TCP
    SeccompProfile:  RuntimeDefault
    Command:
      /bin/bash
    Args:
      -c
      /opt/bitnami/scripts/start-scripts/start-node.sh
    Liveness:   exec [sh -c /health/ping_liveness_local.sh 5] delay=20s timeout=5s period=5s #success=1 #failure=5
    Readiness:  exec [sh -c /health/ping_readiness_local.sh 1] delay=20s timeout=1s period=5s #success=1 #failure=5
    Startup:    exec [sh -c /health/ping_liveness_local.sh 5] delay=10s timeout=5s period=10s #success=1 #failure=22
    Environment:
      BITNAMI_DEBUG:               false
      REDIS_MASTER_PORT_NUMBER:    6379
      ALLOW_EMPTY_PASSWORD:        yes
      REDIS_TLS_ENABLED:           no
      REDIS_PORT:                  6379
      REDIS_SENTINEL_TLS_ENABLED:  no
      REDIS_SENTINEL_PORT:         26379
      REDIS_DATA_DIR:              /data
    Mounts:
      /data from redis-data (rw)
      /health from health (rw)
      /opt/bitnami/redis/etc from redis-tmp-conf (rw)
      /opt/bitnami/redis/mounted-etc from config (rw)
      /opt/bitnami/scripts/start-scripts from start-scripts (rw)
      /tmp from tmp (rw)
   sentinel:
    Image:           docker.io/bitnami/redis-sentinel:7.2.3-debian-11-r2
    Port:            26379/TCP
    Host Port:       0/TCP
    SeccompProfile:  RuntimeDefault
    Command:
      /bin/bash
    Args:
      -c
      /opt/bitnami/scripts/start-scripts/start-sentinel.sh
    Liveness:   exec [sh -c /health/ping_sentinel.sh 5] delay=20s timeout=5s period=10s #success=1 #failure=6
    Readiness:  exec [sh -c /health/ping_sentinel.sh 1] delay=20s timeout=1s period=5s #success=1 #failure=6
    Startup:    exec [sh -c /health/ping_sentinel.sh 5] delay=10s timeout=5s period=10s #success=1 #failure=22
    Environment:
      BITNAMI_DEBUG:               false
      ALLOW_EMPTY_PASSWORD:        yes
      REDIS_SENTINEL_TLS_ENABLED:  no
      REDIS_SENTINEL_PORT:         26379
    Mounts:
      /data from redis-data (rw)
      /health from health (rw)
      /opt/bitnami/redis-sentinel/etc from sentinel-data (rw)
      /opt/bitnami/redis-sentinel/mounted-etc from config (rw)
      /opt/bitnami/scripts/start-scripts from start-scripts (rw)
   metrics:
    Image:           docker.io/bitnami/redis-exporter:1.55.0-debian-11-r3
    Port:            9121/TCP
    Host Port:       0/TCP
    SeccompProfile:  RuntimeDefault
    Command:
      /bin/bash
      -c
      if [[ -f '/secrets/redis-password' ]]; then
          export REDIS_PASSWORD=$(cat /secrets/redis-password)
      fi
      redis_exporter

    Liveness:   tcp-socket :metrics delay=10s timeout=5s period=10s #success=1 #failure=5
    Readiness:  http-get http://:metrics/ delay=5s timeout=1s period=10s #success=1 #failure=3
    Environment:
      REDIS_ALIAS:  redis-sentinel
    Mounts:         <none>
  Volumes:
   start-scripts:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      redis-sentinel-scripts
    Optional:  false
   health:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      redis-sentinel-health
    Optional:  false
   config:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      redis-sentinel-configuration
    Optional:  false
   sentinel-data:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
   redis-tmp-conf:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
   tmp:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
Volume Claims:
  Name:          redis-data
  StorageClass:  fast
  Labels:        app.kubernetes.io/component=node
                 app.kubernetes.io/instance=redis-sentinel
                 app.kubernetes.io/name=redis
  Annotations:   <none>
  Capacity:      1Gi
  Access Modes:  [ReadWriteOnce]
Events:
  Type    Reason            Age    From                    Message
  ----    ------            ----   ----                    -------
  Normal  SuccessfulCreate  2m33s  statefulset-controller  create Claim redis-data-redis-sentinel-node-0 Pod redis-sentinel-node-0 in StatefulSet redis-sentinel-node success
  Normal  SuccessfulCreate  2m33s  statefulset-controller  create Pod redis-sentinel-node-0 in StatefulSet redis-sentinel-node successful
  Normal  SuccessfulCreate  110s   statefulset-controller  create Claim redis-data-redis-sentinel-node-1 Pod redis-sentinel-node-1 in StatefulSet redis-sentinel-node success
  Normal  SuccessfulCreate  110s   statefulset-controller  create Pod redis-sentinel-node-1 in StatefulSet redis-sentinel-node successful
  Normal  SuccessfulCreate  58s    statefulset-controller  create Claim redis-data-redis-sentinel-node-2 Pod redis-sentinel-node-2 in StatefulSet redis-sentinel-node success
  Normal  SuccessfulCreate  58s    statefulset-controller  create Pod redis-sentinel-node-2 in StatefulSet redis-sentinel-node successful
Leave a Comment