Files
harmony/harmony_node_readiness/deploy/daemonset.yaml
Jean-Gabriel Gill-Couture f532ba2b40
All checks were successful
Run Check Script / check (pull_request) Successful in 1m27s
doc: Update node readiness readme and deployed port to 25001
2026-03-07 16:33:28 -05:00

37 lines
918 B
YAML

apiVersion: apps/v1
kind: DaemonSet
metadata:
name: node-healthcheck
namespace: harmony-node-healthcheck
spec:
selector:
matchLabels:
app: node-healthcheck
template:
metadata:
labels:
app: node-healthcheck
spec:
serviceAccountName: node-healthcheck-sa
hostNetwork: true
# This ensures the pod runs even if the node is already "unschedulable"
# so it can report the status correctly.
tolerations:
- operator: Exists
containers:
- name: checker
image: hub.nationtech.io/harmony/harmony-node-readiness-endpoint:latest
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
ports:
- containerPort: 25001
hostPort: 25001
name: health-port
resources:
requests:
cpu: 10m
memory: 50Mi