helm部署influxdb

[root@k8s-n0 workspace]# helm repo add bitnami https://charts.bitnami.com/bitnami
"bitnami" has been added to your repositories
[root@k8s-n0 workspace]# helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "harbor_local" chart repository
...Successfully got an update from the "incubator_mirror" chart repository
...Successfully got an update from the "aliyun" chart repository
...Successfully got an update from the "elastic" chart repository
...Successfully got an update from the "stable" chart repository
...Successfully got an update from the "bitnami" chart repository
...Successfully got an update from the "kaiyuanshe" chart repository
...Successfully got an update from the "azure" chart repository
Update Complete. ⎈ Happy Helming![root@k8s-n0 workspace]# helm pull bitnami/influxdb
[root@k8s-n0 workspace]# ll
总用量 108
drwxr-xr-x  3 root root   208 2月   5 20:24 es
drwxr-xr-x  4 root root   109 2月   4 21:22 hadoop-1.0.4
-rw-r--r--. 1 root root  8998 1月  28 10:02 hadoop-1.0.4.tgz
drwxr-xr-x  4 root root   109 2月   4 21:23 hadoop-1.1.4
-rw-r--r--  1 root root 38798 2月   5 20:32 influxdb-2.0.2.tgz
-rw-r--r--. 1 root root 11589 1月  16 11:55 mysql-1.6.9.tgz
-rw-r--r--  1 root root 32017 2月   4 21:37 postgresql-8.6.4.tgz
-rw-r--r--. 1 root root  6189 1月  16 11:27 redis-1.1.15.tgz
drwxr-xr-x. 4 root root    93 1月  16 11:27 test1
-rw-r--r--. 1 root root  3574 1月  16 11:43 test1-0.1.0.tgz
[root@k8s-n0 workspace]# sudo helm install influxdb influxdb-2.0.2.tgz -n dmgeo-lib
NAME: influxdb
LAST DEPLOYED: Fri Feb  5 20:34:01 2021
NAMESPACE: dmgeo-lib
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
** Please be patient while the chart is being deployed **


InfluxDB(TM) can be accessed through following DNS names from within your cluster:
    InfluxDB(TM): influxdb.dmgeo-lib.svc.cluster.local (port 8086)

To connect to your database run the following commands:

    kubectl run influxdb-client --rm --tty -i --restart='Never' --namespace dmgeo-lib  \
        --image docker.io/bitnami/influxdb:2.0.3-debian-10-r0 \
        --command -- influx -host influxdb -port 8086

To connect to your database from outside the cluster execute the following commands:

    kubectl port-forward svc/influxdb 8086:8086 & influx -host 127.0.0.1 -port 8086

参考链接:
https://bitnami.com/stack/influxdb/helm

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

学亮编程手记

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值