Logging Operator
Search…
Management
A logging operator management stuff

Index LifeCycle

There is an API created for managing the index lifecycle policies.
1
---
2
apiVersion: logging.opstreelabs.in/v1alpha1
3
kind: IndexLifecycle
Copied!

Kubectl

For deploying the index lifecycle, we may need to update the file under config/samples/lifecycle-example.yaml.
1
kubectl apply -f config/samples/lifecycle-example.yaml
Copied!

Helm

Helm can also be used to deploy the index lifecycle. After updating the values file inside helm-charts.
1
helm upgrade index-lifecycle ./ \
2
-f values.yaml --set lifecycle.enabled=true \
3
--namesapce logging-operator --install
Copied!

Index Template

There is an API created for managing the index templates.
1
---
2
apiVersion: logging.opstreelabs.in/v1alpha1
3
kind: IndexTemplate
Copied!

Kubectl

For deploying the index template, we may need to update the file under config/samples/index-template-example.yaml.
1
kubectl apply -f config/samples/index-template-example.yaml
Copied!

Helm

Helm can also be used to deploy the index templates. After updating the values file inside helm-charts.
1
helm upgrade index-template ./ \
2
-f values.yaml --set indexTemplate.enabled=true \
3
--namesapce logging-operator --install
Copied!
Last modified 1yr ago