By: Praveen Srinivasan user 22 Oct 2020 at 3:33 a.m. CDT

1 Response
Praveen Srinivasan gravatar
I was looking for manual steps to install GLUU Kubernetes. I can see a executable python script that can do all manual step. But do we have a manual steps to install GLUU Kubernetes. When I run `./pygluu-kubernetes-linux.pyz install` am getting below error. I am using Python 3.7 in Ubuntu 16.04 ``` 2020-10-22 03:59:45,317 - gluu-common - INFO - Currently supported versions are : 2020-10-22 03:59:45,317 - gluu-common - INFO - Stable version : 4.2 2020-10-22 03:59:45,317 - gluu-common - INFO - Development version : 4.2.2_dev Traceback (most recent call last): File "/home/versa/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/pygluu/kubernetes/kubeapi.py", line 28, in load_kubernetes_config config.load_incluster_config() File "/home/versa/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/kubernetes/config/incluster_config.py", line 94, in load_incluster_config cert_filename=SERVICE_CERT_FILENAME).load_and_set() File "/home/versa/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/kubernetes/config/incluster_config.py", line 45, in load_and_set self._load_config() File "/home/versa/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/kubernetes/config/incluster_config.py", line 51, in _load_config raise ConfigException("Service host/port is not set.") kubernetes.config.config_exception.ConfigException: Service host/port is not set. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "./pygluu-kubernetes-linux.pyz/__main__.py", line 3, in <module> File "./pygluu-kubernetes-linux.pyz/_bootstrap/__init__.py", line 233, in bootstrap File "./pygluu-kubernetes-linux.pyz/_bootstrap/__init__.py", line 36, in run File "/home/user/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/pygluu/kubernetes/create.py", line 76, in main prompts.prompt() File "/home/user/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/pygluu/kubernetes/terminal/prompt.py", line 186, in prompt self.network() File "/home/user/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/pygluu/kubernetes/terminal/prompt.py", line 98, in network ip = gather_ip() File "/home/user/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/pygluu/kubernetes/terminal/helpers.py", line 39, in gather_ip kubernetes = Kubernetes() File "/home/user/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/pygluu/kubernetes/kubeapi.py", line 48, in __init__ load_kubernetes_config() File "/home/user/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/pygluu/kubernetes/kubeapi.py", line 34, in load_kubernetes_config config.load_kube_config() File "/home/user/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/kubernetes/config/kube_config.py", line 739, in load_kube_config persist_config=persist_config) File "/home/user/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/kubernetes/config/kube_config.py", line 695, in _get_kube_config_loader_for_yaml_file kcfg = KubeConfigMerger(filename) File "/home/user/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/kubernetes/config/kube_config.py", line 650, in __init__ self.load_config(path) File "/home/user/.shiv/pygluu-kubernetes-linux_92affed69cf566e09ce7d85c7bd7d397de7240d9fa6035e5717466341bb0f460/site-packages/kubernetes/config/kube_config.py", line 664, in load_config config_merged[item] = [] TypeError: 'NoneType' object does not support item assignment (GLUU) user@user:~/gluu_4.2$ ls ```

By Mohammad Abudayyeh staff 22 Oct 2020 at 3:44 a.m. CDT

Mohammad Abudayyeh gravatar
Hey Praveen , The cloud native edition requires a paid [support plan](https://www.gluu.org/pricing/) for help and queries. Hint : Make sure kubernetes is actually installed. There doesn't seem to be any kubernetes infrastructure where you are trying to install. ``` wget https://github.com/GluuFederation/cloud-native-edition/releases/download/v1.2.18/pygluu-kubernetes-linux.pyz && chmod u+x pygluu-kubernetes-linux.pyz && ./pygluu-kubernetes-linux.pyz install ```