UNCLASSIFIED - NO CUI

Skip to content

kubernetes python module no longer being installed

Summary

The kubernetes python module is no longer being installed as a part of the container. I looked at the commit history and it doesn't look like it was ever explicitly installed and must have been an upstream dependency in one of the installed libraries. The kubernetes Python library is required for the k8s-hub container to be successful in a Kubernetes cluster.

Steps to reproduce

Bring up k8s-hub in a kubernetes cluster and look at the logs. You will see the following error:

ModuleNotFoundError: No module named 'kubernetes'

What is the current bug behavior?

the following error appears when the hub pod is starting up in kubernetes:

ModuleNotFoundError: No module named 'kubernetes'

What is the expected correct behavior?

The hub pod comes up without the error

Relevant logs and/or screenshots

ModuleNotFoundError: No module named 'kubernetes'

Possible fixes

Add kubernetes to the list of python modules installed in the Dockerfile

Tasks

  • Bug has been identified and corrected within the container

Please read the Iron Bank Documentation for more info

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information