Setting up k3s on a single RPi4

Testing out the ability to run some containers on RPi4 and I have a single borrowed device. Most of the tutorials out there describe a multi-node configuration and that’s led to some challenges for me to understand this. First, I started with this tutorial: https://github.com/mhausenblas/kube-rpi

This gets you there most of the way, but I found a few errors in the configuration. First, the port forward config needs to include “–address 1.2.3.4” where the IP address is the external IP of your RPi.

Second, the token retrieval for logging into the dashboard was not correct. Here’s what I used instead:


1
2
kubectl get secrets
kubectl describe secret kdash-kubernetes-dashboard-token-mwgj5

The designator for your instance may be different after the token part of the name. Copying that token into the login allowed me to get into the dashboard.

I’m now having a problem with the dashboard throwing a bunch of errors. I’ll update when I have that worked out.

How to create a file drop in Teams

Actually, this is to create a file folder in Teams that will move files to another (private) location whenever a new file is dropped in there. Why would you want to do that? You might want to get files in a semi-secure manner but then not have them live in a viewable location. Think, budgets from the CFO that others shouldn’t see.

Using Flow, create a new flow with the Sharepoint “When a file is created (properties only)” trigger. The Folder field needs to be populated with the file folder you’re watching.

Add an action for Sharepoint “Move file”. The File to Move field needs to be a dynamic action of “Identifier”. The Destination Site Address and Destination Folder may not be discoverable, so you’ll need to populate those with the correct target location.

One final note, I’m pretty sure the person adding the flow needs to be an Owner of the team, although I haven’t tested that.