All Projects → tazjin → K8s Elk Demo

tazjin / K8s Elk Demo

Licence: other
A simple demonstration of the ELK stack on a Kubernetes cluster

Labels

Projects that are alternatives of or similar to K8s Elk Demo

Filterlists
🛡 The independent, comprehensive directory of filter and host lists for advertisements, trackers, malware, and annoyances.
Stars: ✭ 653 (+12960%)
Mutual labels:  nginx
Xray onekey
Xray 基于 Nginx 的 VLESS + XTLS 一键安装脚本
Stars: ✭ 7,012 (+140140%)
Mutual labels:  nginx
Medusa
🐈Medusa是一个红队武器库平台,目前包括扫描功能(200+个漏洞)、XSS平台、协同平台、CVE监控等功能,持续开发中 http://medusa.ascotbe.com
Stars: ✭ 796 (+15820%)
Mutual labels:  nginx
Zaver
Yet another fast and efficient HTTP server
Stars: ✭ 673 (+13360%)
Mutual labels:  nginx
Learn Nginx
Nginx 入门指南
Stars: ✭ 728 (+14460%)
Mutual labels:  nginx
Httperrorpages
⏩ Simple HTTP Error Page Generator
Stars: ✭ 772 (+15340%)
Mutual labels:  nginx
Ansible Role Nginx
Ansible role to install and manage nginx configuration
Stars: ✭ 648 (+12860%)
Mutual labels:  nginx
Awesome Nginx
A curated list of awesome Nginx distributions, 3rd party modules, Active developers, etc.
Stars: ✭ 811 (+16120%)
Mutual labels:  nginx
Ngxtop
Real-time metrics for nginx server
Stars: ✭ 6,246 (+124820%)
Mutual labels:  nginx
Modsecurity Nginx
ModSecurity v3 Nginx Connector
Stars: ✭ 805 (+16000%)
Mutual labels:  nginx
Ceryx
Dynamic reverse proxy based on NGINX OpenResty with an API
Stars: ✭ 688 (+13660%)
Mutual labels:  nginx
Theme.park
A collection of themes/skins for your favorite apps.
Stars: ✭ 714 (+14180%)
Mutual labels:  nginx
Images
Source code of images.weserv.nl, to be used on your own server(s).
Stars: ✭ 798 (+15860%)
Mutual labels:  nginx
Topngx
top for NGINX
Stars: ✭ 660 (+13100%)
Mutual labels:  nginx
Huststore
High-performance Distributed Storage
Stars: ✭ 806 (+16020%)
Mutual labels:  nginx
Wordops
Install and manage a high performance WordPress stack with a few keystrokes
Stars: ✭ 649 (+12880%)
Mutual labels:  nginx
Hestiacp
Hestia Control Panel | A lightweight and powerful control panel for the modern web.
Stars: ✭ 764 (+15180%)
Mutual labels:  nginx
Docker Nginx Http3
Alpine Linux image with Nginx 1.19.4 (mainline) with HTTP/3 (QUIC), TLSv1.3, 0-RTT, brotli, NJS support, and 10 MB size. All built on the bleeding edge for max performance. Built on the edge, for the edge.
Stars: ✭ 820 (+16300%)
Mutual labels:  nginx
Nginx Docs
Nginx 中文文档. Chinese translation of Nginx documentation.
Stars: ✭ 809 (+16080%)
Mutual labels:  nginx
Nginx Demos
NGINX and NGINX Plus demos
Stars: ✭ 799 (+15880%)
Mutual labels:  nginx

Kubernetes ELK demonstration

This repository contains files to demonstrate a simple ELK setup on Kubernetes.

Launching on Kubernetes

To launch the ELK stack:

  1. Ensure kubectl is configured to use an appropriate Kubernetes cluster.
  2. Launch the ELK ReplicationController: kubectl create -f elk-rc.yaml
  3. Launch the internal Logstash Service: kubectl create -f elk-svc-logstash.yaml
  4. Launch the public Kibana Service: kubectl create -f elk-svc-kibana.yaml
  5. Watch kubectl get pods and kubectl get svc until the services are up and the public IP becomes available.

To launch the demo application:

  1. Launch the demo-app ReplicationController: kubectl create -f demo-rc.yaml
  2. Launch the demo-app public Service: kubectl create -f demo-svc.yaml
  3. Watch kubectl get svc until the service becomes available, then point your web browser at it. Logs from this service are sent to Logstash configured above.

To demonstrate rolling-updates:

  1. Open the demo-rc.yaml file.
  2. Change all instances of demo-app-v1 to demo-app-v2
  3. Change the git-repository revision in volumes from static-v1 to static-v2
  4. Start the rolling update: kubectl rolling-update demo-app-v1 demo-app-v2 -f demo-rc.yaml

Docker images

There are a few simple Docker images needed for the presentation.

docker/elasticsearch

This image is based of Docker's official elasticsearch image with small configuration changes to listen on external network interfaces.

docker/logstash

This image is based of Docker's official logstash image and installs the log-courier plugin. Configuration is added to use the plugin and to grok nginx logs.

docker/log-courier

This image is the log-courier client configured to forward logs to the internal Logstash service. See the configuration file for this service as an example of KubeDNS usage.

docker/nginx

This image is the nginx web server configured to serve static files from the volume mounted into the container in the demo-service.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].