Skip to content

GluuFederation/cloud-native-edition

Repository files navigation

microk8s minikube awseks googlegke testcases

pygluu-kubernetes

Kubernetes recipes

Build pygluu-kubernetes.pyz manually

Prerequisites

  1. Python 3.6+.
  2. Python pip3 package.

Installation

Standard Python package

  1. Create virtual environment and activate:

    python3 -m venv .venv
    source .venv/bin/activate
  2. Install the package:

    make install
    

    This command will install executable called pygluu-kubernetes and pygluu-kubernetes-gui available in virtual environment PATH.

Python zipapp

  1. Install shiv using pip3:

    pip3 install shiv
  2. Install the package:

    make zipapp

    This command will generate executable called pygluu-kubernetes.pyz under the same directory.

    make guizipapp

    This command will generate executable called pygluu-kubernetes-gui.pyz under the same directory.