Tuesday, 26 March 2019

Kubernetes in Docker on Mac

brew link --overwrite kubernetes-cli

kubectl config use-context docker-for-desktop

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml

vim dashboard-adminuser.yaml

apiVersion: v1
kind: ServiceAccount
name: admin-user
namespace: kube-system

kubectl apply -f dashboard-adminuser.yaml
kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}')

Copy the token.

kubectl proxy

Open http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/

Windows 11, but for Web

This guy has created Windows 11 on the web. Have a look at https://dev.to/piyush/windows-11-but-for-web-22h1 Source is over at  https://gith...