Skip to main content
Version: 3.11.0

Setting up endpoints without ingress


Prerequisites​

Before setting up endpoint without Ingress, make sure ChaosCenter is installed in either one of these scopes:

NodePort service setup​

To setup and login to ChaosCenter, list the services in the Litmus namespace and copy the PORT of the litmusportal-frontend-service service.

kubectl get svc -n <LITMUS_PORTAL_NAMESPACE>
Expected Output
NAME                            TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)                         AGE
chaos-litmus-portal-mongo ClusterIP 10.104.107.117 <none> 27017/TCP 2m
litmusportal-frontend-service NodePort 10.101.81.70 <none> 9091:30385/TCP 2m
litmusportal-server-service NodePort 10.108.151.79 <none> 9002:32456/TCP,9003:31160/TCP 2m
note

In this case, the port for litmusportal-frontend-service is 30385, in your case it will be different.

LoadBalancer service setup​

To setup and login to ChaosCenter with LoadBalancer, patch the Frontend service litmusportal-frontend-service and expose the external IP:

kubectl patch svc litmusportal-frontend-service -p '{"spec": {"type": "LoadBalancer"}}' -n <LITMUS_PORTAL_NAMESPACE>
Expected Output
NAME                            TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)                         AGE
chaos-litmus-portal-mongo ClusterIP 10.104.107.117 <none> 27017/TCP 2m
litmusportal-frontend-service NodePort 10.101.81.70 <none> 9091:30385/TCP 2m
litmusportal-server-service NodePort 10.108.151.79 <none> 9002:32456/TCP,9003:31160/TCP 2m

Accessing ChaosCenter​

Once you have the port copied in your clipboard, simply use your IP and port in this manner <IP>:<PORT> to access the Litmus ChaosCenter.

For example:

http://172.17.0.3:30385/
note

Here 172.17.0.3 is the node's IP and 30385 is the frontend service port. If you're using a LoadBalancer service, use the load balancer IP and the port in the following manner: <LoadBalancerIP>:<PORT>

You should be able to see the login page of ChaosCenter. The default credentials are following:

Username: admin
Password: litmus

By default you are assigned with a default project with Owner permissions.

Learn more​