如何在 Kubernetes 中安装 MariaDB ColumnStore? [英] How to install MariaDB ColumnStore in Kubernetes?
问题描述
我一直在尝试在我的 kuberentes 集群中安装 MariaDB ColumnStore,但没有成功.我似乎找不到任何关于如何做到这一点的信息(至少我可以理解).
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.
之前我使用 helm 安装了行基础 MariaDB
Previously I have installed the row base MariaDB using helm
helm install stable/mariadb
正确安装一切.
有没有办法使用 helm 安装 ColumnStore?也许通过设计 values.yaml 文件?
Is there a way to install ColumnStore using helm? By perhaps designing the values.yaml file?
有谁做过这个?
更新:
这是我尝试做的.
git clone https://github.com/mariadb-corporation/mariadb-kubernetes
helm install mariadb-enterprise --name my-cluster --set mariadb.cluster.topology=columnstore-standalone
但我收到错误Err:ImagePull"
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?
推荐答案
Helm默认使用根目录下的value.yaml文件.
Helm default use the value.yaml file in root directory.
helm install -f myvalues.yaml ./helm-chart
您可以在本地下载 mariaDB 图表并根据需要进行编辑
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.
这篇关于如何在 Kubernetes 中安装 MariaDB ColumnStore?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!