In TrueNAS: Services, NFS - enable NFSV4 Storage, Pools, Add Dataset - Disable Sync Storage, Pools, Dataset, Edit Permissions - World writable, apply recursively You should limit the netwo...
Docker Notes
Pull down the latest Ubuntu image docker pull ubuntu Real simple “Hello, World” example docker run ubuntu /bin/echo "hello there, docker user" List images docker images List running Docker co...
Monitoring a Kubernetes cluster
While there are more complete monitoring solutions (Portainer, Rancher), I just needed a simple script to show information on a single screen. This is a work in progress. Running this script wit...
SSH - Passwordless login
It would be best if you dedicated an account on the servers being managed, so create the same account on each server. Now lets get SSH passwordless login working for this account. You may need to ...
Installing Kubernetes on Ubuntu 20
This script assumes you are starting with a brand new Ubuntu Server v20 install. I would not suggest Ubuntu 22 quite yet. Run this script on your master and worker nodes. #!/bin/bash function us...
Creating a VM in Proxmox using a BASH script
#!/bin/bash # source: https://docs.technotim.live/posts/cloud-init-cloud-image/ # source: https://pve.proxmox.com/pve-docs/qm.1.html set -e #---------------------------------------------------...
Ansible Examples
Ad-hoc commands ad hoc commands are great for tasks you repeat rarely. For example, if you want to power off all the machines in your lab for Christmas vacation, you could execute a quick one-li...