Prerequisites
- A Kubernetes cluster with at least 1 CPU and 1 GB of memory available.
- Credentials for pulling the mogenius images from the container registry (see below).
- The traefik ingress controller.
- A working local installation of Helm.
- A MySQL server (optional).
Quickstart
For a quick installation of the mogenius platform with defaults where possible, follow these steps.Create a Namespace
On the cluster where you’re installing the mogenius platform, create a new namespacemogenius-platform. All following commands target this namespace.
Create Secrets
The platform services require a few secrets containing critical credentials that aren’t created by the Helm chart. The following secrets are required for the minimum configuration. Additional secrets can be used when working with more sophisticated Helm chart configurations. The commands below create each secret directly withkubectl. They generate secure random values on the fly using openssl, so you can run them as-is and only replace the placeholders that are marked with <...>.
The encryption key
MO_CORE_NEST__SSH_SYM_ENC_KEY must be identical in the mo-platform-shared and mo-platform-user-secret secrets. The commands below generate it once into a shell variable and reuse it, so run them in the same terminal session.mo-registry-credentials secret of type kubernetes.io/dockerconfigjson. Replace the placeholders with the values from your subscription.
MO_CORE_NEST__SSH_SYM_ENC_KEY reuses the $MO_ENC_KEY from step 3).
MO_USER_NEST__SYSTEM_ADMIN_EMAIL — the email address to log in with your admin user.
MO_USER_NEST__SYSTEM_ADMIN_PASSWORD — the password for your admin user.
MO_CORE_NEST__SSH_SYM_ENC_KEY — the same encryption key set in the mo-platform-shared secret.
MO_USER_NEST__OAUTH__JWKS — the base64-encoded JWK (P-256, ES256) used for signing and verifying JWTs.
MO_USER_NEST__OAUTH__COOKIE_KEYS — a secure random secret for signing session cookies.
MO_USER_NEST__OAUTH__BFF_CLIENT_SECRET — a secure random client secret for the backend-for-frontend OAuth client.
Prepare your values.yaml
The Helm chart supports wide range of values that you can use to configure your installation of the mogenius platform. Skip to values for a full reference of the chart. Below is an examplevalues.yaml for a minimal setup to install the mogenius platform in a development environment. Make sure to review the configuration and ensure that it matches your infrastructure.
values.yaml quickstart example
Deploy the Helm chart
Run the following command on your cluster to install the Helm chart with your values.yaml.Access the mogenius web interface
Check the status of the installation and make sure all Pods are starting properly.Running, access the mogenius platform with the hostname you specified in your Ingress (e.g. mogenius.yourdomain.com). You can log in with the credentials of your admin user.
Next steps
Now that mogenius is up and running you can prepare the platform for your team. Check out the following resources as next steps:- Quickstart guide for connecting your first cluster and getting started with Workspaces.
- Enable Single Sign-On to enable your team joining the mogenius platform.
- Configure GitOps for enabling Git-based workflows in mogenius using Argo CD.
Support
Need help setting up the mogenius platform? Contact us via support@mogenius.com.Migrating from v8 to v9: Valkey instances replaced by the valkey subchart
Migrating from v8 to v9: Valkey instances replaced by the valkey subchart
In v9, the dedicated Valkey instances (
mo_platform_api_valkey, mo_valkey_shared, mo_websocket_valkey, and mo_message_dispatcher_valkey) are replaced by a single Valkey deployed through the valkey subchart. The queue service (mo_platform_queue) and the WebSocket service (mo_platform_websocket) are removed from the chart. If you’re upgrading from v8, update your values.yaml as follows:- Delete the old Valkey blocks entirely from your
values.yaml— they’re no longer valid chart values:
values.yaml (v8, deprecated)
- Delete the
mo_platform_queueandmo_platform_websocketblocks entirely from yourvalues.yaml:
values.yaml (v8, deprecated)
Only the top-level
mo_platform_queue and mo_platform_websocket blocks are removed. Keep the WebSocket hostnames under ingress (ingress.socket_service_url, ingress.k8s_websocket_url) unchanged.- Configure the
valkeysubchart (optional). The chart ships with high availability defaults, which run a single Valkey with 3 replicas, 3 sentinels and 3 HAProxies. You only need to add avalkeyblock to yourvalues.yamlif you want to override them:
values.yaml
- Run
helm upgradewith your updatedvalues.yamlagainst the new chart version.
All other v8 values and secrets (MySQL, encryption key, admin credentials, OAuth secrets) remain unchanged. Only the Valkey instances, the queue service, and the WebSocket service are affected by this migration.
Migrating from v7 to v8: JWT/session secrets replaced with OAuth JWKS-based secrets
Migrating from v7 to v8: JWT/session secrets replaced with OAuth JWKS-based secrets
In v8, the
MO_USER_NEST__JWT_PRIVATE, MO_USER_NEST__JWT_PUBLIC, and MO_USER_NEST__SESSION_SECRET keys in the mo-platform-user-secret secret are discontinued. They’re replaced by three new keys: MO_USER_NEST__OAUTH__JWKS, MO_USER_NEST__OAUTH__COOKIE_KEYS, and MO_USER_NEST__OAUTH__BFF_CLIENT_SECRET. The chart also drops the token lifetime settings under mo_platform_api.openid. If you’re upgrading from v7, update your secret and values.yaml as follows:- Generate the new secret values:
-
Update the
mo-platform-user-secretsecret — removeMO_USER_NEST__JWT_PRIVATE,MO_USER_NEST__JWT_PUBLIC, andMO_USER_NEST__SESSION_SECRET, and add the three generated values asMO_USER_NEST__OAUTH__JWKS,MO_USER_NEST__OAUTH__COOKIE_KEYS, andMO_USER_NEST__OAUTH__BFF_CLIENT_SECRET. See Create Secrets for the fullkubectl create secretcommand — rerun it (orkubectl delete secretfirst) with the new keys. -
Remove the deprecated token lifetime settings from
mo_platform_api.openidin yourvalues.yaml— they’re no longer valid chart values:
values.yaml (v7, deprecated)
- Run
helm upgradewith your updatedvalues.yamlagainst the new chart version.
All other v7 values and secrets (MySQL, Valkey, encryption key, admin credentials) remain unchanged. Only the JWT/session keys in
mo-platform-user-secret and the openid token lifetime settings are affected by this migration.Migrating from v5 to v7: OpenID moved from the user service to the API service
Migrating from v5 to v7: OpenID moved from the user service to the API service
In v7, the user service (
mo_platform_user) and its dedicated Valkey instance (mo_user_valkey) are discontinued and removed from the chart. OpenID/SSO configuration moves to the API service (mo_platform_api). If you’re upgrading from v5, update your values.yaml as follows:- Move your OpenID config from
mo_platform_user.openid.*tomo_platform_api.openid.*:
values.yaml (v5, deprecated)
values.yaml (v6)
-
Delete the
mo_platform_userandmo_user_valkeyblocks entirely from yourvalues.yaml— they’re no longer valid chart values. -
Run
helm upgradewith your updatedvalues.yamlagainst the new chart version.
All other v5 values (secrets, MySQL, remaining Valkey instances) remain unchanged. Only the
openid block, the user service and its Valkey instance are affected by this migration.Values
Global Settings
Ingress
Default ingress annotations:
Feature Toggles
Platform Services
mo_platform (Frontend)
mo_platform_api (API Service)
OpenID Configuration:
mo_platform_notification (Notification Service)
mo_platform_message_dispatcher (Message Dispatcher)
Valkey (Redis-compatible Cache)
The platform uses Valkey, an open-source Redis-compatible in-memory data store, for caching and message queuing. The chart deploys Valkey through thevalkey subchart; all values under the valkey key are passed to the subchart.