diff --git a/litmus-portal/README.md b/litmus-portal/README.md index db52f6160c1..c7f1032b824 100644 --- a/litmus-portal/README.md +++ b/litmus-portal/README.md @@ -22,10 +22,23 @@ ChaosCenter provides console and UI experience for managing, monitoring, and eve #### Applying k8s manifest -> Litmus-2.8.0 (Stable) Cluster Scope manifest +> Litmus-2.9.0 (Stable) Cluster Scope manifest ```bash -kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/2.8.0/mkdocs/docs/2.8.0/litmus-2.8.0.yaml +kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/2.9.0/mkdocs/docs/2.9.0/litmus-2.9.0.yaml +``` + +Or + +> Litmus-2.9.0 (Stable) Namespaced Scope manifest. + +```bash +#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/2.9.0/litmus-portal-crds-2.9.0.yml +#Install ChaosCenter +kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/2.9.0/litmus-namespaced-2.9.0.yaml -n litmus ``` Or @@ -44,7 +57,7 @@ Or #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/2.8.0/litmus-portal/litmus-portal-crds.yml +kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/litmus-portal-crds.yml #Install ChaosCenter kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/namespace-k8s-manifest.yml -n litmus ``` @@ -77,13 +90,16 @@ minikube -n $LITMUS_PORTAL_NAMESPACE --url litmusportal-frontend-service Note: Default `username: admin` and `password: litmus` -### **User Guide for Litmus Portal** +### **User Guide for ChaosCenter** -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. +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](https://docs.litmuschaos.io/) -### **Upgrade from 2.7.0 to 2.8.0** +### **Local Development Guide for ChaosCenter** +Local Development Guide for ChaosCenter can be found [here](https://github.com/litmuschaos/litmus/wiki/ChaosCenter-Development-Guide) + +### **Upgrade from 2.8.0 to 2.9.0** You can upgrade using the steps from [section here](https://docs.litmuschaos.io/docs/user-guides/upgrade) diff --git a/litmus-portal/run.sh b/litmus-portal/run.sh deleted file mode 100755 index d07587e4a47..00000000000 --- a/litmus-portal/run.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash - -# ENV VAR SETUP -export DB_SERVER=mongodb://localhost:27017 -export JWT_SECRET=litmus-portal@123 -export PORTAL_ENDPOINT=http://localhost:8080 -export SELF_AGENT=false # self-cluster needs k8s env -export AGENT_SCOPE=cluster -export AGENT_NAMESPACE=litmus -export LITMUS_PORTAL_NAMESPACE=litmus -export PORTAL_SCOPE=namespace -export SUBSCRIBER_IMAGE=litmuschaos/litmusportal-subscriber:ci -export EVENT_TRACKER_IMAGE=litmuschaos/litmusportal-event-tracker:ci -export CONTAINER_RUNTIME_EXECUTOR=k8sapi -export ARGO_WORKFLOW_CONTROLLER_IMAGE=argoproj/workflow-controller:v3.2.9 -export ARGO_WORKFLOW_CONTROLLER_IMAGE=argoproj/workflow-controller:v3.2.9 -export ARGO_WORKFLOW_EXECUTOR_IMAGE=argoproj/argoexec:v3.2.9 -export LITMUS_CHAOS_OPERATOR_IMAGE=litmuschaos/chaos-operator:2.7.0 -export LITMUS_CHAOS_RUNNER_IMAGE=litmuschaos/chaos-runner:2.7.0 -export LITMUS_CHAOS_EXPORTER_IMAGE=litmuschaos/chaos-exporter:2.7.0 -export ADMIN_USERNAME=admin -export ADMIN_PASSWORD=litmus -export DB_USER=admin -export DB_PASSWORD=1234 -export VERSION=ci -export HUB_BRANCH_NAME=v2.7.x -export AGENT_DEPLOYMENTS="[\"app=chaos-exporter\", \"name=chaos-operator\", \"app=event-tracker\", \"app=workflow-controller\"]" -export LITMUS_CORE_VERSION="2.8.0" -# Dependency Checks -dir=($(pwd | tr "/" "\n")) -count=${#dir[@]} -if [ "$count" -lt 2 ] || [ "${dir[-2]}" != "litmus" ] || [ "${dir[-1]}" != "litmus-portal" ] ; then - echo "Error : Run script only in litmus/litmus-portal dir"; - exit 1; -fi - - -if [ $1 = "gql" ]; then - cd ./graphql-server && go run server.go; -elif [ $1 = "auth" ]; then - cd ./authentication && go run api/main.go; -else printf "Error: Wrong Server Try Again\nUsage: \n - bash run.sh gql\n - bash run.sh auth\n"; -fi