Skip to content

Kubernetes deployments to create our example setup (Jenkins, Kafka, Elasticsearch, Filebeat and java transformations)

License

Notifications You must be signed in to change notification settings

logevents/demo-infra

Repository files navigation

demo-infra

Kubernetes deployments to create our example setup (Jenkins, Kafka, Elasticsearch, Filebeat and java transformations)

The presentation explaing motivation, purpose and hands-on session with this repository is available here (in german): https://www.youtube.com/watch?v=JKdJ4h9gIQg

Preconditions

Using this repo to create the demonstration infrastructure

  • creating the cluster by running 1_createCluster.sh
    • this needs a while till gcloud (gke) creates your new kubernetes cluster
    • When this succeeds kubectl should be configured and kubectl get po should work
  • run 2_provisionCluster.sh to setup some kubernetes roles
  • run 3_createKafka.sh to create minimal zookeeper and kafka instance
  • run 4_createConfigMapFilebeat.sh to create filebeat configmap (that contains the information what to scrape from jenkins folders)
  • run 4_createJenkins.sh to create jenkins instance with customized helm chart (jenkins with spring jobs on it)
  • run 5_prepareBuildApp.sh to compile and upload java app (code form here: https://github.com/logevents/demo-streaming-apps)
  • run 6_createELK.sh create all elasticsearch, logstash, kibana components from log transformation
  • run 7_transformationApps.sh to start the compiled app (step 5)

Shutdown

  • destroy created resource by running ** deleteCluster.sh

About

Kubernetes deployments to create our example setup (Jenkins, Kafka, Elasticsearch, Filebeat and java transformations)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published