- Install metrics-server on target clusters
# check for installation
$ kubectl get po -n kube-system | grep metrics-server
# installation
$ kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
-
if necessary, add a startup option
--kubelet-insecure-tls
-
or apply "metrics-server" with options
--kubelet-insecure-tls
$ kubectl apply -f https://raw.githubusercontent.com/kore3lab/dashboard/master/scripts/install/metrics-server/metrics-server-v0.5.1-kubelet-insecure-tls.yaml
- Installation
$ kubectl apply -f https://raw.githubusercontent.com/kore3lab/dashboard/master/scripts/install/kubernetes/recommended.yaml
- Uninstallation
$ kubectl delete -f https://raw.githubusercontent.com/kore3lab/dashboard/master/scripts/install/kubernetes/recommended.yaml
- Installation
$ helm repo add kore https://raw.githubusercontent.com/kore3lab/dashboard/master/scripts/install/kubernetes
$ helm search repo kore
$ kubectl create ns kore
$ helm install dashboard kore/kore-board -n kore \
--set backend.service.type=NodePort \
--set backend.service.nodePort=30081 \
--set frontend.service.type=NodePort \
--set frontend.service.nodePort=30080
$ helm list -n kore
- Uninstallation
$ helm uninstall dashboard -n kore
$ kubectl create configmap kore-board-kubeconfig --from-file=config=${HOME}/.kube/config --dry-run -o yaml | kubectl apply -n kore -f -
- Installation
$ docker-compose -f ./scripts/install/docker-compose.yaml up -d
- Uninstallation
$ docker-compose -f ./scripts/install/docker-compose.yaml down
- Installation
$ docker volume create data
$ docker volume create kubeconfig
$ docker run --rm -d --privileged --name terminal \
-v "kubeconfig:/app/.kube"\
ghcr.io/kore3lab/kore-board.terminal:latest --kubeconfig=/app/.kube/config --corsonoff=off
$ docker run --rm -d --name metrics-scraper \
-v "kubeconfig:/app/.kube"\
-v "data:/app/data"\
ghcr.io/kore3lab/kore-board.metrics-scraper:latest --kubeconfig=/app/.kube/config --db-file=/app/data/metrics.db
$ docker run --rm -d --name backend \
-v "kubeconfig:/app/.kube" \
--link metrics-scraper:metrics-scraper \
ghcr.io/kore3lab/kore-board.backend:latest --kubeconfig=/app/.kube/config --metrics-scraper-url=http://metrics-scraper:8000 --terminal-url=http://terminal:3003
$ docker run --rm -d -p 3000:80 --name frontend\
--link backend:backend --link terminal:terminal\
ghcr.io/kore3lab/kore-board.frontend:latest
- Uninstallation
$ docker stop frontend backend metrics-scraper terminal
$ docker volume rm data kubeconfig