Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-external-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
kubectl create namespace monitoring
helm install prometheus-operator prometheus-community/kube-prometheus-stack --namespace monitoring --set prometheusOperator.createCustomResource=false --set defaultRules.create=false --set alertmanager.enabled=false --set prometheus.enabled=false --set grafana.enabled=false
helm install prometheus-operator prometheus-community/kube-prometheus-stack --version 89.2.4 --namespace monitoring --set prometheusOperator.createCustomResource=false --set defaultRules.create=false --set alertmanager.enabled=false --set prometheus.enabled=false --set grafana.enabled=false

- name: Install KEDA Autoscaler
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
kubectl create namespace monitoring
helm install prometheus-operator prometheus-community/kube-prometheus-stack --namespace monitoring --set prometheusOperator.createCustomResource=false --set defaultRules.create=false --set alertmanager.enabled=false --set prometheus.enabled=false --set grafana.enabled=false
helm install prometheus-operator prometheus-community/kube-prometheus-stack --version 89.2.4 --namespace monitoring --set prometheusOperator.createCustomResource=false --set defaultRules.create=false --set alertmanager.enabled=false --set prometheus.enabled=false --set grafana.enabled=false

- name: Install KEDA Autoscaler
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ helm repo add prometheus-community https://prometheus-community.github.io/helm-c
helm repo update
kubectl create namespace monitoring
helm install prometheus-operator prometheus-community/kube-prometheus-stack \
--version 89.2.4 \
--namespace monitoring \
--set prometheusOperator.createCustomResource=false \
--set defaultRules.create=false \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Currently, SuperSONIC supports the following functionality:
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
kubectl create namespace monitoring
helm install prometheus-operator prometheus-community/kube-prometheus-stack --namespace monitoring --set prometheusOperator.createCustomResource=false --set defaultRules.create=false --set alertmanager.enabled=false --set prometheus.enabled=false --set grafana.enabled=false
helm install prometheus-operator prometheus-community/kube-prometheus-stack --version 89.2.4 --namespace monitoring --set prometheusOperator.createCustomResource=false --set defaultRules.create=false --set alertmanager.enabled=false --set prometheus.enabled=false --set grafana.enabled=false
```
</details>
- [KEDA](https://keda.sh) CRDs (only if using autoscaling)
Expand Down
10 changes: 5 additions & 5 deletions docs/configuration-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ default configuration completely (the configuration file must be supplied as a C
configmap_name: external-envoy-config
configmap_key: envoy.yaml

.. warning::

``scaleFromZero.enabled`` cannot be used with ``envoy.external_config.load_from_configmap``.
Scale-from-zero injects Envoy clusters and a Lua filter that an external ConfigMap would replace.
``scaleFromZero`` and the prometheus-based rate limiter work with an external
configuration only if it carries the clusters, Lua filter and routes that the generated
configuration would have added (see ``templates/envoy/configmaps.yaml``); the chart does
not check for them.

5. (Optional) Configure Rate Limiting in Envoy Proxy
======================================================
Expand Down Expand Up @@ -408,7 +408,7 @@ count. Helm upgrades keep the live ScaledObject ``minReplicaCount`` so they do n
interrupt an active hold. The hold deadline is stored as an annotation on the
ScaledObject, so the admission sidecars of multiple Envoy replicas share one hold
and none can release a peer's active hold. ``scaleFromZero`` requires ``keda.enabled`` and
``envoy.enabled``, and cannot be used with an external Envoy ConfigMap.
``envoy.enabled``.

Do not set ``keda.zeroIdleReplicas: true`` together with ``minReplicaCount: 0``.
``zeroIdleReplicas`` sets KEDA ``idleReplicaCount`` to 0 and cannot scale from 0 back to 1
Expand Down
2 changes: 1 addition & 1 deletion helm/supersonic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Currently, SuperSONIC supports the following functionality:
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
kubectl create namespace monitoring
helm install prometheus-operator prometheus-community/kube-prometheus-stack --namespace monitoring --set prometheusOperator.createCustomResource=false --set defaultRules.create=false --set alertmanager.enabled=false --set prometheus.enabled=false --set grafana.enabled=false
helm install prometheus-operator prometheus-community/kube-prometheus-stack --version 89.2.4 --namespace monitoring --set prometheusOperator.createCustomResource=false --set defaultRules.create=false --set alertmanager.enabled=false --set prometheus.enabled=false --set grafana.enabled=false
```
</details>
- [KEDA](https://keda.sh) CRDs (only if using autoscaling)
Expand Down
3 changes: 0 additions & 3 deletions helm/supersonic/templates/envoy/admission.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
{{- if not .Values.envoy.enabled }}
{{- fail "scaleFromZero.enabled requires envoy.enabled" }}
{{- end }}
{{- if .Values.envoy.external_config.load_from_configmap }}
{{- fail "scaleFromZero.enabled is incompatible with envoy.external_config.load_from_configmap" }}
{{- end }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down
2 changes: 1 addition & 1 deletion helm/supersonic/templates/envoy/configmaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ data:
{{- end }}
---

{{- if and (include "supersonic.luaFilterEnabled" .) (not .Values.envoy.external_config.load_from_configmap) }}
{{- if (include "supersonic.luaFilterEnabled" .) }}
{{- /* Create a ConfigMap for the Lua filter */}}
apiVersion: v1
kind: ConfigMap
Expand Down
Loading