Skip to content

Commit

Permalink
DOC-760 Add extra filters to command that fetches loadbalancer addres…
Browse files Browse the repository at this point in the history
…ses (#951)
  • Loading branch information
JakeSCahill authored Jan 17, 2025
1 parent 1189ab2 commit 27a7db2
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,15 @@ Helm::
+
--
```bash
helm upgrade redpanda redpanda/redpanda --namespace <namespace> --set $(kubectl get svc --namespace <namespace> -o jsonpath='{"external.addresses={"}{ range .items[*]}{.status.loadBalancer.ingress[0].ip }{.status.loadBalancer.ingress[0].hostname}{","}{ end }{"}\n"}') --reuse-values --wait
helm upgrade redpanda redpanda/redpanda \
--namespace <namespace> \
--set $(
kubectl get svc \
--namespace <namespace> \
--selector "app.kubernetes.io/name=redpanda,app.kubernetes.io/instance=redpanda" \
-o jsonpath='{"external.addresses={"}{ range .items[*]}{.status.loadBalancer.ingress[0].ip }{.status.loadBalancer.ingress[0].hostname}{","}{ end }{"}\n"}') \
--reuse-values \
--wait
```
--
======
Expand Down

0 comments on commit 27a7db2

Please sign in to comment.