You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using the CLI to bootstrap a new Flux installation on the cluster you can use different parameters to configure the installation. One parameter is --namespace <string:flux-system>. Starting the process without this parameter will automatically create the namespace flux-system. If you define a namespace like --namespace <flux-system> it won't create the namespace and abort the installation with a timeout:
The flux install --help clearly states that it will install Flux in a namespace If present (If present, the namespace scope for this CLI request (default "flux-system")). The behavior of Flux is absolutely correct.
Suggestion
My suggestion would be to check if a namespace, configured via a parameter, exists. If yes, install it. If not, create the namespace like you would without the parameter, and continue the installation. This would improve the UX and a manual creation is not needed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Problem
While using the CLI to bootstrap a new Flux installation on the cluster you can use different parameters to configure the installation. One parameter is
--namespace <string:flux-system>
. Starting the process without this parameter will automatically create the namespaceflux-system
. If you define a namespace like--namespace <flux-system>
it won't create the namespace and abort the installation with a timeout:The
flux install --help
clearly states that it will install Flux in a namespaceIf present
(If present, the namespace scope for this CLI request (default "flux-system")). The behavior of Flux is absolutely correct.Suggestion
My suggestion would be to check if a namespace, configured via a parameter, exists. If yes, install it. If not, create the namespace like you would without the parameter, and continue the installation. This would improve the UX and a manual creation is not needed.
Beta Was this translation helpful? Give feedback.
All reactions