Skip to content

Commit

Permalink
update image tag (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaByte875 authored Aug 18, 2021
1 parent 003bb50 commit 99be9cf
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PROJECT="nebula-exporter"

GO ?= go
VERSION ?= v0.0.4
VERSION ?= v0.0.5
DockerUser=vesoft

ifeq (,$(shell go env GOBIN))
Expand Down
4 changes: 2 additions & 2 deletions README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ scrape_configs:
```shell
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
-v "<<PATH_OF_CONFIG_FILE>>:/config.yaml" \
vesoft/nebula-stats-exporter:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
vesoft/nebula-stats-exporter:v0.0.5 --bare-metal --bare-metal-config=/config.yaml

# 例如:
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
-v "$(pwd)/deploy/bare-metal/config.yaml:/config.yaml" \
vesoft/nebula-stats-exporter:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
vesoft/nebula-stats-exporter:v0.0.5 --bare-metal --bare-metal-config=/config.yaml
```
## 在裸机上运行
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ And adjust the host name `NEBULA_STATS_EXPORTER_HOSTNAME` accordingly.
```shell
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
-v "<<PATH_OF_CONFIG_FILE>>:/config.yaml" \
vesoft/nebula-stats-exporter:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
vesoft/nebula-stats-exporter:v0.0.5 --bare-metal --bare-metal-config=/config.yaml

# For example:
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
-v "$(pwd)/deploy/bare-metal/config.yaml:/config.yaml" \
vesoft/nebula-stats-exporter:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
vesoft/nebula-stats-exporter:v0.0.5 --bare-metal --bare-metal-config=/config.yaml
```
## Run on Bare Metal
Expand Down
12 changes: 6 additions & 6 deletions charts/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ apiVersion: v1
entries:
nebula-exporter:
- apiVersion: v1
appVersion: v2.0.0
created: "2021-06-22T11:26:39.869263+08:00"
appVersion: v2.5.0
created: "2021-08-16T11:54:34.149524302+08:00"
description: Nebula Graph stats exporter for prometheus
digest: f29e9f0aa30736c059fda743d3442deb72db97d7d42d06fd75e7663f5b9d17f9
digest: 8b02d03f03d5d0ee7fbb2dc6fdb92ad5878409f07d928a2d778413dfd7a0b8de
home: https://nebula-graph.io
icon: https://github.com/vesoft-inc/nebula/raw/master/docs/logo.png
keywords:
Expand All @@ -28,6 +28,6 @@ entries:
sources:
- https://github.com/vesoft-inc/nebula
urls:
- https://vesoft-inc.github.io/nebula-stats-exporter/charts/nebula-exporter-0.2.0.tgz
version: 0.2.0
generated: "2021-06-22T11:26:39.868345+08:00"
- https://vesoft-inc.github.io/nebula-stats-exporter/charts/nebula-exporter-v0.0.5.tgz
version: v0.0.5
generated: "2021-08-16T11:54:34.14868979+08:00"
Binary file removed charts/nebula-exporter-0.2.0.tgz
Binary file not shown.
Binary file added charts/nebula-exporter-v0.0.5.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion charts/nebula-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ startUp:

image:
repository: vesoft/nebula-stats-exporter
tag: v0.0.4
tag: v0.0.5
pullPolicy: IfNotPresent

serviceAccount:
Expand Down
4 changes: 2 additions & 2 deletions deploy/bare-metal/example-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
```shell
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
-v "<<PATH_OF_CONFIG_FILE>>:/config.yaml" \
vesoft/nebula-stats-exporter:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
vesoft/nebula-stats-exporter:v0.0.5 --bare-metal --bare-metal-config=/config.yaml

# 例如:
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
-v "$(pwd)/deploy/bare-metal/config.yaml:/config.yaml" \
vesoft/nebula-stats-exporter:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
vesoft/nebula-stats-exporter:v0.0.5 --bare-metal --bare-metal-config=/config.yaml
```

## 安装 prometheus
Expand Down
4 changes: 2 additions & 2 deletions deploy/bare-metal/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
```shell
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
-v "<<PATH_OF_CONFIG_FILE>>:/config.yaml" \
vesoft/nebula-stats-exporter:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
vesoft/nebula-stats-exporter:v0.0.5 --bare-metal --bare-metal-config=/config.yaml

# For example:
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
-v "$(pwd)/deploy/bare-metal/config.yaml:/config.yaml" \
vesoft/nebula-stats-exporter:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
vesoft/nebula-stats-exporter:v0.0.5 --bare-metal --bare-metal-config=/config.yaml
```

## Install prometheus
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ $ helm show values nebula-exporter/nebula-exporter
| `startUp.listenPort` | Nebula metrics 服务监听端口 | `9100` |
| `startUp.maxRequests` | 最大并行抓取请求数,使用 0 则不限制 | `40` |
| `image.repository` | Nebula stats exporter image repository | `vesoft/nebula-stats-exporter` |
| `image.tag` | Nebula stats exporter image tag | `v0.0.4` |
| `image.tag` | Nebula stats exporter image tag | `v0.0.5` |
| `image.pullPolicy` | Nebula stats exporter imagePullPolicy | `IfNotPresent` |
| `serviceAccount.create` | 指定是否应创建 service account | `true` |
| `serviceAccount.annotations` | 添加到 service account 的 annotations | `{}` |
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ The following table lists is the configurable parameters of the chart and their
| `startUp.listenPort` | The nebula metrics server listening port | `9100` |
| `startUp.maxRequests` | Maximum number of parallel scrape requests, use 0 for no limit | `40` |
| `image.repository` | Nebula stats exporter image repository | `vesoft/nebula-stats-exporter` |
| `image.tag` | Nebula stats exporter image tag | `v0.0.4` |
| `image.tag` | Nebula stats exporter image tag | `v0.0.5` |
| `image.pullPolicy` | Nebula stats exporter imagePullPolicy | `IfNotPresent` |
| `serviceAccount.create` | Specifies whether a service account should be created | `true` |
| `serviceAccount.annotations` | Annotations to add to the service account | `{}` |
Expand Down
6 changes: 3 additions & 3 deletions exporter/type.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package exporter

const NebulaItemClusterName = "_nebula"
const DefaultClusterName = "default"

type (
StaticConfig struct {
Version string `yaml:"version"`
Clusters []Cluster `yaml:"clusters"`
Version string `yaml:"version"`
Clusters []Cluster `yaml:"clusters"`
// Deprecated: use Clusters instead.
// TODO: Remove NebulaItems
NebulaItems []NebulaItem `yaml:"nebulaItems"`
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func main() {
})
}
config.Clusters = append(config.Clusters, exporter.Cluster{
Name: exporter.NebulaItemClusterName,
Name: exporter.DefaultClusterName,
Instances: instances,
})
config.NebulaItems = nil
Expand Down

0 comments on commit 99be9cf

Please sign in to comment.