Kubernetes

The Identity Server can be deployed and managed in a Kubernetes environment. In order to facilitate this, Curity provides a set of Helm charts that can be used to deploy the Identity Server and its dependencies.

When installing this chart the release creates the following resources for a runtime node in the Kubernetes cluster:

  • A Deployment
  • A Service

Installing the Helm Chart#

When installing the Helm chart for the very first time add Curity to the list of chart repositories:

$ helm repo add curity https://curityio.github.io/idsvr-helm/

Make sure the repository is up to date before installing the chart:

$ helm repo update

Install the chart. Password has to be provided for the admin account. With the following command the latest Docker image can be specified to be used and the admin UI to be enabled:

$ helm install idsvr-tutorial curity/idsvr \
    --set image.tag=latest \
    --set curity.config.password=Pass1 \
    --set curity.config.uiEnabled=true

The status of the pods can be checked using Kubernetes command kubectl:

$ kubectl get pods --namespace default --selector="app.kubernetes.io/instance=idsvr-tutorial"

The result will look similar to the example below:

NAME                                      READY   STATUS    RESTARTS   AGE
idsvr-tutorial-admin-96cdb5bd6-fnb4b      0/1     Running   0          5s
idsvr-tutorial-runtime-7c69bf6dc6-xkfzh   0/1     Running   0          5s

For more details on how to use helm charts with Kubernetes cluster visit: Install using Helm section in getting started module.

Was this helpful?