Ports the rest of the homelab's stack: external-secrets, harbor, jenkins, postgresql, redis, victoria-metrics-single, vmagent, node-exporter and grafana. All nine verified with helm template. Most are the homelab's values with storage moved from local-path to standard-rwo and hostnames rebuilt on the reserved ingress IP. vmagent and node-exporter are unchanged outright — everything in them is addressed by cluster DNS, namespace or container port, none of which differs here. Harbor is the substantial one. The homelab serves it over plain HTTP and makes containerd accept that by hand-editing hosts.toml on the node; GKE nodes are managed and replaced, so that edit cannot survive. Instead the node pool was told at creation to trust a private CA for exactly this hostname, and cert-manager now signs Harbor's certificate from that same CA via an ingress-shim annotation. certSource is "secret" rather than the chart's "auto", which would self-sign a certificate nothing trusts. externalURL moves to https to match, since Harbor hands that URL to docker clients and a mismatch surfaces as registry errors. Jenkins drops secondaryingress, which exists in the homelab only to serve its Tailscale hostname. Its plugin pins are carried over deliberately: each fixes a failure whose symptom points somewhere else, above all the kubernetes/kubernetes-client-api pairing, without which agents never come online and builds hang at "Still waiting to schedule task". Postgres and Redis keep the homelab's deliberately small memory settings. Those were chosen for an 8GB node under pressure, and while this cluster has room, a bigger cache buys nothing for a handful of small tools. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LEsTefWWifp4ikvhHF5s6N
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
# Redis backing toolshed's managed cache add-on, on GKE.
|
|
#
|
|
# Its own namespace, same reasoning as postgresql:
|
|
#
|
|
# redis.redis.svc.cluster.local:6379
|
|
#
|
|
# Hand-written chart, not Bitnami's, for the same reason as postgresql.
|
|
#
|
|
# Read the chart's own values.yaml before changing anything about
|
|
# authentication. The absence of requirepass is deliberate and
|
|
# security-relevant, not an oversight: access is defined by an ACL file
|
|
# seeded from Vault through External Secrets
|
|
# (secretstores/toolshed-redis-credentials.yaml). The Secret must exist
|
|
# before this pod starts, or the init container cannot seed that file.
|
|
|
|
fullnameOverride: redis
|
|
|
|
image:
|
|
repository: redis
|
|
tag: "7-alpine"
|
|
pullPolicy: IfNotPresent
|
|
|
|
existingSecret: redis-credentials
|
|
|
|
persistence:
|
|
enabled: true
|
|
storageClass: standard-rwo
|
|
# Holds the ACL file and nothing else worth keeping, since snapshotting
|
|
# is off. 1Gi is already far more than needed.
|
|
size: 1Gi
|
|
|
|
config:
|
|
# Kept at the homelab's value. It was chosen there to fit an 8GB node
|
|
# under pressure, and while this cluster has room, a bigger cache buys
|
|
# nothing for a handful of small internal tools.
|
|
maxmemory: 48mb
|
|
maxmemoryPolicy: allkeys-lru
|
|
save: ""
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 25m
|
|
memory: 32Mi
|
|
limits:
|
|
memory: 96Mi
|