Skip to content

Add Helm chart for Kubernetes deployment#7

Open
megative wants to merge 2 commits into
roxy-wi:mainfrom
megative:feat/helm-chart
Open

Add Helm chart for Kubernetes deployment#7
megative wants to merge 2 commits into
roxy-wi:mainfrom
megative:feat/helm-chart

Conversation

@megative

Copy link
Copy Markdown
Contributor

What

Helm chart at helm/incidentrelay: three deployments (web, scheduler, telegram) from the single image switched by INCIDENTRELAY_SERVICE, Service + optional Ingress, /healthz//readyz probes with a startup probe covering entrypoint migrations, config rendered from values into a Secret (existingConfigSecret supported), SQLite on a PVC or external PostgreSQL. Deployments default to the Recreate update strategy to protect the shared SQLite volume during rollouts. README gets a "Kubernetes (Helm)" install section.

Known caveats are documented in values/NOTES/README: no public image is published yet (image.repository must point at your own build), SQLite is single-node only, and migrations run on web pod start so web.replicaCount should stay at 1 unless migrations are moved out of band.

Tests

No backend code is touched, so no tests are added: the change is deployment tooling only. Validated with helm lint / helm template across value combinations and on a live kind cluster: all three workloads become Ready, probes pass, an alert sent through a real Alertmanager webhook receiver was ingested via a route intake token and acknowledged/resolved, and the SQLite database survives pod recreation on the PVC.

@Aidaho12

Copy link
Copy Markdown
Member

Hello, have you tried to run on kubernetes?

@megative

Copy link
Copy Markdown
Contributor Author

Hi, just locally on a kind cluster. The web has started however I'd like to make some additional tests since I've found problem with alerting in current realization just after creating of PR. Let's keep it as draft for a while because I need couple of days to return to it.

I'll notify you additionaly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants