Files
harmony/harmony_node_readiness/deploy/daemonset.yaml
Jean-Gabriel Gill-Couture 8f8bd34168
All checks were successful
Run Check Script / check (pull_request) Successful in 1m42s
feat: Deployment is now happening in harmony-node-healthcheck namespace
2026-02-26 16:39:26 -05:00

37 lines
916 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: 8080
hostPort: 8080
name: health-port
resources:
requests:
cpu: 10m
memory: 50Mi