How to install MariaDB ColumnStore in Kubernetes?

6/18/2019

I have been trying to install MariaDB ColumnStore in my kuberentes cluster without any success. I just can't seem to find any information (which at least I can make sense of) on how to do it.

Previously I have installed the row base MariaDB using helm

 helm install stable/mariadb

Which installs everything correctly.

Is there a way to install ColumnStore using helm? By perhaps designing the values.yaml file?

Anyone who has done this before?

UPDATE:

This is what I tried doing instead.

 git clone https://github.com/mariadb-corporation/mariadb-kubernetes

 helm install mariadb-enterprise --name my-cluster --set mariadb.cluster.topology=columnstore-standalone

But I get the error "Err:ImagePull"

 Events:
 Type     Reason     Age                From               Message
 ----     ------     ----               ----               -------
 Normal   Scheduled  33s                default-scheduler  Successfully 
 assigned default/my-cluster-mdb-cs-single-0 to minikube
 Warning  Failed     23s                kubelet, minikube  Failed to pull 
 image "mariadb/columnstore:1.2.3": rpc error: code = Unknown desc = Error 
 response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: 
 lookup registry-1.docker.io on 10.0.2.3:53: read udp 10.0.2.15:34210- 
 >10.0.2.3:53: i/o timeout
 Normal   BackOff    22s                kubelet, minikube  Back-off pulling 
 image "mariadb/columnstore:1.2.3"
 Warning  Failed     22s                kubelet, minikube  Error: 
 ImagePullBackOff
 Normal   Pulling    10s (x2 over 33s)  kubelet, minikube  Pulling image 
 "mariadb/columnstore:1.2.3"
 Warning  Failed     0s (x2 over 23s)   kubelet, minikube  Error: 
 ErrImagePull
 Warning  Failed     0s                 kubelet, minikube  Failed to pull 
 image "mariadb/columnstore:1.2.3": rpc error: code = Unknown desc = Error 
 response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: 
 lookup 
 registry-1.docker.io on 10.0.2.3:53: read udp 10.0.2.15:59043->10.0.2.3:53: i/o timeout

Any ideas on how to fix it?

-- kkss
columnstore
kubernetes
mariadb

1 Answer

6/18/2019

Helm default use the value.yaml file in root directory.

helm install -f myvalues.yaml ./helm-chart

You can donwload the mariaDB chart locally and edit it as per your need

https://github.com/helm/charts/tree/master/stable/mariadb

After editing chart you can go inside the root directory of chart folder and apply command to install chart.

-- Harsh Manvar
Source: StackOverflow