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]>
78 lines
2.3 KiB
YAML
78 lines
2.3 KiB
YAML
# Generated from the live lux-ns/gateway 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.
|
|
# ZERO, deliberately. This gateway has never served a client.
|
|
#
|
|
# Measured over the full 8-day lifetime of both pods: 74,788 request lines,
|
|
# and every one of them is the kubelet's own `GET /__health`. Not one
|
|
# non-probe request. It also has NO route pointing at it — 18 IngressRoute /
|
|
# Ingress backends across lux-k8s name `api-gateway-gateway`, none name this —
|
|
# and nothing in any ConfigMap or Secret on any of the three clusters resolves
|
|
# `gateway.lux-ns`.
|
|
#
|
|
# It is not harmless while it runs. Its config declares 59 endpoints, 8 of them
|
|
# under `/ext/` — the prefix luxd retired in favour of `/v1/` — so the one live
|
|
# thing still advertising that shape is a gateway nobody calls. That is a good
|
|
# way for `/ext/` to keep finding its way back into client configs.
|
|
#
|
|
# Scaled, not deleted: the declaration stays, so turning it back on is one line
|
|
# and a sync if something turns out to need it.
|
|
# Automated, so that 'scaled, not deleted' is true of the cluster and not
|
|
# only of this file. The Deployment and Service it describes are absent
|
|
# live, which is why CD reports this application Missing; applying it at
|
|
# replicas 0 restores the declaration and starts no pod.
|
|
cd:
|
|
automated: false
|
|
|
|
replicas: 0
|
|
selectorLabels:
|
|
app: gateway
|
|
image:
|
|
repository: ghcr.io/hanzoai/gateway
|
|
digest: sha256:017dd6989257c5e86eefba734d5ecb16e1cf4ce2539ef229508156a1ee45b913
|
|
pullPolicy: Always
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 256Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
volumeMounts:
|
|
- mountPath: /etc/gateway
|
|
name: config
|
|
livenessProbe:
|
|
failureThreshold: 3
|
|
httpGet:
|
|
path: /__health
|
|
port: 8080
|
|
scheme: HTTP
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 15
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
readinessProbe:
|
|
failureThreshold: 3
|
|
httpGet:
|
|
path: /__health
|
|
port: 8080
|
|
scheme: HTTP
|
|
initialDelaySeconds: 3
|
|
periodSeconds: 5
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
ports:
|
|
- containerPort: 8080
|
|
volumes:
|
|
- configMap:
|
|
name: gateway-config
|
|
name: config
|
|
rollingUpdate:
|
|
maxSurge: 25%
|
|
maxUnavailable: 25%
|
|
topologySpread:
|
|
enabled: false
|
|
lifecycle: null
|
|
terminationGracePeriodSeconds: 30
|
|
imagePullSecrets: []
|