Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pferreirafabricio/kubernetes-cluster-demo

🐳 A simple repository with some configuration files for testing Kubernetes
https://github.com/pferreirafabricio/kubernetes-cluster-demo

cluster k8s kubernetes minikube wsl wsl-ubuntu

Last synced: about 21 hours ago
JSON representation

🐳 A simple repository with some configuration files for testing Kubernetes

Awesome Lists containing this project

README

        



Kubernetes cluster demo


🐋 This project provides a practical and hands-on approach to deploying and managing applications using Kubernetes. It includes YAML configuration files for deploying MySQL and Apache servers as Kubernetes pods.





license url



## :open_book: About

The [pod-apache.yml](./pod-apache.yml) and [pod-mysql.yml](./pod-mysql.yml) files are Kubernetes Pod configurations for Apache and MySQL servers respectively. These files define the containers to run within the pods, including the Docker images to use and the names of the containers.

> [!WARNING]
> The file [pod-mysql.yml](./pod-mysql.yml) is broken on purpose and doesn't provide any `env` configuration for MySQL.

The [deploy-mysql.yml](./deploy-mysql.yml) file contains the configuration for a Kubernetes Deployment of a MySQL server. It specifies the Docker image to use, and sets up labels and selectors for managing the pods.

The [docs/explanation.pt-BR.md](./docs/explanation.pt-BR.md) file provides a comprehensive explanation of Kubernetes, containers, and the differences between containers and virtualization. It also covers the architecture of Kubernetes, including the Control Plane and Compute Nodes, and explains the roles of various components such as the kube-apiserver, kube-scheduler, kube-controller-manager, and etcd. The document also introduces Minikube, a tool for running Kubernetes locally, and kubectl, the standard command-line tool for interacting with Kubernetes.

> [!NOTE]
> This project is a resource for me to help me understand Kubernetes and its use in deploying and managing containerized applications.

## :bricks: This project was built with

- [minikube](https://minikube.sigs.k8s.io/docs/)
- [wsl](https://learn.microsoft.com/en-us/windows/wsl/about)

## 📚 Learn more

- [Kubernetes Para Quem Não Entende Nada - Aula 00](https://www.youtube.com/watch?v=2kZRM-KHK0k)
- [Kubernetes Para Quem Não Entende Nada - Aula 01](https://www.youtube.com/watch?v=XLHtP-27q-o)