Local (Minikube/MicroK8s)
tags:
- administration
- installation
- helm
- local
- minikube
- microk8s
This guide covers setting up Flex on a local Kubernetes cluster for development and testing.
#System Requirements
For local deployments, minimum resources are:
- 8 GB RAM
- 4 CPU cores
- 50 GB hard-disk
#Quick Start Script
Start a fresh Ubuntu VM with ports 443 and 80 open, then run:
sudo su -
wget https://raw.githubusercontent.com/GluuFederation/flex/v6.3.0/automation/startflexdemo.sh && chmod u+x startflexdemo.sh && ./startflexdemo.shThis installs Docker, MicroK8s, Helm, and Flex with default settings.
#Accessing Endpoints
The installer adds a hosts record in the VM. To access from outside the VM, map the VM IP to your FQDN.
| Service | Endpoint |
|---|---|
| Auth server | https://FQDN/.well-known/openid-configuration |
| FIDO2 | https://FQDN/.well-known/fido2-configuration |
| SCIM | https://FQDN/.well-known/scim-configuration |
#Manual Setup
If you prefer manual setup:
#Next Steps
Proceed to Ingress Setup to configure traffic routing.
