Rohan Kumar
04/03/2023, 6:36 AMWarning Unhealthy 51s (x139 over 35m) kubelet Liveness probe errored: rpc error: code = Unknown desc = deadline exceeded ("DeadlineExceeded"): context deadline exceeded
. Other pods with the same liveness probe restart when they fail. How to make it work?Gyula Fóra
04/03/2023, 6:38 AMRohan Kumar
04/03/2023, 6:41 AMjobManager:
podTemplate:
apiVersion: v1
kind: Pod
metadata:
labels: {}
spec:
containers:
- env:
- name: KAFKA_ADDRESS
value: 192.168.1.6:9096
image: image
livenessProbe:
exec:
command:
- java
- -cp
- /opt/health-status-assembly-0.1-SNAPSHOT.jar:/opt/flink/lib/*
- CheckHealth
failureThreshold: 1
initialDelaySeconds: 300
periodSeconds: 15
timeoutSeconds: 5
name: flink-main-container
initContainers:
- args:
- tar
- -xvf
- /cm/hadoop-conf/hadoop-conf.tar
- -C
- /opt/hadoop/conf
image: ubuntu
name: hadoop-conf
volumeMounts:
- mountPath: /cm/hadoop-conf
name: hadoop-conf-cm
- mountPath: /opt/hadoop/conf
name: hadoop-conf
volumes:
- configMap:
name: hadoop-conf
name: hadoop-conf-cm
- emptyDir: {}
name: hadoop-conf
Thanks for the reply @Gyula FóraGyula Fóra
04/03/2023, 6:47 AMRohan Kumar
04/03/2023, 7:00 AMGyula Fóra
04/03/2023, 7:02 AMGyula Fóra
04/03/2023, 7:02 AMRohan Kumar
04/03/2023, 7:05 AM