如何在Kubernetes中安装MariaDB ColumnStore? [英] How to install MariaDB ColumnStore in Kubernetes?

查看:203
本文介绍了如何在Kubernetes中安装MariaDB ColumnStore?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图在我的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

可以正确安装所有内容.

Which installs everything correctly.

有没有一种使用头盔安装ColumnStore的方法?通过设计values.yaml文件?

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

以前有做过此事的人吗?

Anyone who has done this before?

更新:

这就是我尝试做的.

 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆