nakem1 / k8s-docker-intro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

k8s-docker-intro

Description

It's a setup configuration for Kubernetes cluster including different web-services.

It was made due to my studying in 21-school, Russia. The main goal of project - learn how to organize and setup cluster in Kubernetes with Docker.

Requirments

You need to install minikube and virtualbox minikube driver. Than launch the

./setup.sh

and wait untill cluster sets up.

After setting up checkout for minikube dashboard and enjoy this little cute cluster.

Info

Cluster contains the following services:

Nginx server

A Nginx server listening on ports 80 and 443. Port 80 has a systematic redirection of type 301 to 443, which https. The page displayed is just my sample page (learning project you know:D ).

  • IP: 192.168.99.115:80

  • IP: 192.168.99.115:443

FTPS server

A FTPS server listening port 21.

  • IP: 192.168.99.115:21
  • Login: admin/admin

MySQL database

Database for keeping tables of Wordpress and PhpMyAdmin (see bellow)

  • IP: no external acceess

WordPress

A WordPress website listening on port 5050, which is working with a MySQL database. The WordPress website has several users and an administrator.

  • IP: 192.168.99.115:5050

  • Login: admin/admin

PhpMyAdmin

A PhpMyAdmin linked with MySQL

  • IP: 192.168.99.115:5000

  • Login: admin/admin

InfluxDB and Telegraf

Database and it's service to monitore all the containers in the cluster.

  • IP: no external access

Grafana

Grafana platform, listening on port 3000, linked with an InfluxDB database. Grafana is monitoring all the containers. There'are one dashboard per service.

  • IP: 192.168.99.115:3000

  • Login: admin/admin

Schema

Schema

Dashboard

Dashboard view

About


Languages

Language:PHP 33.7%Language:JavaScript 27.4%Language:Dockerfile 22.6%Language:Shell 13.5%Language:CSS 1.7%Language:HTML 1.2%