Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanshepps/kubernetes-learning
All files relating to my CIS*4900 Software Project
https://github.com/ryanshepps/kubernetes-learning
grafana k6 kubernetes minikube prometheus react reactjs spring-boot
Last synced: about 1 month ago
JSON representation
All files relating to my CIS*4900 Software Project
- Host: GitHub
- URL: https://github.com/ryanshepps/kubernetes-learning
- Owner: ryanshepps
- Created: 2023-09-16T14:37:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-13T15:02:32.000Z (about 1 year ago)
- Last Synced: 2023-12-13T16:25:07.504Z (about 1 year ago)
- Topics: grafana, k6, kubernetes, minikube, prometheus, react, reactjs, spring-boot
- Language: JavaScript
- Homepage:
- Size: 919 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kubernetes Learning
## Requirements
[`kubectl`](https://kubernetes.io/docs/tasks/tools/) v1.28.2 \
[`minikube`](https://minikube.sigs.k8s.io/docs/start/) v1.31.2## Running
Start Minikube
```
minikube start
```Connect current session to minikube registry
```
eval $(minikube docker-env)
```Build docker images. These will automatically be added to the minikube docker registry because of the `eval` command we ran earlier.
```
cd backend && ./scripts/buildDocker.sh && cd .. \
cd frontend && ./scripts/buildDocker.sh && cd ..
```Create all namespaces so that resources can be added to them
```
kubectl apply -f kubernetes/app -f kubernetes/metrics
```Create all resources
```
kubectl apply -R -f kubernetes/
```Open frontend service to external traffic
```
minikube tunnel
```To access the frontend, run the following command and access the external IP via a web browser.
```
minikube service list
```