Posts By: jonny

Use Docker Registry in Podman

By default podman needs the full URL to pull in a docker image. So instead of: you need: To configure podman to to check the docker registry by default amend: And add the following

AWS Secrets Manager for EKS Env Variables

With an EKS cluster created I followed the AWS instructions for integrating secrets manager so I could pull secrets and use them as environment variables in pods. The secrets were mounted fine and I could cat them out when exec’ing into the container. However, nothing I did would allow the secrets to be used as… Read more »

Install MariaDB on MacOSX

Using brew to install MariaDB: To manage the service use ‘brew services’ e.g Notice that the install ran the following: So connect to MariaDB as your Mac user e.g. I used my mac user password. Or just with the mysql command e.g.

Hashicorp Nomad Dev Install on Debian

Ensure the deb repo is configured and install nomad: Environment Variables Development Mode These commands are for testing non-production tasks. In this example I am running on a server with IP address 192.168.1.91 The web UI will be available on that IP port 4646 Check the status of the node: Running a test redis job… Read more »

Hashicorp Vault Install on Debian

For a new vault cluster, add the APT repo: Depending on how you have configured the listener you may need to set an environment variable specifying the vault location before commands like ‘vault status’ will work: Notice I am setting a variable to disable certificate verification to avoid having to add ‘-tls-skip-verify’ to each command…. Read more »

Packer HCL Environment Variables

Converting Packer templates from json to HCL for Packer version 1.7.2. The easiest thing to do is try the automated conversion: For environment variables we need to set them with a PKR_VAR prefix e.g. Then that can be defined in the template.pkr.hcl file with: And then used in later sections like this: Then your validation… Read more »

CentOS 8 munin-node needs PowerTools

I had the following error installing munin-node on a new CentOS 8 system: Depsolve Error occured: Problem: package munin-node-2.0.54-2.el8.noarch requires perl(Net::SNMP), but none of the providers can be installed\n – conflicting requests – nothing provides perl(Digest::SHA1) >= 1.02 needed by perl-Net-SNMP-6.0.1-25.el8.1.noarch Solution is to enable the repo CentOS-PowerTools sed -i ‘/enabled=0/enabled=1/’ /etc/yum.repos.d/CentOS-PowerTools.repo