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:
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:
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:
Service | Url |
---|---|
IdServer | https://idserver.sid.svc.cluster.local/master |
IdServerWebsite | https://website.sid.svc.cluster.local/master/clients |
Scim | https://scim.sid.svc.cluster.local |
CredentialIssuer | https://credentialissuer.sid.svc.cluster.local |
CredentialIssuerWebsite | https://credentialissuerwebsite.sid.svc.cluster.local |