Skip to content

Instantly share code, notes, and snippets.

@maxisme
Created January 23, 2021 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxisme/3e4398e18ee48922585db9b8869af941 to your computer and use it in GitHub Desktop.
Save maxisme/3e4398e18ee48922585db9b8869af941 to your computer and use it in GitHub Desktop.
kubectl describe pods redis-redis-cluster-4
Name: redis-redis-cluster-4
Namespace: default
Priority: 0
Node: chapel/10.1.0.3
Start Time: Sat, 23 Jan 2021 17:19:38 +0000
Labels: app.kubernetes.io/instance=redis
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=redis-cluster
controller-revision-hash=redis-redis-cluster-5fc5f5cf9f
helm.sh/chart=redis-cluster-4.2.7
statefulset.kubernetes.io/pod-name=redis-redis-cluster-4
Annotations: checksum/scripts: 7407792f62eb42192ebad6e1bbfd6bf239f837974bd53118323493fa2acb2aae
checksum/secret: db8fbfadd8e4fb56f3fb70fd7f4e85875afcfa21a929cb9547d5df3236cf186d
Status: Running
IP: 10.42.2.147
IPs:
IP: 10.42.2.147
Controlled By: StatefulSet/redis-redis-cluster
Containers:
redis-redis-cluster:
Container ID: containerd://88f999cd13c4133971d52713e686200da32f2a6830a7ac70a75f9bbcc9e71562
Image: docker.io/bitnami/redis-cluster:6.0.10-debian-10-r5
Image ID: docker.io/bitnami/redis-cluster@sha256:dfedcaa03878564f6eb75c101a66d8ecd18a9558971ade5c82611bfa9fb6da96
Ports: 6379/TCP, 16379/TCP
Host Ports: 0/TCP, 0/TCP
Command:
/bin/bash
-c
Args:
# Backwards compatibility change
if ! [[ -f /opt/bitnami/redis/etc/redis.conf ]]; then
echo COPYING FILE
cp /opt/bitnami/redis/etc/redis-default.conf /opt/bitnami/redis/etc/redis.conf
fi
/opt/bitnami/scripts/redis-cluster/entrypoint.sh /opt/bitnami/scripts/redis-cluster/run.sh
State: Running
Started: Sat, 23 Jan 2021 17:19:39 +0000
Ready: True
Restart Count: 0
Liveness: exec [sh -c /scripts/ping_liveness_local.sh 5] delay=5s timeout=5s period=5s #success=1 #failure=5
Readiness: exec [sh -c /scripts/ping_readiness_local.sh 1] delay=5s timeout=1s period=5s #success=1 #failure=5
Environment:
REDIS_NODES: redis-redis-cluster-0.redis-redis-cluster-headless redis-redis-cluster-1.redis-redis-cluster-headless redis-redis-cluster-2.redis-redis-cluster-headless redis-redis-cluster-3.redis-redis-cluster-headless redis-redis-cluster-4.redis-redis-cluster-headless redis-redis-cluster-5.redis-redis-cluster-headless
REDISCLI_AUTH: <set to the key 'redis-password' in secret 'redis-redis-cluster'> Optional: false
REDIS_PASSWORD: <set to the key 'redis-password' in secret 'redis-redis-cluster'> Optional: false
REDIS_AOF_ENABLED: yes
REDIS_TLS_ENABLED: no
REDIS_PORT: 6379
Mounts:
/bitnami/redis/data from redis-data (rw)
/opt/bitnami/redis/etc/ from redis-tmp-conf (rw)
/opt/bitnami/redis/etc/redis-default.conf from default-config (rw,path="redis-default.conf")
/scripts from scripts (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-ccbhz (ro)
Conditions:
Type Status
Initialized True
Ready True
ContainersReady True
PodScheduled True
Volumes:
redis-data:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: redis-data-redis-redis-cluster-4
ReadOnly: false
scripts:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: redis-redis-cluster-scripts
Optional: false
default-config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: redis-redis-cluster-default
Optional: false
redis-tmp-conf:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
default-token-ccbhz:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-ccbhz
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events: <none>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment