mirror of
https://github.com/bitnami/containers.git
synced 2026-03-07 10:07:20 +08:00
0.2.0-debian-10-r603 release
This commit is contained in:
@@ -16,7 +16,7 @@ RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stac
|
||||
RUN chmod g+rwX /opt/bitnami
|
||||
|
||||
ENV BITNAMI_APP_NAME="fluentd-exporter" \
|
||||
BITNAMI_IMAGE_VERSION="0.2.0-debian-10-r602" \
|
||||
BITNAMI_IMAGE_VERSION="0.2.0-debian-10-r603" \
|
||||
PATH="/opt/bitnami/fluentd-exporter/bin:$PATH"
|
||||
|
||||
EXPOSE 9309
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
# Fluentd Exporter packaged by Bitnami
|
||||
|
||||
# What is Fluentd Exporter?
|
||||
## What is Fluentd Exporter?
|
||||
|
||||
Simple server that scrapes fluentd metrics endpoint and exports them as Prometheus metrics.
|
||||
> Simple server that scrapes fluentd metrics endpoint and exports them as Prometheus metrics.
|
||||
|
||||
[https://github.com/V3ckt0r/fluentd-exporter](https://github.com/V3ckt0r/fluentd-exporter)
|
||||
[Overview of Fluentd Exporter](https://github.com/V3ckt0r/fluentd-exporter)
|
||||
|
||||
# TL;DR
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
$ docker run --name fluentd-exporter bitnami/fluentd-exporter:latest
|
||||
```
|
||||
|
||||
# Why use Bitnami Images?
|
||||
## Why use Bitnami Images?
|
||||
|
||||
* Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems.
|
||||
* With Bitnami images the latest bug fixes and features are available as soon as possible.
|
||||
@@ -23,20 +24,20 @@ $ docker run --name fluentd-exporter bitnami/fluentd-exporter:latest
|
||||
|
||||
> This [CVE scan report](https://quay.io/repository/bitnami/fluentd-exporter?tab=tags) contains a security report with all open CVEs. To get the list of actionable security issues, find the "latest" tag, click the vulnerability report link under the corresponding "Security scan" field and then select the "Only show fixable" filter on the next page.
|
||||
|
||||
# Why use a non-root container?
|
||||
## Why use a non-root container?
|
||||
|
||||
Non-root container images add an extra layer of security and are generally recommended for production environments. However, because they run as a non-root user, privileged tasks are typically off-limits. Learn more about non-root containers [in our docs](https://docs.bitnami.com/tutorials/work-with-non-root-containers/).
|
||||
|
||||
# Supported tags and respective `Dockerfile` links
|
||||
## Supported tags and respective `Dockerfile` links
|
||||
|
||||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`0`, `0-debian-10`, `0.2.0`, `0.2.0-debian-10-r602`, `latest` (0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-fluentd-exporter/blob/0.2.0-debian-10-r602/0/debian-10/Dockerfile)
|
||||
* [`0`, `0-debian-10`, `0.2.0`, `0.2.0-debian-10-r603`, `latest` (0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-fluentd-exporter/blob/0.2.0-debian-10-r603/0/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/fluentd-exporter GitHub repo](https://github.com/bitnami/bitnami-docker-fluentd-exporter).
|
||||
|
||||
# Get this image
|
||||
## Get this image
|
||||
|
||||
The recommended way to get the Bitnami Fluentd Exporter Docker Image is to pull the prebuilt image from the [Docker Hub Registry](https://hub.docker.com/r/bitnami/fluentd-exporter).
|
||||
|
||||
@@ -56,21 +57,21 @@ If you wish, you can also build the image yourself.
|
||||
$ docker build -t bitnami/fluentd-exporter:latest 'https://github.com/bitnami/bitnami-docker-fluentd-exporter.git#master:0/debian-10'
|
||||
```
|
||||
|
||||
# Connecting to other containers
|
||||
## Connecting to other containers
|
||||
|
||||
Using [Docker container networking](https://docs.docker.com/engine/userguide/networking/), a different server running inside a container can easily be accessed by your application containers and vice-versa.
|
||||
|
||||
Containers attached to the same network can communicate with each other using the container name as the hostname.
|
||||
|
||||
## Using the Command Line
|
||||
### Using the Command Line
|
||||
|
||||
### Step 1: Create a network
|
||||
#### Step 1: Create a network
|
||||
|
||||
```console
|
||||
$ docker network create fluentd-exporter-network --driver bridge
|
||||
```
|
||||
|
||||
### Step 2: Launch the Fluentd Exporter container within your network
|
||||
#### Step 2: Launch the Fluentd Exporter container within your network
|
||||
|
||||
Use the `--network <NETWORK>` argument to the `docker run` command to attach the container to the `fluentd-exporter-network` network.
|
||||
|
||||
@@ -78,12 +79,12 @@ Use the `--network <NETWORK>` argument to the `docker run` command to attach the
|
||||
$ docker run --name fluentd-exporter-node1 --network fluentd-exporter-network bitnami/fluentd-exporter:latest
|
||||
```
|
||||
|
||||
### Step 3: Run another containers
|
||||
#### Step 3: Run another containers
|
||||
|
||||
We can launch another containers using the same flag (`--network NETWORK`) in the `docker run` command. If you also set a name to your container, you will be able to use it as hostname in your network.
|
||||
|
||||
|
||||
# Configuration
|
||||
## Configuration
|
||||
|
||||
Fluentd exporter uses the fluentd monitoring agent api. [Fluentd official documentation](https://docs.fluentd.org/v1.0/articles/monitoring) details adding this source to the fluentd configuration file:
|
||||
```yaml
|
||||
@@ -95,7 +96,7 @@ Fluentd exporter uses the fluentd monitoring agent api. [Fluentd official docume
|
||||
```
|
||||
The metrics can then be accessed at: curl http://host:24220/api/plugins.json
|
||||
|
||||
## Flags/Arguments
|
||||
### Flags/Arguments
|
||||
```console
|
||||
-telemetry.endpoint string
|
||||
Path under which to expose metric. (default "/metrics")
|
||||
@@ -113,7 +114,7 @@ The metrics can then be accessed at: curl http://host:24220/api/plugins.json
|
||||
Print version information.
|
||||
```
|
||||
|
||||
# Logging
|
||||
## Logging
|
||||
|
||||
The Bitnami fluentd-exporter Docker image sends the container logs to the `stdout`. To view the logs:
|
||||
|
||||
@@ -123,19 +124,19 @@ $ docker logs fluentd-exporter
|
||||
|
||||
You can configure the containers [logging driver](https://docs.docker.com/engine/admin/logging/overview/) using the `--log-driver` option if you wish to consume the container logs differently. In the default configuration docker uses the `json-file` driver.
|
||||
|
||||
# Maintenance
|
||||
## Maintenance
|
||||
|
||||
## Upgrade this image
|
||||
### Upgrade this image
|
||||
|
||||
Bitnami provides up-to-date versions of fluentd-exporter, including security patches, soon after they are made upstream. We recommend that you follow these steps to upgrade your container.
|
||||
|
||||
### Step 1: Get the updated image
|
||||
#### Step 1: Get the updated image
|
||||
|
||||
```console
|
||||
$ docker pull bitnami/fluentd-exporter:latest
|
||||
```
|
||||
|
||||
### Step 2: Stop and backup the currently running container
|
||||
#### Step 2: Stop and backup the currently running container
|
||||
|
||||
Stop the currently running container using the command
|
||||
|
||||
@@ -151,13 +152,13 @@ $ rsync -a /path/to/fluentd-exporter-persistence /path/to/fluentd-exporter-persi
|
||||
|
||||
You can use this snapshot to restore the database state should the upgrade fail.
|
||||
|
||||
### Step 3: Remove the currently running container
|
||||
#### Step 3: Remove the currently running container
|
||||
|
||||
```console
|
||||
$ docker rm -v fluentd-exporter
|
||||
```
|
||||
|
||||
### Step 4: Run the new image
|
||||
#### Step 4: Run the new image
|
||||
|
||||
Re-create your container from the new image, [restoring your backup](#restoring-a-backup) if necessary.
|
||||
|
||||
@@ -165,11 +166,11 @@ Re-create your container from the new image, [restoring your backup](#restoring-
|
||||
$ docker run --name fluentd-exporter bitnami/fluentd-exporter:latest
|
||||
```
|
||||
|
||||
# Contributing
|
||||
## Contributing
|
||||
|
||||
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/bitnami-docker-fluentd-exporter/issues), or submit a [pull request](https://github.com/bitnami/bitnami-docker-fluentd-exporter/pulls) with your contribution.
|
||||
|
||||
# Issues
|
||||
## Issues
|
||||
|
||||
If you encountered a problem running this container, you can file an [issue](https://github.com/bitnami/bitnami-docker-fluentd-exporter/issues/new). For us to provide better support, be sure to include the following information in your issue:
|
||||
|
||||
@@ -179,7 +180,7 @@ If you encountered a problem running this container, you can file an [issue](htt
|
||||
- Version of this container
|
||||
- The command you used to run the container, and any relevant output you saw (masking any sensitive information)
|
||||
|
||||
# License
|
||||
## License
|
||||
Copyright (c) 2021 Bitnami
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
||||
Reference in New Issue
Block a user