Closed clubanderson closed 1 week ago
Some comments on that script.
mspreitz@mjs13 ~ % which wrap-cmd
wrap-cmd not found
mspreitz@mjs13 ~ % which watch
watch not found
Also, that wait-for-cmd invocation is like the following, as far as shell grammar is concerned. Not necessarily incorrect, but misleading to the eye.
mspreitz@mjs13 ~ % echo 'abc'{def}'ghi'
abc{def}ghi
Also, I started in this state:
mspreitz@mjs13 kubestellar % yq .preferences ${KUBECONFIG:-$HOME/.kube/config}
extensions:
- extension:
data:
kflex-initial-ctx-name: kind-hub
metadata:
creationTimestamp: null
name: kflex-config-extension-name
name: kflex-config-extension-name
That led the script to just fail in the kflex ctx
commands. I have release 0.6.3 of kflex installed.
FYI, the Getting Started page of the KubeStellar website has been updated to include clearing out that troublesome bit of state among the initial cleanup commands.
Also, since this script does not set -e
, the failure of the wait-for-cmd invocation does not stop the script from continuing.
Remember that on Linux, bash
is in /usr/bin
. That's why I start with #!/usr/bin/env bash
.
Describe the bug
running demo environment setup. kflex ctx its1 will timeout just as its1 is ready
Steps To Reproduce
Expected Behavior
Additional Context
No response