Skip to content

Test Kubernetes playground for Kuberenets on Vagrant virtual machines: setup cluster, deploy monitoring service, database, custom applications, etc.

License

nazarii-piontko/k8s-playground

Repository files navigation

Test Kubernetes playground

Here I'm tring play around with Kuberenets on Vagrant virtual machines (Virtualbox only): setup cluster, deploy monitoring service, database, custom applications, etc.

How to Run

  • Required software:
  • Open command line, select directory and execute:
    • git clone https://github.com/nazarii-piontko/test-k8s-playground.git
    • cd test-k8s-playground
    • vagrant up
  • Wait untill it finish.
  • Add the following into your hosts file (/etc/hosts or c:\Windows\System32\Drivers\etc\hosts):
    • 192.168.80.10 prometheus.k8s.local
    • 192.168.80.10 grafana.k8s.local
    • 192.168.80.10 api.k8s.local

What you get

There are three services/resources publicly availabe:

  • Prometheus: http://prometheus.k8s.local
  • Grafana: http://grafana.k8s.local
    • Login: admin
    • Password: admin
  • Dummy REST API service written in Python with Falcon framework:
    • Base URI: http://api.k8s.local
    • POST request to add body string into MongoDB: curl -X POST --data "Test Record" http://api.k8s.local
    • GET request to get latest 10 records: curl http://api.k8s.local

About

Test Kubernetes playground for Kuberenets on Vagrant virtual machines: setup cluster, deploy monitoring service, database, custom applications, etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published