kustomization.yaml
Download kustomization.yaml as it is.
# Hour Advantage on Kubernetes: gateway Deployment and a Valkey, behind a Service of type# LoadBalancer (the device ports), external Postgres. See the Kubernetes guide.## kubectl create namespace houradvantage # once; not managed here# kubectl -n houradvantage create secret ... # once; the Kubernetes guide, Run it# kubectl kustomize . # render, in the folder with these files# kubectl apply -k . # apply## The namespace and the Secrets are not resources here, so `kubectl delete# -k` leaves them (and whatever else is in the namespace) alone.apiVersion: kustomize.config.k8s.io/v1beta1kind: Kustomization
namespace: houradvantage
resources: - valkey-statefulset.yaml - gateway-deployment.yaml - gateway-service.yaml - gateway-pdb.yaml - gateway-hpa.yaml - devices-service.yaml - networkpolicy.yaml - setup-job.yaml
# On every object, the generated ConfigMap included; selectors are left as# they are in the files.labels: - pairs: app.kubernetes.io/name: houradvantage app.kubernetes.io/part-of: houradvantage includeSelectors: false
# Name-hashed, so a change to the file makes a new ConfigMap for the Job.configMapGenerator: - name: houradvantage-setup files: - setup.toml=houradvantage-setup.toml
images: # The Hour Advantage image from your distribution. Push it to a registry your # cluster pulls from and put that name here (or load it onto every node # under this name). - name: houradvantage newName: houradvantage newTag: "0.1.0"