Dynamically update server configuration content from S3
- Command optionDescription
for pod in $( kubectl get pods -o name -n pentaho-server ) do echo "Forwarding port on pod: $pod" pid=$( kubectl port-forward -n pentaho-server $pod 8090:8090 1>/dev/null & echo $! ) while ! nc -z localhost 8090; do sleep 0.1 done echo "Executing command ..." result=$( curl http://localhost:8090/<config_command> ) echo "Command result: $result" echo "Killing port forward pid: $pid" while $(kill -9 $pid 2>/dev/null); do sleep 1 done # sleep 60 done;
Last updated
Was this helpful?

