Lucas
Lucas

Reputation: 37

Running helm list -n <namespace> from a python script

I am trying to create a version listing script for my testers to run to check what versions of software are installed in our local Kubernetes clusters. The way we check now is open kubectl shell in Rancher, run 'helm list -n ' for a few different namespaces, and that lists the versions.

I am trying to write a python script that does this automatically so they just run the script and it lists all the installed versions, however I cannot find anything the k8s python library to directly run kubectl shell commands. Anyone have any suggestions? Thanks!

Upvotes: -1

Views: 44

Answers (0)

Related Questions