File tree Expand file tree Collapse file tree
website/docs/observability/kubecost Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,12 +12,13 @@ $ aws ecr-public get-login-password \
1212 --region us-east-1 | helm registry login \
1313 --username AWS \
1414 --password-stdin public.ecr.aws
15+ $ ESCAPED_CIDRS=" ${INBOUND_CIDRS// ,/ \\ ,} "
1516$ helm upgrade --install kubecost oci://public.ecr.aws/kubecost/cost-analyzer \
1617 --version " ${KUBECOST_CHART_VERSION} " \
1718 --namespace " kubecost" --create-namespace \
1819 --values https://raw.githubusercontent.com/kubecost/cost-analyzer-helm-chart/v${KUBECOST_CHART_VERSION} /cost-analyzer/values-eks-cost-monitoring.yaml \
1920 --values ~ /environment/eks-workshop/modules/observability/kubecost/values.yaml \
20- --set " service.annotations.service\\ .beta\\ .kubernetes\\ .io/load-balancer-source-ranges" =" $INBOUND_CIDRS " \
21+ --set " service.annotations.service\\ .beta\\ .kubernetes\\ .io/load-balancer-source-ranges" =" $ESCAPED_CIDRS " \
2122 --wait
2223NAME: kubecost
2324LAST DEPLOYED: Thu Jun 13 17:48:55 2024
You can’t perform that action at this time.
0 commit comments