Skip to content

Commit

Permalink
Release 1.2.5-alpha
Browse files Browse the repository at this point in the history
Includes GUI installer
  • Loading branch information
moabu committed Sep 14, 2020
1 parent 369f79e commit 19d2e1f
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 3 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
make install
```

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

### Python zipapp

Expand All @@ -51,3 +51,9 @@
```

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

```sh
make guizipapp
```

This command will generate executable called `pygluu-kubernetes-gui.pyz` under the same directory.
4 changes: 2 additions & 2 deletions pygluu/kubernetes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
https://www.apache.org/licenses/LICENSE-2.0
"""

__version__ = "1.2.4"
__previous_version__ = "1.2.3"
__version__ = "1.2.5-alpha"
__previous_version__ = "1.2.4"
97 changes: 97 additions & 0 deletions pygluu/kubernetes/templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,103 @@ Please calculate the minimum required resources as per services deployed. The fo
cr-rotate:
enabled: true
```

=== "GUI-alpha"
## Install Gluu using the gui installer

!!!warning
The GUI installer is currently alpha. Please report any bugs found by opening an [issue](https://github.com/GluuFederation/cloud-native-edition/issues/new/choose).

```

1. Create the GUI installer job

```bash
cat <<EOF | kubectl apply -f -
apiVersion: apps/v1
kind: Job
metadata:
name: cloud-native-installer
labels:
APP_NAME: cloud-native-installer
spec:
template:
metadata:
labels:
APP_NAME: cloud-native-installer
spec:
restartPolicy: Never
containers:
- name: cloud-native-installer
image: gluufederation/config-init:4.2.1_dev
---
kind: Service
apiVersion: v1
metadata:
name: cloud-native-installer
spec:
type: LoadBalancer
selector:
app: cloud-native-installer
ports:
- name: http
port: 80
targetPort: 5000
EOF
```

1. Grab the Loadbalancer address , ip or Nodeport and follow installation setup.

=== "AWS"

```bash
kubectl -n default get svc cloud-native-installer --output jsonpath='{.status.loadBalancer.ingress[0].hostname}'
```

=== "GKE"

```bash
kubectl -n default get svc cloud-native-installer --output jsonpath='{.status.loadBalancer.ingress[0].ip}'
```

=== "Azure"

```bash
kubectl -n default get svc cloud-native-installer --output jsonpath='{.status.loadBalancer.ingress[0].ip}'
```
=== "DigitalOcean"

```bash
kubectl -n default get svc cloud-native-installer --output jsonpath='{.status.loadBalancer.ingress[0].ip}'
```

=== "Microk8s"

1. Get ip of microk8s vm

1. Get `NodePort` of the GUI installer service

```bash
kubectl -n default get svc cloud-native-installer
```

=== "Minikube"

1. Get ip of minikube vm

```bash
minikube ip
```

1. Get `NodePort` of the GUI installer service

```bash
kubectl -n default get svc cloud-native-installer
```

1. Head to the address from previous step to start the installation.



### `settings.json` parameters file contents

Expand Down

0 comments on commit 19d2e1f

Please sign in to comment.