Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to install universal control-plane on Kubernetes #5907

Closed
lahabana opened this issue Feb 3, 2023 · 1 comment · Fixed by #5913
Closed

ability to install universal control-plane on Kubernetes #5907

lahabana opened this issue Feb 3, 2023 · 1 comment · Fixed by #5913
Assignees
Labels
area/installation kind/feature New feature triage/accepted The issue was reviewed and is complete enough to start working on it

Comments

@lahabana
Copy link
Contributor

lahabana commented Feb 3, 2023

Description

It's useful for people to be able to run universal control-plane on Kubernetes.
In that case they usually back it with postgres

I think we should add a controlPlane.environment with a default of kubernetes.

In that case you likely want to add to the CP startup env vars:

- name: KUMA_ENVIRONMENT
  value: "universal"
- name: KUMA_STORE_TYPE
  value: "postgres"
- name: KUMA_STORE_POSTGRES_HOST
  value: {{ .Values.postgres.host }}
- name: KUMA_STORE_POSTGRES_PORT
  value: "{{ .Values.postgres.port }}"
- name: KUMA_STORE_POSTGRES_USER
  value: "{{ .Values.postgres.user }}"
- name: KUMA_STORE_POSTGRES_DB_NAME
  value: "{{ .Values.postgres.db }}"

And then you'll want to guard installing the webhooks and the crd with controlPlane.environment==kubernetes.

@lahabana lahabana added triage/pending This issue will be looked at on the next triage meeting kind/feature New feature area/installation labels Feb 3, 2023
@slonka slonka self-assigned this Feb 3, 2023
@jakubdyszkiewicz jakubdyszkiewicz added triage/accepted The issue was reviewed and is complete enough to start working on it and removed triage/pending This issue will be looked at on the next triage meeting labels Feb 6, 2023
@jakubdyszkiewicz
Copy link
Contributor

Triage: the scope of this ticket is to run Global CP on Universal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/installation kind/feature New feature triage/accepted The issue was reviewed and is complete enough to start working on it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants