How to install MariaDB ColumnStore in Kubernetes?

試著忘記壹切 提交于 2019-12-11 15:54:22

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/56649206/how-to-install-mariadb-columnstore-in-kubernetes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!