Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nareshbhatia/k8s-demo
Kubernetes demo
https://github.com/nareshbhatia/k8s-demo
Last synced: 2 days ago
JSON representation
Kubernetes demo
- Host: GitHub
- URL: https://github.com/nareshbhatia/k8s-demo
- Owner: nareshbhatia
- Created: 2021-11-22T03:17:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-20T01:21:00.000Z (about 3 years ago)
- Last Synced: 2024-12-28T11:30:22.410Z (about 2 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kubernetes Crash Course for Absolute Beginners
- Video: https://www.youtube.com/watch?v=s_o8dwzRlu4
- Repo: https://gitlab.com/nanuchi/k8s-in-1-hour## Getting Started
- Install [Docker](https://www.docker.com/get-started)
- Install [minikube](https://minikube.sigs.k8s.io/docs/start/)
- Start minikube```sh
minikube start --driver docker
```- Apply the 4 YAML files to the minikube instance:
```sh
kubectl apply -f mongo-config.yaml
kubectl apply -f mongo-secret.yaml
kubectl apply -f mongo.yaml
kubectl apply -f webapp.yaml
```Run the webapp from command line:
```sh
minikube service webapp-service
```Note that the terminal needs to remain open for the webapp to run.
Control-C will stop the web app.