Need asssitance in settingup stackstorm HA on kubernetes [Rancher]

Hi All,

I am new to kubernetes/Rancher and stackstorm .

stackstorm is installed in our environment on standalone servers through ansible playbook.
currently we are trying to install stackstorm HA on kubernetes [HA].

Was following the document:

Installed helm 2 ,since helm 3 is not supported in stackstorm HA .

helm version
Client: &version.Version{SemVer:“v2.16.12”, GitCommit:“47f0b88409e71fd9ca272abc7cd762a56a1c613e”, GitTreeState:“clean”}
Server: &version.Version{SemVer:“v2.16.12”, GitCommit:“47f0b88409e71fd9ca272abc7cd762a56a1c613e”, GitTreeState:“clean”}

Added stackstorm repository:
helm repo add stackstorm https://helm.stackstorm.com/

when executed the command getting the below error:
[root@dc1udataocs301 k8s]# helm install stackstorm/stackstorm-ha
Error: release irreverent-pika failed: serviceaccounts “stackstorm-ha” already exists

kubectl get all ,shows few pods which are CrashLoopBackOff,Completed and running state .

Few questions I had was:
1)Is there any good documentation which I can follow
2)how to uninstall all the half installed stackstom HA components
3)How to resolved the error

helm install stackstorm/stackstorm-ha
Error: release irreverent-pika failed: serviceaccounts “stackstorm-ha” already exists

Please let me know if you need more details ,logs

For stackstorm-ha there is a Helm Chart documentation here GitHub - StackStorm/stackstorm-ha: K8s Helm Chart (βeta!) that codifies StackStorm (aka "IFTTT for Ops" https://stackstorm.com/) Highly Availability fleet as a simple to use reproducible infrastructure-as-code app and here: StackStorm HA Cluster in Kubernetes - BETA — StackStorm 3.3.0 documentation.

For issues with the Helm, you have to refer to original Helm and K8s documentation about how to query and remove the resources from the K8s cluster. Navigate to helm delete --help command for the st2 cluster removal.

Talking about CrashLoopBackOff pods, - if stackstorm-ha installation fully succeeded and you saw ST2 HA OK message, - st2 services may fail if one of the backends like RabbitMQ, MongoDB or etcd failed to start. Check those pods if they started up and running.

Thanks Eugen C,

I will check the links you provided ,I was able to install the basic stackstorm HA from the
doc link StackStorm HA Cluster in Kubernetes - BETA — StackStorm 3.3.0 documentation

Regarding error :
helm install stackstorm/stackstorm-ha
Error: release irreverent-pika failed: serviceaccounts “stackstorm-ha” already exists

1)did helm repo list
2)helm list
NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE
brown-zorse 1 Tue Oct 13 07:52:10 2020 FAILED stackstorm-ha-0.32.0 3.3dev default
deadly-giraffe 1 Mon Oct 12 21:41:34 2020 FAILED stackstorm-ha-0.32.0 3.3dev default
errant-bee 1 Wed Oct 14 03:36:32 2020 FAILED stackstorm-ha-0.32.0 3.3dev default
exiled-fox 1 Wed Oct 14 01:58:58 2020 FAILED stackstorm-ha-0.32.0 3.3dev default
eyewitness-uakari 1 Wed Oct 14 01:39:43 2020 FAILED stackstorm-ha-0.32.0 3.3dev default
lopsided-dachshund 1 Wed Oct 14 03:31:03 2020 FAILED stackstorm-ha-0.32.0 3.3dev default
masked-mule 1 Wed Oct 14 01:50:57 2020 FAILED stackstorm-ha-0.32.0 3.3dev default
wrinkled-chicken 1 Tue Oct 13 07:56:40 2020 FAILED stackstorm-ha-0.32.0 3.3dev default

helm delete brown-zorse [deleted all ] and ran
helm repo add stackstorm https://helm.stackstorm.com/
“stackstorm” has been added to your repositories
[root@dc1udataocs201 ~]# helm install stackstorm/stackstorm-ha
NAME: yucky-saola
LAST DEPLOYED: Wed Oct 14 05:38:00 2020
NAMESPACE: default
STATUS: DEPLOYED