Files
geedge-jira/attachment/56336/sd-redis-describe-info.txt
2025-09-14 22:00:20 +00:00

166 lines
7.2 KiB
Plaintext

[root@pcap-tsgx03 ~]# kubectl describe pod -n tsg-os-system sanitydirectory-redis-master-7d87879d75-rmlr5
Name: sanitydirectory-redis-master-7d87879d75-rmlr5
Namespace: tsg-os-system
Priority: 0
Service Account: sanitydirectory-redis
Node: localhost/172.18.20.4
Start Time: Fri, 26 Apr 2024 09:02:26 +0500
Labels: app.kubernetes.io/component=master
app.kubernetes.io/instance=sanitydirectory
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=redis
helm.sh/chart=redis-6.2.5
pod-template-hash=7d87879d75
Annotations: checksum/configmap: a68f97198b240567f8745750e8c6b5be66f4af0eb1587277e4254da694337d76
checksum/health: 3ae4d04b642b99cdb7d8cb6706733742494e5fbb9121a0df89a61da46189a444
checksum/scripts: beb0bf36d86a0b90d127f932e9a61cfe823b54d872fe281964df032de2b9b3a6
checksum/secret: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
k8s.v1.cni.cncf.io/network-status:
[{
"name": "cnibr",
"interface": "eth0",
"ips": [
"10.42.1.7"
],
"mac": "d6:c6:23:0c:40:57",
"default": true,
"dns": {}
}]
k8s.v1.cni.cncf.io/networks-status:
[{
"name": "cnibr",
"interface": "eth0",
"ips": [
"10.42.1.7"
],
"mac": "d6:c6:23:0c:40:57",
"default": true,
"dns": {}
}]
Status: Running
IP: 10.42.1.7
IPs:
IP: 10.42.1.7
Controlled By: ReplicaSet/sanitydirectory-redis-master-7d87879d75
Containers:
redis:
Container ID: containerd://5e39c2f37dfe5c00d6f2c3443ef6874233106fe80fb620403c771d9288b300ce
Image: docker.io/bitnami/redis:6.2.5
Image ID: sha256:09d5fece74e7057d9db958ec40ac7c0670bcdb4d5f10677042200406adf51798
Port: 6379/TCP
Host Port: 0/TCP
Command:
/bin/bash
Args:
-c
/opt/bitnami/scripts/start-scripts/start-master.sh
State: Running
Started: Fri, 26 Apr 2024 14:40:01 +0500
Last State: Terminated
Reason: Error
Exit Code: 137
Started: Fri, 26 Apr 2024 14:30:52 +0500
Finished: Fri, 26 Apr 2024 14:40:01 +0500
Ready: False
Restart Count: 20
Liveness: exec [sh -c /health/ping_liveness_local.sh 20] delay=180s timeout=21s period=10s #success=1 #failure=5
Readiness: exec [sh -c /health/ping_readiness_local.sh 20] delay=180s timeout=21s period=10s #success=1 #failure=5
Startup: tcp-socket :redis delay=20s timeout=10s period=20s #success=1 #failure=10
Environment:
BITNAMI_DEBUG: false
REDIS_REPLICATION_MODE: master
ALLOW_EMPTY_PASSWORD: yes
REDIS_TLS_ENABLED: no
REDIS_PORT: 6379
Mounts:
/data from redis-data (rw)
/health from health (rw)
/opt/bitnami/extra/certs from cm-cache-extra-secrets (rw)
/opt/bitnami/extra/scripts from cm-cache-extra-scripts (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)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-4vx5t (ro)
metrics:
Container ID: containerd://33901e4987682d7c8784332ddf46e4a5612c97311e123ab505c56cc22471926b
Image: docker.io/bitnami/redis-exporter:1.50.0
Image ID: sha256:ae434d812b4136c2a777882d508b25f384be532ea3e3686b3836bec55cf7b1e8
Port: 9121/TCP
Host Port: 0/TCP
Command:
/bin/bash
-c
if [[ -f '/secrets/redis-password' ]]; then
export REDIS_PASSWORD=$(cat /secrets/redis-password)
fi
redis_exporter
State: Running
Started: Fri, 26 Apr 2024 09:02:27 +0500
Ready: True
Restart Count: 0
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: sanitydirectory-redis
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-4vx5t (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
start-scripts:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: sanitydirectory-redis-scripts
Optional: false
health:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: sanitydirectory-redis-health
Optional: false
config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: sanitydirectory-redis-configuration
Optional: false
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>
cm-cache-extra-scripts:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: cm-cache-extra-scripts
Optional: false
cm-cache-extra-secrets:
Type: Secret (a volume populated by a Secret)
SecretName: cm-cache-extra-secrets
Optional: false
redis-data:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
kube-api-access-4vx5t:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional: <nil>
DownwardAPI: true
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:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning Unhealthy 52m (x73 over 3h32m) kubelet Liveness probe failed: Timed out
Warning Unhealthy 29m (x26 over 138m) kubelet (combined from similar events): Readiness probe failed: LOADING Redis is loading the dataset in memory
Warning Unhealthy 6m39s (x104 over 3h32m) kubelet Readiness probe failed: Timed out
Warning Unhealthy 104s (x2426 over 5h30m) kubelet Readiness probe failed: LOADING Redis is loading the dataset in memory
[root@pcap-tsgx03 ~]#