website icon indicating copy to clipboard operation
website copied to clipboard

Request for adding notes for running 'helm' in Doc 'uninstall-pluggable-components'

Open showjason opened this issue 3 years ago • 6 comments

In the third step of Uninstall KubeSphere DevOps image

Command 'helm' is used, but if users execut these commands directly in kubernetes cluster which 'helm' is not installed in, -bash: helm: command not found will be prompted. To be more frendly, I think a command, such as kubectl exec -it ks-installer-6997c85f76-74gff -n kubesphere-system -- /bin/bash, should be added to note users that you can run command 'helm' in ks-install

showjason avatar Dec 23 '21 08:12 showjason

/area devops

Felixnoo avatar Dec 23 '21 09:12 Felixnoo

/cc @kubesphere/sig-devops Hi, please take a look at this issue and share your thoughts.

Felixnoo avatar Dec 23 '21 09:12 Felixnoo

Hi @showjason , I agree with you. It's useful if some environment has no helm and kubectl installed.

BTW, this approach is not unique to DevOps uninstallation, so I suggest that put this step to Prerequisites.

kubectl -n kubesphere-system exec -it deployment/ks-installer -- bash

What do @Felixnoo reckon?

JohnNiang avatar Dec 23 '21 09:12 JohnNiang

Hi @showjason , I agree with you. It's useful if some environment has no helm and kubectl installed.

BTW, this approach is not unique to DevOps uninstallation, so I suggest that put this step to Prerequisites.

kubectl -n kubesphere-system exec -it deployment/ks-installer -- bash

What do @Felixnoo reckon?

@JohnNiang Do you mean that users who don't have helm installed can run the command helm in the deployment ks-installer to uninstall any components that require the use of the command helm?

Felixnoo avatar Dec 23 '21 09:12 Felixnoo

Yup.

JohnNiang avatar Dec 23 '21 10:12 JohnNiang

/cc @kubesphere/sig-installation Hi, can you share your thoughts on this issue? I'm wondering whether we should encourage users to run the command helm in ks-installer to uninstall pluggable components?

Felixnoo avatar Dec 24 '21 01:12 Felixnoo