[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
helm部署influxdb
最新推荐文章于 2024-08-23 09:27:04 发布