litmus/litmus-portal
Vedant Shrotria aae38cd073
Updated Github Actions Workflows for 3.x.x Chaos Center (#4063)
* Added changes for push & release gh-actions

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added changes for push & release gh-actions

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added changes for push & release gh-actions

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added changes for push & release gh-actions

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added changes for push & release gh-actions

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added changes for push & release gh-actions

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added changes for running lint checks

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added changes for FE 3.x.x

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added changes for FE 3.x.x

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added changes for FE 3.x.x

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added changes for FE 3.x.x

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added build checks for 3.x.x

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* removed dependency on backend unit tests

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* fixed go imports

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added minor changes

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added minor changes

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added gh-actions for event-tracker

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added gh-actions for event-tracker

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added gh-actions for event-tracker

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added gh-actions for event-tracker

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

---------

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>
2023-07-06 12:40:03 +05:30
..
authentication (api-refactor): Refactored GQL server APIs and updated frontend dir (#3579) 2022-05-11 11:26:12 +05:30
cluster-agents feat: Litmus 3.0: Added enhancements in subscriber for Litmus 3.0 (#4027) 2023-06-29 18:04:00 +05:30
deprecated-github-workflows Updated Github Actions Workflows for 3.x.x Chaos Center (#4063) 2023-07-06 12:40:03 +05:30
dex-server Fixed typo of clusterrole (#3391) 2021-12-15 12:28:47 +05:30
frontend removed usage of fonts.googleapis.com (litmuschaos#3698) (#3815) 2023-01-17 13:45:19 +05:30
graphql-server feat: Reduce code duplicacy in chaos-workflow package (#4010) 2023-07-03 09:58:22 +05:30
manifests Added manifests for `3.0.0-beta5` ChaosCenter release (#3917) 2023-03-15 13:27:41 +05:30
platforms/okteto Minor fix in env config (#3656) 2022-06-15 06:08:04 +00:00
upgrade-agents/control-plane Added changes for 3.0.0-beta8 ChaosCenter Release (#4009) 2023-06-20 12:21:35 +05:30
.goimportsignore Migrating {project APIs, project DB collections} to auth server and adding grpc calls between graphql-server and auth server (#3377) 2021-12-06 12:05:22 +05:30
Makefile Added changes for 3.0.0-beta8 ChaosCenter Release (#4009) 2023-06-20 12:21:35 +05:30
README.md Added changes for 3.0.0-beta8 ChaosCenter Release (#4009) 2023-06-20 12:21:35 +05:30

README.md

ChaosCenter

ChaosCenter 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

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

Pre-requisites

  • Kubernetes 1.17 or later.

Installation

Applying k8s manifest

Litmus-3.0.0-beta8 Cluster Scope manifest

kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/3.0.0-beta8/litmus-3.0.0-beta8.yaml

Or

Litmus-3.0.0-beta8 Namespaced Scope manifest.

#Create a namespace eg: litmus
kubectl create ns litmus
#Install CRDs, if SELF_AGENT env is set to TRUE
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/3.0.0-beta8/litmus-portal-crds-3.0.0-beta8.yml
#Install ChaosCenter
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/3.0.0-beta8/litmus-namespaced-3.0.0-beta8.yaml -n litmus

Or

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

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

Or

Master (Latest) Namespaced scope.

#Create a namespace eg: litmus
kubectl create ns litmus
#Install CRDs, if SELF_AGENT env is set to TRUE
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/manifests/litmus-portal-crds.yml
#Install ChaosCenter
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/manifests/namespace-k8s-manifest.yml -n litmus

Configuration Options for Cluster scope.

  • litmus-portal-operations-config configmap.

    AgentNamespace: litmus

  • 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 ChaosCenter

ChaosCenter 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

Local Development Guide for ChaosCenter

Local Development Guide for ChaosCenter can be found here

Upgrade from 3.0.0-beta7 to 3.0.0-beta8

You can upgrade using the steps from section here

Uninstallation

You can uninstall using the steps from section here