Skip to main content
Version: 6.0.0

Kubernetes

It is possible to run the SimpleIdServer solution through Kubernetes.

In this setup, the domain sid.svc.cluster.local is used to represent the domain on which the solution is hosted. Therefore, the first step is to ensure that the domain sid.svc.cluster.local resolves to the Docker host machine.

To achieve this, edit your hosts file and add the following entry:

hosts
127.0.0.1 sid.svc.cluster.local scim.sid.svc.cluster.local idserver.sid.svc.cluster.local website.sid.svc.cluster.local credentialissuer.sid.svc.cluster.local credentialissuerwebsite.sid.svc.cluster.local

Next, ensure that you have Minikube installed on your local machine. You can download it from Minikube.

Download the Kubernetes archive file and extract its contents into a directory. Open a command prompt and navigate to this directory. Execute the following commands to start the solution:

cmd.exe
minikube start
minikube addons enable ingress
eval $(minikube -p minikube docker-env)
kubectl apply -f sid-kubernetes.yaml
minikube tunnel

Now, SimpleIdServer is ready to be used, and the services can be accessed through the following URLs:

ServiceUrl
IdServerhttps://idserver.sid.svc.cluster.local/master
IdServerWebsitehttps://website.sid.svc.cluster.local/master/clients
Scimhttps://scim.sid.svc.cluster.local
CredentialIssuerhttps://credentialissuer.sid.svc.cluster.local
CredentialIssuerWebsitehttps://credentialissuerwebsite.sid.svc.cluster.local