Skip to content
Browse Gluu Flex nightly

Local Kubernetes (Minikube/MicroK8s)


tags:

  • administration
  • installation
  • quick-start
  • kubernetes
  • minikube
  • microk8s

The fastest way to try Flex on a local Kubernetes cluster is the demo script. It installs Docker, MicroK8s, Helm, and Flex with default settings.

#System Requirements

System should meet the following requirements:

  • 8 GB RAM
  • 4 CPU
  • 50 GB Disk

#Install

Start a fresh Ubuntu VM with ports 443 and 80 open, then run:

sudo su -
wget https://raw.githubusercontent.com/GluuFederation/flex/nightly/automation/startflexdemo.sh
chmod u+x startflexdemo.sh
./startflexdemo.sh

The script prompts for:

  • Fully qualified domain name (FQDN)
  • Persistence type (MYSQL or PGSQL)

#Verify Installation

The installer adds a hosts record inside the VM. To access endpoints from outside the VM, map the VM IP to your FQDN in your local /etc/hosts:

# For example
VM_IP      demoexample.gluu.org

Then test the standard endpoints:

ServiceEndpoint
Auth serverhttps://FQDN/.well-known/openid-configuration
FIDO2https://FQDN/.well-known/fido2-configuration
SCIMhttps://FQDN/.well-known/scim-configuration

#Configure Flex

Flex can be configured using the Text-based User Interface (TUI). The default admin password is Test1234#.

#Next Steps

For a manual local cluster setup (or to move toward production), see the Helm local setup.

We use analytics cookies to measure which pages are useful, so we can improve them. They are only set if you accept. Essential cookies needed for the site to work are always on. See our privacy policy.