Skip to content

Install Gluu Server Locally with minikube and MicroK8s#

System Requirements#

For local deployments like minikube and MicroK8s or cloud installations in demo mode, resources may be set to the minimum as below:

  • 8GB RAM
  • 4 CPU cores
  • 50GB hard-disk

Use the listing below for detailed estimation of minimum required resources. Table contains the default resources recommendations per service. Depending on the use of each service the resources needs may be increase or decrease.

Service CPU Unit RAM Disk Space Processor Type Required
Auth server 2.5 2.5GB N/A 64 Bit Yes
LDAP (OpenDJ) 1.5 2GB 10GB 64 Bit Only if couchbase is not installed
fido2 0.5 0.5GB N/A 64 Bit No
scim 1.0 1.0GB N/A 64 Bit No
config - job 0.5 0.5GB N/A 64 Bit Yes on fresh installs
persistence - job 0.5 0.5GB N/A 64 Bit Yes on fresh installs
nginx 1 1GB N/A 64 Bit Yes if not ALB
auth-key-rotation 0.3 0.3GB N/A 64 Bit No [Strongly recommended]
config-api 1 1GB N/A 64 Bit No
casa 1 1GB N/A 64 Bit No
admin-ui 2 2GB N/A 64 Bit No

Releases of images are in style 1.0.0-beta.0, 1.0.0-0

Installation Steps#

Before initiating the setup please obtain an SSA to trial Flex, after which you are issued a JWT. You need to convert it into base64 format that you can use to install, specified by the .global.licenseSsa key in the values.yaml of Gluus Chart.

Start a fresh ubuntu 18.04 or 20.04 4 CPU, 16 GB RAM, and 50GB SSD VM with ports 443 and 80 open. Then execute the following

sudo su -
wget https://raw.githubusercontent.com/GluuFederation/flex/v5.0.0-19/automation/startflexmonolithdemo.sh && chmod u+x startflexmonolithdemo.sh && ./startflexmonolithdemo.sh

This will install docker, microk8s, helm and Gluu with the default settings that can be found inside values.yaml.

The installer will automatically add a record to your hosts record in the VM but if you want access the endpoints outside the VM you must map the ip of the instance running ubuntu to the FQDN you provided and then access the endpoints at your browser such in the example in the table below.

Service Example endpoint
Auth server https://FQDN/.well-known/openid-configuration
fido2 https://FQDN/.well-known/fido2-configuration
scim https://FQDN/.well-known/scim-configuration
Casa https://FQDN/casa
Admin-UI https://FQDN/admin

Last update: 2023-05-18
Created: 2022-09-22