# Can't run in k8s

**URL:** <https://forums.rocket.chat/t/cant-run-in-k8s/14056>\
**Category:** Community Support\
**Tags:** rocketchat-apps, k8s, kubernetes\
**Created:** [May 11, 2022, 10:53am UTC](https://forums.rocket.chat/t/cant-run-in-k8s/14056 "2022-05-11T10:53:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LuisGarcia](https://avatars.discourse-cdn.com/v4/letter/l/2bfe46/32.png) [@LuisGarcia](https://forums.rocket.chat/u/LuisGarcia)\
**Post date:** [May 11, 2022, 10:53am UTC](https://forums.rocket.chat/t/cant-run-in-k8s/14056/1 "2022-05-11T10:53:40Z")

</div>

I’m trying to run rocketchat via helm

`helm upgrade --install --namespace rocketchat --create-namespace --set host=rocketchat.example.com --set ingress.enabled=true --set mongodb.auth.password=$(echo -n $(openssl rand -base64 32)),mongodb.auth.rootPassword=$(echo -n $(openssl rand -base64 32)) --set persistence.enabled=true --set persistence.storageClass=fast.ru-3a rocketchat rocketchat/rocketchat`

but the pods don’t start

```auto
kubectl get pods -n rocketchat
NAME READY STATUS RESTARTS AGE
rocketchat-mongodb-0 0/1 Pending 0 14m
rocketchat-rocketchat-7dcccdff4b-x2487 0/1 CrashLoopBackOff 6 (118s ago) 14m

```

```auto
kubectl get events -n rocketchat --sort-by='.lastTimestamp'
9m53s Normal Pulled pod/rocketchat-rocketchat-7dcccdff4b-x2487 Container image "registry.rocket.chat/rocketchat/rocket.chat:4.6.1" already present on machine
9m53s Normal Created pod/rocketchat-rocketchat-7dcccdff4b-x2487 Created container rocketchat
9m52s Normal Started pod/rocketchat-rocketchat-7dcccdff4b-x2487 Started container rocketchat
5m32s Warning Unhealthy pod/rocketchat-rocketchat-7dcccdff4b-x2487 Readiness probe failed: Get "http://10.10.215.34:3000/api/info": dial tcp 10.10.215.34:3000: connect: connection refused
64s Normal FailedBinding persistentvolumeclaim/datadir-rocketchat-mongodb-0 no persistent volumes available for this claim and no storage class is set
59s Normal NotTriggerScaleUp pod/rocketchat-mongodb-0 pod didn't trigger scale-up:
38s Warning BackOff pod/rocketchat-rocketchat-7dcccdff4b-x2487 Back-off restarting failed container
14s Warning FailedScheduling pod/rocketchat-mongodb-0 0/2 nodes are available: 2 pod has unbound immediate PersistentVolumeClaims.

```

what am i missing and how can i run it to make it work?
