litmus/litmus-portal
Vedant Shrotria 8ac8199efc
Adding manifests for v2.10.0 ChaosCenter & updating upgrade agent (#3658)
* Updated upgrade agent

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

* Added mainfest updates for v2.10.0 release

Signed-off-by: Vedant Shrotria <vedant.shrotria@harness.io>
2022-06-15 07:17:47 +00:00
..
authentication (api-refactor): Refactored GQL server APIs and updated frontend dir (#3579) 2022-05-11 11:26:12 +05:30
cluster-agents Fixing GitOps API in event tracker (#3601) 2022-05-16 10:36:43 +05:30
dex-server Fixed typo of clusterrole (#3391) 2021-12-15 12:28:47 +05:30
frontend Added imagePullSecret in chaos engine and minor change in probes (#3643) 2022-06-14 23:34:29 +05:30
graphql-server Minor fix in env config (#3656) 2022-06-15 06:08:04 +00:00
manifests Adding manifests for v2.10.0 ChaosCenter & updating upgrade agent (#3658) 2022-06-15 07:17:47 +00:00
platforms/okteto Minor fix in env config (#3656) 2022-06-15 06:08:04 +00:00
upgrade-agents/control-plane Adding manifests for v2.10.0 ChaosCenter & updating upgrade agent (#3658) 2022-06-15 07:17:47 +00:00
.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 feat: ability to configure self-agent component's node selector and tolerations (#3527) 2022-03-26 21:28:25 +05:30
README.md Updated version to 2.9.0 in readme (#3607) 2022-05-16 22:22:07 +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-2.9.0 (Stable) Cluster Scope manifest

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.

#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

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.

#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/litmus-portal-crds.yml
#Install ChaosCenter
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/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 2.8.0 to 2.9.0

You can upgrade using the steps from section here

Uninstallation

You can uninstall using the steps from section here