Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Latest commit

 

History

History
39 lines (27 loc) · 1.48 KB

resources.md

File metadata and controls

39 lines (27 loc) · 1.48 KB

Resources

Kubernetes on WSL

On Windows command line run kubectl config view to find the values of [windows-user-name],[minikube-ip],[port]:

mkdir ~/.kube && cp /mnt/c/Users/[windows-user-name]/.kube/config ~/.kube

If you are using minikube you need to set bellow settings

# allow kubectl to trust the certificate authority of minikube
kubectl config set-cluster minikube \
    --server=https://[minikube-ip]:[port] \
    --certificate-authority=/mnt/c/Users/[windows-user-name]/.minikube/ca.crt

# configure the client certificate to use when talking to minikube
kubectl config set-credentials minikube \
    --client-certificate=/mnt/c/Users/[windows-user-name]/.minikube/client.crt \
    --client-key=/mnt/c/Users/[windows-user-name]/.minikube/client.key

# create the context minikube with cluster and user info created above
kubectl config set-context minikube --cluster=minikube --user=minikub

More info:

Build pipelines

Controller metrics and dashboards

For information on how to monitor metrics from published from the operator, please review the metrics page.