Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mucsi96/kubernetes-demos
https://github.com/mucsi96/kubernetes-demos
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mucsi96/kubernetes-demos
- Owner: mucsi96
- Created: 2022-09-09T06:43:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-10T12:39:23.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T03:12:55.821Z (about 1 month ago)
- Language: HCL
- Size: 365 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kubernetes-demos
[![CI](https://github.com/mucsi96/kubernetes-demos/actions/workflows/build.yml/badge.svg)](https://github.com/mucsi96/kubernetes-demos/actions/workflows/build.yml)
Contains demonstrations from simple to more advanced setups
1. Docker Compose + Nginx
2. Kubernetes + Nginx
3. Helm + Nginx
4. Helm + Nginx + Cert Manager
5. Spring Boot + Nginx + MySQL + Docker + Terraform + Helm + Cert Manager## Setup the cluster
Install Docker Desktop on local machine.
Install [K3s](https://k3s.io/) on the server.
```bash
curl -sfL https://get.k3s.io | sh -
```Get Kubernetes configuration and merge it with you local config in `~/.kube`.
Replace `default` with some better name and replace `127.0.0.1` with server IP.
```bash
cat /etc/rancher/k3s/k3s.yaml
```Get cluster nodes from your local machine.
```bash
kubectl get nodes
```