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

https://github.com/imjaroiswebdev/kubernetes_scafold_complex_fib

Kubernetes scafolding project
https://github.com/imjaroiswebdev/kubernetes_scafold_complex_fib

docker kubernetes nodejs reactjs

Last synced: 2 months ago
JSON representation

Kubernetes scafolding project

Awesome Lists containing this project

README

          

# Very Complex Fibonacci Calculator

> Overcomplicated Fibanacci calculator implementation.

This will allow me to register an scafolding template for Kubernetes Cluster configuration

## Cluster Architecture

![Architecture Diagram](./fib_calculator_architecture.png)


## Applying Cluster Configuration

```shell
# At repository root
$ kubectl apply -f k8s
```


## Deleting Cluster Configuration

```shell
# At repository root
$ kubectl delete -f k8s
```


## Adding Secret Objects for password and encrypted data

```shell
$ kubectl create secret generic postgres-password --from-literal=POSTGRES_PASSWORD=pgpass123
```


## Setting the Ingress Service

Ingress controller used: __NGINX Ingress__

* Repository: https://github.com/kubernetes/ingress-nginx/

Mandatory command (applies to local and cloud)

```shell
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
```

For specific use with minikube and cloud see [docs](https://kubernetes.github.io/ingress-nginx/deploy/)


## Local Deployed Kubernetes Cluster Dashboard

![Minikube Dashboard](./minikube_dashboard.png)


## RabbitMQ Work Queue Manager available through /manage-queue/ route

![Minikube Dashboard](./rabbitmq-manager.png)


## App working

![App working screenshot](./app_working_screenshot.png)