Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
```