Kubernetes: creating a hostPath PersistentVolume in a single node cluster

To create a ‘hostPath’ PersistentVolume in a single node cluster (do not use in a cluster with more than 1 node):

kind: PersistentVolume
apiVersion: v1
metadata:
name: pv1
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/your-path-for-vol1"

If the above is pv1.yaml, apply with:

kubectl apply -f pv1.yaml

For more info, see the docs here.

Helm install of MariaDB on bare metal Kubernetes: “mkdir: cannot create directory ‘/bitnami/mariadb/data’: Permission denied”

Installing the MariaDB chart with Helm on Kubernetes, I ran into issues with permissions on the folder that I created for the PersistentVolume:

INFO  ==> ** Starting MariaDB setup **
INFO ==> Validating settings in MYSQL_/MARIADB_ env vars..
INFO ==> Initializing mariadb database…
mkdir: cannot create directory '/bitnami/mariadb/data': Permission denied
INFO ==> Stopping mariadb…

Per similar question here, if you’re manually creating or reusing a PersistentVolume for MariaDB, you need to “chown -R 1001:1001 /pv-dir” on the PV directory, as the MariaDB container runs with userid 1001 and group 1001.

Adding a new logical RAID array to a HP DL380 G7 server

A while back I added my first disks to my $150 eBay HP DL380 G7 server – if you’re looking for steps on how to get to the RAID settings on the DL380 server, see my previous post here.

I recently started to run out of space on the 2 drives I’d installed previously, so time to add some more storage. I added a couple of cheap refurbished WD Blue drives described here, and I have a step by step post on physically installing the drives here.

Now the drives are installed, I need to add them to the RAID controller. After the POST tests, hit F8 to get to the iLO setup, and then exit, per the steps described in my earlier post here.

Press F8 when prompted to get to the RAID setup:

Select ‘Create a Logical Drive’ – here I’m adding a new RAID array with my 2 newly inserted drives:

I selected the 2 newly installed 1TB drives, in a RAID 1+0 config:

F8 to save:

Saved:

… and now I have 2 RAID arrays, the first one I added at a 750GB RAID 1+0 array, and now the new 1TB RAID 1+0 array:

In the next post I’ll show adding a new store in ESXi to use the new space on this new RAID array.

Observing HF Propagation on 20m from US West Coast to East Coast

Spent a few mins operating FT8, and PSKReporter is showing 2 very distinct bands of reception reports, at approx 1200 miles and 2400 miles to the East from my location in Davis, CA:

I’m guessing the first band is propagation with 1 hop and the second band on the East coast is the second hop. It very distinctly shows how in between these two areas there’s noticeable dead zones where I’m not being heard at all. Very interesting!