--- id: setup-without-ingress title: Setting up Endpoints without Ingress sidebar_label: Setup without Ingress --- ## Prerequisites Before setting up endpoint with Ingress make sure the [Litmus ChaosCenter](chaoscenter) is installed in either one of these scopes - [Cluster Scope](chaoscenter-cluster-scope-installation) - [Namespace Scope](chaoscenter-namespace-scope-installation) ## **With NodePort** To setup and login to Litmus Portal expand the available services just created and copy the `PORT` of the `litmusportal-frontend-service` service ```bash kubectl get svc -n ``` Expected Output ```bash NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE chaos-litmus-portal-mongo ClusterIP 10.104.107.117 27017/TCP 2m litmusportal-frontend-service NodePort 10.101.81.70 9091:30385/TCP 2m litmusportal-server-service NodePort 10.108.151.79 9002:32456/TCP,9003:31160/TCP 2m ``` > **Note**: In this case, the PORT for `litmusportal-frontend-service` is `30385`. Yours will be different. ## **With LoadBalancer** To setup and login to Litmus Portal with LoadBalancer, patch the Frontend Service `litmusportal-frontend-service` and expose the External IP. ```bash kubectl patch svc litmusportal-frontend-service -p '{"spec": {"type": "LoadBalancer"}}' -n ``` Expected Output ```bash NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE chaos-litmus-portal-mongo ClusterIP 10.104.107.117 27017/TCP 2m litmusportal-frontend-service NodePort 10.101.81.70 9091:30385/TCP 2m litmusportal-server-service NodePort 10.108.151.79 9002:32456/TCP,9003:31160/TCP 2m ``` ## **Accessing the ChaosCenter** Once you have the PORT copied in your clipboard, simply use your IP and PORT in this manner `:` to access the Litmus ChaosCenter. For example: ```yaml http://172.17.0.3:30385/ ``` > Where `172.17.0.3` is my NodeIP and `30385` is the frontend service PORT. If using a LoadBalancer, the only change would be to provide a `:` You should be able to see the Login Page of Litmus ChaosCenter. The **default credentials** are ```yaml Username: admin Password: litmus ``` ## Resources

NodePort

LoadBalancer

Ingress
## Learn More - [Setup Endpoints and Access ChaosCenter with Ingress](setup-with-ingress) - [Install ChaosCenter in Namespace Scope](chaoscenter-namespace-scope-installation) - [Install ChaosCenter in Cluster Scope](chaoscenter-cluster-scope-installation)