Setup proxmox-csi-driver in K3S Kubernetes Cluster using FluxCD

Setup proxmox-csi-driver in K3S Kubernetes Cluster using FluxCD

Currently, I have small, two-node sandbox k3s cluster on my Proxmox homeserver. It is great for testing new things in Kubernetes ecosystem, but currently i’m missing one thing that is pretty awesome on “real” cloud environments with managed Kubernetes services - additional persistent volumes. Of course, I can use local-path to get persistent storage in my cluster, but it would be cool to attach separate virtual disks per pod. That’s when i found proxmox-csi-driver.

Read more →

Password prompt while trying to use ‘minikube tunnel’ ([email protected]’s password:)

Password prompt while trying to use 'minikube tunnel' (docker@127.0.0.1's password:)

Issue

$ minikube tunnel
✅  Tunnel successfully started
📌  NOTE: Please do not close this terminal as this process must stay alive for the tunnel to be accessible ...
🏃  Starting tunnel for service balanced.
[email protected]'s password:

Solution

You need to add minikube’s ssh key to your ssh agent

ssh-add C:\Users\user\.minikube\machines\minikube\id_rsa

Issues with ssh-add

Cannot use ssh-add, agent not running

Make sure ssh-agent is running

Get-Service ssh-agent | Set-Service -StartupType Automatic
Start-Service ssh-agent

Permissions for ‘C:\Users\user.minikube\machines\minikube\id_rsa’ are too open.

In case you get “Permissions for ‘C:\Users\user\.minikube\machines\minikube\id_rsa’ are too open.” you might need to copy id_rsa to desktop and change permissions https://superuser.com/a/1296046

Read more →