Management

A logging operator management stuff

Index LifeCycle

There is an API created for managing the index lifecycle policies.

---
apiVersion: logging.opstreelabs.in/v1alpha1
kind: IndexLifecycle

Kubectl

For deploying the index lifecycle, we may need to update the file under config/samples/lifecycle-example.yaml.

kubectl apply -f config/samples/lifecycle-example.yaml

Helm

Helm can also be used to deploy the index lifecycle. After updating the values file inside helm-charts.

helm upgrade index-lifecycle ./ \
    -f values.yaml --set lifecycle.enabled=true \
    --namesapce logging-operator --install

Index Template

There is an API created for managing the index templates.

---
apiVersion: logging.opstreelabs.in/v1alpha1
kind: IndexTemplate

Kubectl

For deploying the index template, we may need to update the file under config/samples/index-template-example.yaml.

kubectl apply -f config/samples/index-template-example.yaml

Helm

Helm can also be used to deploy the index templates. After updating the values file inside helm-charts.

helm upgrade index-template ./ \
    -f values.yaml --set indexTemplate.enabled=true \
    --namesapce logging-operator --install

Last updated