Every provenance line and manifest still named a DigitalOcean context, and the ARC values described a pool that died with it. A cluster gets a name here; the address it answers on belongs to the private record. Co-authored-by: Hanzo Dev <[email protected]>
85 lines
2.0 KiB
YAML
85 lines
2.0 KiB
YAML
# Generated from the live lux-system/lux-validator-exporter Deployment on lux-k8s
|
|
# by hack/live2values.py. Live is the source: a repo of hand-applied
|
|
# manifests has unknown currency, the running fleet does not.
|
|
replicas: 1
|
|
selectorLabels:
|
|
app: lux-validator-exporter
|
|
containerName: exporter
|
|
image:
|
|
repository: ghcr.io/luxfi/monitoring
|
|
tag: v0.1.1
|
|
pullPolicy: IfNotPresent
|
|
partOf: lux-validator-health
|
|
labels:
|
|
brand: lux
|
|
command:
|
|
- /validator-exporter
|
|
env:
|
|
- name: POLL_INTERVAL
|
|
value: '15'
|
|
- name: LISTEN_PORT
|
|
value: '9101'
|
|
- name: REPLICAS
|
|
value: '5'
|
|
resources:
|
|
limits:
|
|
cpu: 300m
|
|
memory: 128Mi
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
volumeMounts:
|
|
- mountPath: /tmp
|
|
name: tmp
|
|
livenessProbe:
|
|
failureThreshold: 3
|
|
httpGet:
|
|
path: /health
|
|
port: 9101
|
|
scheme: HTTP
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 30
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
readinessProbe:
|
|
failureThreshold: 3
|
|
httpGet:
|
|
path: /health
|
|
port: 9101
|
|
scheme: HTTP
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
readOnlyRootFilesystem: true
|
|
ports:
|
|
- containerPort: 9101
|
|
name: metrics
|
|
volumes:
|
|
- name: tmp
|
|
serviceAccountName: lux-validator-exporter
|
|
fsGroup: 65532
|
|
rollingUpdate:
|
|
maxSurge: 25%
|
|
maxUnavailable: 25%
|
|
topologySpread:
|
|
enabled: false
|
|
lifecycle: null
|
|
terminationGracePeriodSeconds: 30
|
|
# ghcr-luxfi as well as the chart's default. lux-system/ghcr-secret is the
|
|
# Darkhorse7stars token ghcr answers 403 for -- the same one documented in
|
|
# otel-agent.yaml -- and this was the last workload on the cluster naming
|
|
# it alone. luxfi/monitoring is not public (anonymous manifest GET is 403)
|
|
# so it needs a credential that works, and the pod running now only holds
|
|
# the image because pullPolicy is IfNotPresent and the node kept it.
|
|
# Left un-automated deliberately: this corrects the declaration without
|
|
# forcing a rollout onto a pull nobody has demonstrated yet.
|
|
imagePullSecrets:
|
|
- name: ghcr-secret
|
|
- name: ghcr-luxfi
|