stackabletech / stackablectl

Commandline tool to interact with a Stackable Data Platform
Other
8 stars 1 forks source link

Change default namespaces + Support skipping release installation #259

Closed sbernauer closed 11 months ago

sbernauer commented 1 year ago

The idea is to not implement this in the current version of stackablectl, but instead wait for the remake. This issue only tracks the requirements

As discussed on-site on 2023-05-09 we want

razvan commented 11 months ago

Looks good to me except that it's not clear how the namespace is specified. I hope that releases will use the existing --namespace command line argument. For demos a new config field probably. Correct ?

Techassi commented 11 months ago

We currently consider --operator-namespace and --demo-namespace.

sbernauer commented 11 months ago

Saschas and my's current state of suggestion

# All args are optional
stackablectl --operator-namespace stackable-operators operator in commons
stackablectl --operator-namespace stackable-operators release in 23.7
stackablectl --operator-namespace stackable-operators --product-namespace|-n stackable stack in monitoring
stackablectl --operator-namespace stackable-operators --product-namespace|-n stackable demo in lakehouse

# Output after installing demo/stack mentions: bla installed. Used "stackable stacklet ls -n <just-used-ns>" to list the deployed stacklets

# In case no namespace is given, stacklets from *all* namespaces will be listed. --all-namespaces will be removed
stackablectl stacklet ls --product-namespace|-n stackable

@razvan would that work for you?