azure-databricks-operator/docs/resources.md

1.5 KiB

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.