-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1381 from joshuabaird/chore/update-chart-readme
Adds README to Helm chart
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Fluent Operator Helm chart | ||
|
||
[Fluent Operator](https://github.com/fluent/fluent-operator/) provides a Kubernetes-native logging pipeline based on Fluent-Bit and Fluentd. | ||
|
||
## Installation | ||
|
||
To install or upgrade Fluent Operator using Helm: | ||
|
||
```shell | ||
export FLUENT_OPERATOR_CONTAINER_RUNTIME="containerd" # or "cri-o", "docker" depending on the container runtime being used (see `values.yaml`) | ||
|
||
helm repo add fluent https://fluent.github.io/helm-charts | ||
helm upgrade --install fluent-operator fluent/fluent-operator \ | ||
--create-namespace \ | ||
--set containerRuntime=${FLUENT_OPERATOR_CONTAINER_RUNTIME} | ||
``` | ||
|
||
By default, all CRDs required for Fluent Operator will be installed. To prevent `helm install` from installing CRDs, you can set `fluent-bit.crdsEnable` or `fluentd.crdsEnable` to `false`. | ||
|
||
## Upgrading | ||
|
||
Helm [does not manage the lifecycle of CRDs](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/), so if the Fluent Operator CRDs already exist, subsequent | ||
chart upgrades will not add or remove CRDs even if they have changed. During upgrades, users should manually update CRDs: | ||
|
||
``` | ||
wget https://github.com/fluent/fluent-operator/releases/download/<version>/fluent-operator.tgz | ||
tar -xf fluent-operator.tgz | ||
kubectl replace -f fluent-operator/crds | ||
``` | ||
|
||
## Chart Values | ||
|
||
``` | ||
helm show values fluent/fluent-operator | ||
``` |