# Ditch microk8s plugin mayastor and install openEBS directory on k8s

Disabling the microk8s mayastor plugin didn't work. Removing the helm chart and switching to openEBS did. Quick walkthrough of the fix.

Published: 2025-04-12
Source: https://www.kristian.io/blog/2025/04/ditch-microk8s-plugin-mayastor/

Disabling the plugin didn't work, but thankfully removing the helm chart did just what I needed!

```
helm install openebs --namespace openebs openebs/openebs --create-namespace --set mayastor.csi.node.kubeletDir=/var/snap/microk8s/common/var/lib/kubelet/ --set engines.local.zfs.enabled=false --set lvm-localpv.lvmNode.kubeletDir=/var/snap/microk8s/common/var/lib/kubelet/
```

kubectl label node <node_name> openebs.io/engine=mayastor


```
apiVersion: openebs.io/v1beta2
kind: DiskPool
metadata:
	name: tiny2-vg-mayastor--data
	namespace: openebs
disks:
- aio:///dev/disk/by-id/dm-name-ubuntu--vg-mayastor--data
node: tiny1
```


```
apiVersion: acid.zalan.do/v1

kind: postgresql

metadata:

labels:

application: umami

name: umami-psql

namespace: umami-web

spec:

databases:

umami: umami

numberOfInstances: 1

postgresql:

version: '16'

resources:

limits:

cpu: 500m

memory: 1024Mi

requests:

cpu: 10m

memory: 256Mi

teamId: default

users:

kristian:

- superuser

- createdb

umami: []

volume:

size: 1Gi

storageClass: openebs-single-replica
```
