Marco Zeisler 96f187910b fix
2021-05-17 18:24:13 +02:00
fix
2021-05-17 18:24:13 +02:00
2021-05-15 14:02:19 +02:00
2021-04-13 21:12:49 +02:00
2020-11-17 19:58:32 +01:00

WebApp Template Project

Anuglar Frontend Django Backend

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

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%