/kube-elasticsearch-amq-demo

Demo project to deploy an ELK stack and an ActiveMQ to kubernetes

MIT LicenseMIT

Welcome to kube-elasticsearch-amq-demo 👋

License: MIT Twitter: MalcMacphail

Demo project to deploy an ELK stack and an ActiveMQ to kubernetes

Dependencies

This project requires the activemq-logstash github package docker image. To allow minikube to download the docker image, configure it:

kubectl create secret generic pullsecret \
    --from-file=.dockerconfigjson=${HOME}/.docker/config.json \
    --type=kubernetes.io/dockerconfigjson
kubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "pullsecret"}]}'

The docker token must be set in the config.json file. This can be done when authenticating to github packages.

See this article for more explanations.

Configuration

Minikube requires some tweaking to run this example. I like space, so I run 16Gi of RAM, but feel free to adjust accordingly to your specs:

minikube config set memory 16000

Minikube will pull the image from activemq-logstash github docker package.

Deployment

Deploy on minikube using kubectl:

kubectl apply -f es.yaml,kibana.yaml,amq.yaml,logstash.yaml

Author

👤 mmacphail

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator