- Install helm3
- Kubernetes >= 1.17
The following steps will help you install hce via helm.
helm repo add harness https://hce.chaosnative.com
helm repo list
Output:
NAME URL
harness https://hce.chaosnative.com
helm repo update
Output:
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "harness" chart repository
Update Complete. ⎈Happy Helming!⎈
helm install -n litmus hce harness/hce --create-namespace
Output:
NAME: hce
LAST DEPLOYED: Fri Apr 22 07:29:30 2022
NAMESPACE: litmus
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Thank you for installing hce :grinning:
Your release is named hce and it's installed to namespace: litmus.
Visit https://harness.io to find more info.
helm uninstall hce --namespace=litmus
Output:
release "hce" uninstalled
2.12.0 Cluster scope. Install in litmus namespace by default.
kubectl apply -f https://hce.chaosnative.com/manifests/latest/hce-cluster-scope.yaml
Or
2.12.0 Namespaced scope. Replace
litmus
with the desired namespace.
kubectl create ns litmus
kubectl apply -f https://hce.chaosnative.com/manifests/latest/hce-crds.yaml
kubectl apply -f https://hce.chaosnative.com/manifests/latest/hce-namespace.yaml -n litmus
Master (Latest) Cluster scope. Install in litmus namespace by default.
kubectl apply -f https://hce.chaosnative.com/manifests/ci/hce-cluster-scope.yaml
Or
Master (Latest) Namespaced scope. Replace
litmus
with the desired namespace.
kubectl create ns litmus
kubectl apply -f https://hce.chaosnative.com/manifests/ci/hce-crds.yaml
kubectl apply -f https://hce.chaosnative.com/manifests/ci/hce-namespace.yaml -n litmus
External agents can be install via ChaosCTL. Please refer the following resources.
-
Installation of ChaosCTL- https://github.com/chaosnative/chaosctl#installation
-
Usage of ChaosCTL- https://github.com/chaosnative/chaosctl/blob/main/Usage.md