Closed ttwd80 closed 3 months ago
The command kubectl get nodes -o 'jsonpath={.items[*].spec.podCIDR}' is executed in a loop. When I run vagrant up the my screen is filled with:
kubectl get nodes -o 'jsonpath={.items[*].spec.podCIDR}'
vagrant up
stack: ++ kubectl get nodes -o 'jsonpath={.items[*].spec.podCIDR}' stack: ++ tr ' ' , stack: + trusted_proxies= stack: + '[' '' '!=' '' ']' stack: ++ kubectl get nodes -o 'jsonpath={.items[*].spec.podCIDR}' stack: ++ tr ' ' , stack: + trusted_proxies= stack: + '[' '' '!=' '' ']' stack: ++ kubectl get nodes -o 'jsonpath={.items[*].spec.podCIDR}' stack: ++ tr ' ' , stack: + trusted_proxies= stack: + '[' '' '!=' '' ']'
To reduce the verbosity.
Fixes: #
Tested on my on machine. It worked before the change. It worked after the change with less output.
stack: + local loadbalancer_ip=192.168.56.5 stack: + trusted_proxies= stack: + '[' '' '!=' '' ']' stack: ++ kubectl get nodes -o 'jsonpath={.items[*].spec.podCIDR}' stack: ++ tr ' ' , stack: + trusted_proxies= stack: + sleep 5 stack: + '[' '' '!=' '' ']' stack: ++ kubectl get nodes -o 'jsonpath={.items[*].spec.podCIDR}' stack: ++ tr ' ' , stack: + trusted_proxies= stack: + sleep 5 stack: + '[' '' '!=' '' ']' stack: ++ tr ' ' , stack: ++ kubectl get nodes -o 'jsonpath={.items[*].spec.podCIDR}' stack: + trusted_proxies=10.42.0.0/24 stack: + sleep 5 stack: + '[' 10.42.0.0/24 '!=' '' ']' stack: + helm install tink-stack oci://ghcr.io/tinkerbell/charts/stack --version 0.4.5 --create-namespace --namespace tink-system --wait --set 'smee.trustedProxies={10.42.0.0/24}' --set 'hegel.trustedProxies={10.42.0.0/24}' --set stack.kubev
None
I have:
Description
The command
kubectl get nodes -o 'jsonpath={.items[*].spec.podCIDR}'
is executed in a loop. When I runvagrant up
the my screen is filled with:Why is this needed
To reduce the verbosity.
Fixes: #
How Has This Been Tested?
Tested on my on machine. It worked before the change. It worked after the change with less output.
How are existing users impacted? What migration steps/scripts do we need?
None
Checklist:
I have: