Logging Operator
  • Logging Operator
  • Quickstart
  • Installation
    • Kubectl
    • Helm
  • Setup
  • Management
  • Configuration
    • Elasticsearch
    • Fluentd
    • Kibana
    • Index Lifecycle
    • Index Template
  • DEVELOPMENT
  • ROADMAP
  • CHANGELOG
Powered by GitBook
On this page
  • Pre-requisites
  • Deploying Logging Operator
  • Cleanup

Was this helpful?

Quickstart

A quickstart guide to create a minikube cluster and setup "Logging Operator" on it.

PreviousLogging OperatorNextKubectl

Last updated 4 years ago

Was this helpful?

Pre-requisites

In order to setup redis-operator, you'll need access to a Kubernetes cluster:-

  • - hypervisor to run a Kubernetes cluster

  • - for Kubernetes cluster creation on the local machine

  • - to interact with Kubernetes cluster

Deploying Logging Operator

For deployment of the Logging Operator, we need a Kubernetes runtime environment. We will use minikube for that purpose

minikube start --vm-driver virtualbox --cpus=4 --memory=8000

Now we can use kubectl to connect with the Kubernetes cluster.

Namespace Creation

Since we are going to use pre-baked manifests of Kubernetes in that case we need to setup the namespace with a specific name called "logging-operator".

kubectl create ns logging-operator

CRD Setup

So we have already pre-configured CRD in directory. We just have to run a magical kubectl commands.

kubectl apply -f config/crd/

RBAC Setup

kubectl apply -f config/rbac/

Operator Deployment

kubectl apply -f config/manager/manager.yaml

Deploy EFK Cluster

kubectl apply -f config/samples/

Cleanup

kubectl de;ete -f config/samples/
kubectl delete -f config/manager/manager.yaml
kubectl delete -f config/rbac/
kubectl delete -f config/crd/
kubectl delete ns logging-operator

Similar like CRD, we have pre-baked RBAC config files as well inside which can be installed and configured by kubectl.

Once all the initial steps are done, we can create the deployment for "Logging Operator". The deployment manifests for the operator are present inside file.

We have a few samples manifests files inside .

Virtualbox
Minikube
Kubectl
config/crd
config/rbac
config/manager/manager.yaml
config/sample