Skip to content

Commit

Permalink
Update TAG version and add exporter image (#1802)
Browse files Browse the repository at this point in the history
This PR adds the exporter image related to issue #1741
Also, this updates the TAG to use 1.20.
  • Loading branch information
feitnomore authored Jun 22, 2022
1 parent 4e1f37f commit 17e35ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion k8s/nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,15 @@ Alternatively you can use short tag which points to the latest image for selecte
> Warning: this tag is not stable and referenced image might change over time.
```shell
export TAG="1.15"
export TAG="1.20"
```

Configure the container images:

```shell
export IMAGE_NGINX="marketplace.gcr.io/google/nginx"
export IMAGE_NGINX_INIT="marketplace.gcr.io/google/nginx/debian9:${TAG}"
export IMAGE_NGINX_EXPORTER="marketplace.gcr.io/google/nginx/nginx-exporter:${TAG}"
export IMAGE_METRICS_EXPORTER="marketplace.gcr.io/google/nginx/prometheus-to-sd:${TAG}"
```

Expand Down Expand Up @@ -244,6 +245,7 @@ helm template "$APP_INSTANCE_NAME" chart/nginx \
--set nginx.image.tag="$TAG" \
--set nginx.persistence.storageClass="${DEFAULT_STORAGE_CLASS}" \
--set nginx.persistence.size="${PERSISTENT_DISK_SIZE}" \
--set exporter.image="$IMAGE_NGINX_EXPORTER" \
--set metrics.image="$IMAGE_METRICS_EXPORTER" \
--set metrics.curatedExporter.enabled="$CURATED_METRICS_EXPORTER_ENABLED" \
--set metrics.exporter.enabled="$METRICS_EXPORTER_ENABLED" \
Expand Down

0 comments on commit 17e35ca

Please sign in to comment.