Skip to content

Commit

Permalink
docs update (#139)
Browse files Browse the repository at this point in the history
* docs updates

---------

Co-authored-by: ranchodeluxe <greg.corradini@gmail.com>
  • Loading branch information
ranchodeluxe and ranchodeluxe authored Sep 3, 2024
1 parent 491e745 commit 8c1f812
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/autoscaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,13 @@ manual step that cannot be automated
export RELEASE_NS=eoapi
export SUPPORT_RELEASE_NAME=eoapi-support
export SUPPORT_RELEASE_NS=eoapi-support
PROMETHEUS_URL="http://${SUPPORT_RELEASE_NAME}-prometheus-server.${SUPPORT_RELEASE_NS}.svc.cluster.local"

helm upgrade --install \
-n $SUPPORT_RELEASE_NS --create-namespace $SUPPORT_RELEASE_NAME \
eoapi/eoapi-support --version 0.1.4 \
--set prometheus-adapter.prometheus.url='http://${SUPPORT_RELEASE_NAME}-prometheus-server.${SUPPORT_RELEASE_NS}.svc.cluster.local' \
--set grafana.datasources.datasources\\.yaml.datasources[0].url='http://${SUPPORT_RELEASE_NAME}-prometheus-server.${SUPPORT_RELEASE_NS}.svc.cluster.local' \
--set prometheus-adapter.prometheus.url=$PROMETHEUS_URL \
--set grafana.datasources.datasources\\.yaml.datasources[0].url=$PROMETHEUS_URL \
-f /tmp/values-overrides.yaml

helm upgrade --install \
Expand Down
5 changes: 3 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ export RELEASE_NAME=eoapi
export RELEASE_NS=eoapi
export SUPPORT_RELEASE_NAME=eoapi-support
export SUPPORT_RELEASE_NS=eoapi
PROMETHEUS_SERVER="http://${SUPPORT_RELEASE_NAME}-prometheus-server.${SUPPORT_RELEASE_NS}.svc.cluster.local"

helm upgrade --install \
-n $SUPPORT_RELEASE_NS --create-namespace $SUPPORT_RELEASE_NAME \
eoapi/eoapi-support --version 0.1.5 \
--set prometheus-adapter.prometheus.url='http://${SUPPORT_RELEASE_NAME}-prometheus-server.${SUPPORT_RELEASE_NS}.svc.cluster.local' \
--set grafana.datasources.datasources\\.yaml.datasources[0].url='http://${SUPPORT_RELEASE_NAME}-prometheus-server.${SUPPORT_RELEASE_NS}.svc.cluster.local' \
--set prometheus-adapter.prometheus.url=$PROMETHEUS_SERVER \
--set grafana.datasources.datasources\\.yaml.datasources[0].url=$PROMETHEUS_SERVER \
-f /Users/ranchodeluxe/apps/eoapi-k8s/helm-chart/eoapi-support/values.yaml

helm upgrade --install \
Expand Down

0 comments on commit 8c1f812

Please sign in to comment.