Skip to content

Commit

Permalink
docs: remove '> connections.out &' part when use 'kubectl port-forwar…
Browse files Browse the repository at this point in the history
…d' (#198)
  • Loading branch information
zyy17 authored Nov 13, 2024
1 parent 67fba56 commit 72fb17f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ If you want to deploy the GreptimeDB cluster, you can use the following commands

```console
# You can use the MySQL or PostgreSQL client to connect the cluster, for example: 'mysql -h 127.0.0.1 -P 4002'.
kubectl port-forward -n default svc/mycluster-frontend 4001:4001 4002:4002 4003:4003 4000:4000 > connections.out &
kubectl port-forward -n default svc/mycluster-frontend 4001:4001 4002:4002 4003:4003 4000:4000
```

If you want to expose the service to the public, you can use the `kubectl port-forward` command with the `--address` option:

```console
kubectl port-forward --address 0.0.0.0 svc/mycluster-frontend 4001:4001 4002:4002 4003:4003 4000:4000 > connections.txt &
kubectl port-forward --address 0.0.0.0 svc/mycluster-frontend 4001:4001 4002:4002 4003:4003 4000:4000
```

You can also read and write data using refer to the [docs](https://docs.greptime.com/user-guide/cluster).
Expand Down
2 changes: 1 addition & 1 deletion charts/greptimedb-standalone/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: greptimedb-standalone
description: A Helm chart for deploying standalone greptimedb
type: application
version: 0.1.31
version: 0.1.32
appVersion: 0.9.5
home: https://github.com/GreptimeTeam/greptimedb
sources:
Expand Down
6 changes: 3 additions & 3 deletions charts/greptimedb-standalone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A Helm chart for deploying standalone greptimedb

![Version: 0.1.31](https://img.shields.io/badge/Version-0.1.31-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.5](https://img.shields.io/badge/AppVersion-0.9.5-informational?style=flat-square)
![Version: 0.1.32](https://img.shields.io/badge/Version-0.1.32-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.5](https://img.shields.io/badge/AppVersion-0.9.5-informational?style=flat-square)

## Source Code
- https://github.com/GreptimeTeam/greptimedb
Expand Down Expand Up @@ -34,10 +34,10 @@ helm upgrade --install greptimedb-standalone greptime/greptimedb-standalone \

```console
# You can use the MySQL client to connect the greptimedb, for example: 'mysql -h 127.0.0.1 -P 4002'.
kubectl port-forward -n default svc/greptimedb-standalone 4002:4002 > connections.out &
kubectl port-forward -n default svc/greptimedb-standalone 4002:4002

# You can use the PostgreSQL client to connect the greptimedb, for example: 'psql -h 127.0.0.1 -p 4003 -d public'.
kubectl port-forward -n default svc/greptimedb-standalone 4003:4003 > connections.out &
kubectl port-forward -n default svc/greptimedb-standalone 4003:4003
```

## How to uninstall
Expand Down
4 changes: 2 additions & 2 deletions charts/greptimedb-standalone/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ helm upgrade --install greptimedb-standalone greptime/greptimedb-standalone \

```console
# You can use the MySQL client to connect the greptimedb, for example: 'mysql -h 127.0.0.1 -P 4002'.
kubectl port-forward -n default svc/greptimedb-standalone 4002:4002 > connections.out &
kubectl port-forward -n default svc/greptimedb-standalone 4002:4002

# You can use the PostgreSQL client to connect the greptimedb, for example: 'psql -h 127.0.0.1 -p 4003 -d public'.
kubectl port-forward -n default svc/greptimedb-standalone 4003:4003 > connections.out &
kubectl port-forward -n default svc/greptimedb-standalone 4003:4003
```

## How to uninstall
Expand Down

0 comments on commit 72fb17f

Please sign in to comment.