Commit Graph

26 Commits

Author SHA1 Message Date
Eric Paulsen 0e6361383c
fix(helm): change proxy to wsproxy (#7499) 2023-05-11 17:55:04 +00:00
Dean Sheather 667d9a7557
chore: add workspaceProxy to helm chart (#7398) 2023-05-05 07:07:49 +10:00
Eric Paulsen c37f22ba78
feat(helm): add labels for coder pod (#7139)
* feat(helm): add labels for coder pod

* feedback & syntax fix

* ordering

* fix: notation
2023-04-14 18:55:38 +00:00
Eric Paulsen 2da0702009
fix(helm): missing templating for deployment labels (#6869)
Co-authored-by: Dean Sheather <dean@deansheather.com>
2023-04-06 17:03:21 +10:00
Eric Paulsen c71fa498b5
feat: podAnnotations (#6703)
* feat: podAnnotations

* rm: test values

* feedback

* fix: unknown revision
2023-03-22 14:35:24 -04:00
Michael H f59bf732c9
feat: Add ability to configure coder container lifecycle hooks in helm chart (#6432) 2023-03-17 00:55:24 +00:00
Eric Paulsen 22f6400ea5
helm: add deployment securityContext values (#6136)
* helm: add deployment securityContext values

* rm: podSecurityContext
2023-02-09 13:26:35 -05:00
Spike Curtis ac4adabb0a
feat: set service account name in helm (#5913)
Signed-off-by: Spike Curtis <spike@coder.com>
2023-01-31 10:35:32 +04:00
mh013370 d5d9cc8d8a
feat: add init containers to the helm chart (#5874)
* add init containers to coder deployment

* fix formatting issues
2023-01-29 20:02:55 -06:00
Colin Adler 8819f798f8
fix(helm): revert `app.kubernetes.io/part-of` as a selector (#5806)
Deployment selectors are immutable!
2023-01-20 05:31:05 +00:00
Colin Adler 2effea5806
fix(helm): use correct prometheus port (#5644) 2023-01-10 10:16:56 -06:00
Dean Sheather 88d3496a99
fix: fix helm prometheus block causing failures (#5458) 2022-12-19 04:48:08 +10:00
Dean Sheather 31d38d4246
feat: allow http and https listening simultaneously (#5365) 2022-12-15 20:09:19 +00:00
Marcin Tojek 916ed284ce
feat: Define Prometheus port in the pod spec (#5213)
* WIP

* portSpec

* Done

* Docs

* Fix: env
2022-12-01 15:43:32 +00:00
Kyle Carberry 2a6fff9227
fix: Set a default `CODER_ACCESS_URL` in Helm (#5041)
* fix: Set a default `CODER_ACCESS_URL` in Helm

This allows for a simple `helm apply` to create a full Coder
deployment that works for creating workspaces.

* Update docs
2022-11-13 14:49:57 -06:00
Eric Paulsen 18a97c6f59
helm: add affinity, nodeSelectors, tolerations (#4763) 2022-11-09 22:08:44 +00:00
Eric Paulsen fba03aea6e
helm: add imagePullSecret for air-gapped cust's (#4700)
* helm: add imagePullSecret for air-gapped cust's

* helm: pullSecrets array

* fix: tag

* indentation

Co-authored-by: Dean Sheather <dean@deansheather.com>

* array

Co-authored-by: Dean Sheather <dean@deansheather.com>

Co-authored-by: Dean Sheather <dean@deansheather.com>
2022-10-24 13:24:21 -04:00
Eric Paulsen 72288c3685
fix: coder resource template (#4681) 2022-10-21 10:07:05 -05:00
Eric Paulsen fbbecf0846
helm: add sa annotations (#4640)
* helm: add sa annotations

* rm: test annotation

* fix: labels bracket

Co-authored-by: Dean Sheather <dean@deansheather.com>

Co-authored-by: Dean Sheather <dean@deansheather.com>
2022-10-19 13:49:48 +00:00
Kyle Carberry 4e44716b0c
docs: add high availability (#4583)
- Rename `CODER_DERP_SERVER_RELAY_ADDRESS`

Co-authored-by: Ammar Bandukwala <ammar@ammar.io>
2022-10-17 14:27:38 -05:00
Kyle Carberry 2ba4a62a0d
feat: Add high availability for multiple replicas (#4555)
* feat: HA tailnet coordinator

* fixup! feat: HA tailnet coordinator

* fixup! feat: HA tailnet coordinator

* remove printlns

* close all connections on coordinator

* impelement high availability feature

* fixup! impelement high availability feature

* fixup! impelement high availability feature

* fixup! impelement high availability feature

* fixup! impelement high availability feature

* Add replicas

* Add DERP meshing to arbitrary addresses

* Move packages to highavailability folder

* Move coordinator to high availability package

* Add flags for HA

* Rename to replicasync

* Denest packages for replicas

* Add test for multiple replicas

* Fix coordination test

* Add HA to the helm chart

* Rename function pointer

* Add warnings for HA

* Add the ability to block endpoints

* Add flag to disable P2P connections

* Wow, I made the tests pass

* Add replicas endpoint

* Ensure close kills replica

* Update sql

* Add database latency to high availability

* Pipe TLS to DERP mesh

* Fix DERP mesh with TLS

* Add tests for TLS

* Fix replica sync TLS

* Fix RootCA for replica meshing

* Remove ID from replicasync

* Fix getting certificates for meshing

* Remove excessive locking

* Fix linting

* Store mesh key in the database

* Fix replica key for tests

* Fix types gen

* Fix unlocking unlocked

* Fix race in tests

* Update enterprise/derpmesh/derpmesh.go

Co-authored-by: Colin Adler <colin1adler@gmail.com>

* Rename to syncReplicas

* Reuse http client

* Delete old replicas on a CRON

* Fix race condition in connection tests

* Fix linting

* Fix nil type

* Move pubsub to in-memory for twenty test

* Add comment for configuration tweaking

* Fix leak with transport

* Fix close leak in derpmesh

* Fix race when creating server

* Remove handler update

* Skip test on Windows

* Fix DERP mesh test

* Wrap HTTP handler replacement in mutex

* Fix error message for relay

* Fix API handler for normal tests

* Fix speedtest

* Fix replica resend

* Fix derpmesh send

* Ping async

* Increase wait time of template version jobd

* Fix race when closing replica sync

* Add name to client

* Log the derpmap being used

* Don't connect if DERP is empty

* Improve agent coordinator logging

* Fix lock in coordinator

* Fix relay addr

* Fix race when updating durations

* Fix client publish race

* Run pubsub loop in a queue

* Store agent nodes in order

* Fix coordinator locking

* Check for closed pipe

Co-authored-by: Colin Adler <colin1adler@gmail.com>
2022-10-17 13:43:30 +00:00
Dean Sheather 6325a9ea91
feat: support multiple certificates in coder server and helm (#4150) 2022-10-04 21:45:21 +10:00
Eric Paulsen aa3812ff4e
add: deployment annotations (#4342) 2022-10-03 13:31:34 -05:00
Dean Sheather 46bf265e9b
fix: prevent running helm chart without valid tag (#3770)
Co-authored-by: Eric Paulsen <ericpaulsen@coder.com>
2022-09-02 21:01:30 +10:00
Dean Sheather b9b9c2fb9f
fix: mount TLS secret in helm chart (#3717) 2022-08-27 15:03:10 +00:00
Dean Sheather 14a9576b77
Auto import kubernetes template in Helm charts (#3550) 2022-08-26 05:32:35 +10:00
Renamed from helm/templates/deployment.yaml (Browse further)