Marco Zeisler 75e84e5a13 update doc
2021-06-11 17:12:27 +02:00
2021-06-11 17:12:27 +02:00
2021-05-24 18:05:17 +02:00
2020-11-17 19:58:32 +01:00
2021-05-27 20:12:16 +02:00

WebApp Template Project

Anuglar Frontend Django Backend

  • Start both middleware AND frontend dev server simultaneously
  • See README of subfolder for further information

Local testing

Add to hostsfile: 127.0.0.1 rdg 127.0.0.1 mongodb 127.0.0.1 redis

Deploy Kubernetes Admin Dashboard

Deploy dashboard:

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml

Create dashboard-admin.yaml file:

apiVersion: v1
kind: ServiceAccount
metadata:
  name: admin-user
  namespace: kubernetes-dashboard
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: admin-user
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
- kind: ServiceAccount
  name: admin-user
  namespace: kubernetes-dashboard

Apply it to kubernetes:

kubectl apply -f dashboard-admin.yaml

Get login token:

kubectl get secret -n kubernetes-dashboard $(kubectl get serviceaccount admin-user -n kubernetes-dashboard -o jsonpath="{.secrets[0].name}") -o jsonpath="{.data.token}" | base64 --decode

Start proxy:

kubectl proxy

Access URL: http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/ingress?namespace=default

Fix Darwin issue with Ingress

minikube stop && minikube delete && minikube start --vm=true --driver=hyperkit
Description
Project for Distributed Systems Engineering at TU Wien in 2021SS
Readme 1.4 MiB
Languages
Python 70.2%
TypeScript 20.3%
HTML 3.2%
JavaScript 2.9%
Dockerfile 1.8%
Other 1.6%