-
Notifications
You must be signed in to change notification settings - Fork 8
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
Initial changes for KEDA - Pod Autoscaling #8
base: main
Are you sure you want to change the base?
Conversation
## KEDA RabbitMQ Configuration | ||
## ------------------------------------------------------------------------------- | ||
|
||
keda: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add an enabled here (default false), so we can use that to add the keda pieces.
name: "rabbitmq" | ||
## Base64 rabbitmq host path in the form of PROTOCOL://<RABBITMQ_USER>:RABBITMQ_PASSWORD@RABBITMQ_HOST/vhost | ||
## e.g. echo -n 'http://guest:[email protected]:15672//' | base64 | ||
host: aHR0cDovL2d1ZXN0Omd1ZXN0QHBlY2FuLXJhYmJpdG1xLmRlZmF1bHQ6MTU2NzIvLw== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of hardcoding it in the url, can we compute this in the secret?
metadata: | ||
name: {{ .Values.keda.rabbitmq.name }}-secret | ||
data: | ||
host: {{ .Values.keda.rabbitmq.host }} # base64 encoded value of connection string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we can use:
{{ include "pecan.rabbitmq" . | b64enc }}
@@ -0,0 +1,31 @@ | |||
{{- if .Values.models }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we add a {{ if .Values.keda.enabled }}
then we can disable this and only add these resources if they have keda installed. Otherwise we are forcing keda to be installed.
@@ -9,7 +9,10 @@ Climate change science has witnessed an explosion in the amount and types of dat | |||
```bash | |||
$ helm repo add ncsa https://opensource.ncsa.illinois.edu/charts/ | |||
$ helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami | |||
$ helm repo add kedacore https://kedacore.github.io/charts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we create a subsection and for auto-scaling. And explain that for this to work they need to install keda first, and enable it in the pecan helm chart as well.
No description provided.