Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
This section describes the steps to deploy IRIS Community Edition as a Kubernetes StatefulSet. For the persistent storage to store IRIS system files and user database externally, we will use microk8s_hostpath or Longhorn. You can find the code to use here.
The following is based on the assumption that you have already setup Docker and docker-compose. The image can be any content. Here we will use simple as an example. This image will provide a straightforward REST service on the MYAPP namespace, where localhost:32000 is the built-in container registry created by microk8s, to which we will push this image.
$ git clone https://github.com/longhorn/longhorn-manager.git $ cd longhorn-manager $ make $ kubectl create -f deploy/uninstall/uninstall.yaml podsecuritypolicy.policy/longhorn-uninstall-psp created serviceaccount/longhorn-uninstall-service-account created clusterrole.rbac.authorization.k8s.io/longhorn-uninstall-role created clusterrolebinding.rbac.authorization.k8s.io/longhorn-uninstall-bind created job.batch/longhorn-uninstall created $ kubectl get job/longhorn-uninstall -w NAME COMPLETIONS DURATION AGE longhorn-uninstall 0/1 12s 14s longhorn-uninstall 1/1 24s 26s ^C $ kubectl delete -Rf deploy/install $ kubectl delete -f deploy/uninstall/uninstall.yaml
At the Japan Virtual Summit 2021, I gave a session on Kubernetes, which was targeted at those who had an Azure account or IRIS evaluation license key. I'm sure some developers would like to try it out a little more quickly, therefore, this article will introduce the procedure to run IRIS Community Edition on microk8s, a lightweight implementation of k8s that can be used in virtual environments.