litmus/litmus-portal
Sayan Mondal fd9a3aeb6f
Fixed Table FormControl active colors + updated workflow pills + minor ux fixes (#2943)
Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-06-28 10:46:02 +05:30
..
authentication Adding backward compatibility fix for auth server (#2935) 2021-06-23 20:42:34 +05:30
cluster-agents adding environment vars check condition in event tracker and subscriber (#2947) 2021-06-25 22:28:51 +05:30
frontend Fixed Table FormControl active colors + updated workflow pills + minor ux fixes (#2943) 2021-06-28 10:46:02 +05:30
graphql-server updated argo executor image pull policy (#2946) 2021-06-25 18:51:43 +05:30
platforms/okteto refactor: litmus-portal authentication server (#2867) 2021-06-23 15:36:10 +05:30
BUILD_IMAGE.md Chore(multiarch): Build multiarch images for litmus portal components (#2858) 2021-06-08 18:21:23 +05:30
Makefile Chore(multiarch): Build multiarch images for litmus portal components (#2858) 2021-06-08 18:21:23 +05:30
README.md Updating the supported platforms list (#2924) 2021-06-22 11:55:23 +05:30
cluster-k8s-manifest.yml refactor: litmus-portal authentication server (#2867) 2021-06-23 15:36:10 +05:30
ingress.yml Adding {Ingress, ClusterIP, LoadBalancer} support for connecting external agent to the server (#2598) 2021-04-12 20:17:49 +05:30
litmus-portal-crds.yml updated CRDs and versions for CRs. (#2912) 2021-06-21 08:28:23 +05:30
namespaced-k8s-template.yml refactor: litmus-portal authentication server (#2867) 2021-06-23 15:36:10 +05:30
run.sh updated CRDs and versions for CRs. (#2912) 2021-06-21 08:28:23 +05:30

README.md

Litmus Portal

Litmus-Portal provides console and UI experience for managing, monitoring, and events around chaos workflows. Chaos workflows consist of a sequence of experiments run together to achieve the objective of introducing some kind of fault into an application or the Kubernetes platform.

Platforms Support

  • Minikube
  • GKE
  • KIND
  • EKS
  • Okteto Cloud
  • AKS
  • K3S
  • Civo Cloud
  • Kublr

Pre-requisites

  • Kubernetes 1.11 or later.

Installation

Applying k8s manifest

Litmus-2.0.0-Beta8 (Stable)

kubectl apply -f https://litmuschaos.github.io/litmus/2.0.0-Beta/litmus-2.0.0-Beta.yaml

Or

Master (Latest) Cluster scope. Install in litmus namespace by default.

kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/cluster-k8s-manifest.yml

Or

Master (Latest) Namespaced scope. Replace <namespace> with the desired namespace.

export LITMUS_PORTAL_NAMESPACE="<namespace>"
kubectl create ns ${LITMUS_PORTAL_NAMESPACE}
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/litmus-portal-crds.yml
curl https://raw.githubusercontent.com/litmuschaos/litmus/master/docs/2.0.0-Beta/litmus-namespaced-2.0.0-Beta.yaml --output litmus-portal-namespaced-k8s-template.yml
envsubst < litmus-portal-namespaced-k8s-template.yml > ${LITMUS_PORTAL_NAMESPACE}-ns-scoped-litmus-portal-manifest.yml
kubectl apply -f ${LITMUS_PORTAL_NAMESPACE}-ns-scoped-litmus-portal-manifest.yml -n ${LITMUS_PORTAL_NAMESPACE}

Configuration Options for Cluster scope.

  • litmus-portal-operations-config configmap.

    AgentNamespace: litmus

  • All environment variables.

Configuration Options for Namespace scope.

  • litmus-portal-operations-config configmap.

    AgentNamespace: ${LITMUS_PORTAL_NAMESPACE}

  • All environment variables.

Retrieving external url to access the litmus portal

GKE/Okteto Cloud/EKS
export NODE_NAME=$(kubectl -n $LITMUS_PORTAL_NAMESPACE get pod  -l "component=litmusportal-frontend" -o=jsonpath='{.items[*].spec.nodeName}')
export EXTERNAL_IP=$(kubectl -n $LITMUS_PORTAL_NAMESPACE get nodes $NODE_NAME -o jsonpath='{.status.addresses[?(@.type=="ExternalIP")].address}')
export NODE_PORT=$(kubectl -n $LITMUS_PORTAL_NAMESPACE get -o jsonpath="{.spec.ports[0].nodePort}" services litmusportal-frontend-service)
echo "URL: http://$EXTERNAL_IP:$NODE_PORT"

Minikube

minikube -n $LITMUS_PORTAL_NAMESPACE --url litmusportal-frontend-service

Note: Default username: admin and password: litmus

User Guide for Litmus Portal

Litmus-Portal provides console or UI experience for managing, monitoring, and events round chaos workflows. Chaos workflows consist of a sequence of experiments run together to achieve the objective of introducing some kind of fault into an application or the Kubernetes platform.

View the User Guide here

Uninstallation

Litmus-2.0.0-Beta8 (Stable)

kubectl delete -f https://litmuschaos.github.io/litmus/2.0.0-Beta/litmus-2.0.0-Beta.yaml

Or

Master (Latest) Cluster scope. Uninstall in litmus namespace by default. (Only deleting litmus portal components)

kubectl delete -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/cluster-k8s-manifest.yml

Or

Master (Latest) Namespaced scope. Replace <namespace> with the desired namespace.

export LITMUS_PORTAL_NAMESPACE="<namespace>"
kubectl delete -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/litmus-portal-crds.yml
kubectl delete -f ${LITMUS_PORTAL_NAMESPACE}-ns-scoped-litmus-portal-manifest.yml -n ${LITMUS_PORTAL_NAMESPACE}

Build custom images

Additional information