Skip to content

Instantly share code, notes, and snippets.

View clemenko's full-sized avatar
🏠
Working from home

Andy Clemenko clemenko

🏠
Working from home
View GitHub Profile
#!/usr/bin/env bash
# harvester automation
export RED='\x1b[0;31m'
export GREEN='\x1b[32m'
export BLUE='\x1b[34m'
export YELLOW='\x1b[33m'
export NO_COLOR='\x1b[0m'
# variables

Pure Docker plugin

from https://hub.docker.com/r/purestorage/docker-plugin

Starting with Rocky 9.6

install docker

yum clean all; yum install -y vim yum-utils && yum-config-manager -y --add-repo https://download.docker.com/linux/centos/docker-ce.repo && yum install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin && mkdir -p /etc/docker && systemctl enable --now docker

quick install of docker, prometheus, and grafana

This guide is a quick, and easy way to setup docker, prometheus, and grafana for getting the metrics from a Pure FlashArray.

install docker

Rocky

yum clean all; yum install -y vim yum-utils && yum-config-manager -y --add-repo https://download.docker.com/linux/centos/docker-ce.repo && yum install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin && mkdir -p /etc/docker && systemctl start docker

Air Gapping Vcluster from Loft.sh

This idea is from using vcluster to serve our Rancher on Harvester : https://docs.harvesterhci.io/v1.4/advanced/addons/rancher-vcluster/ and https://www.vcluster.com/docs/platform/install/advanced/air-gapped.

There are quite a few moving parts here. In addtion to Vcluster assets we need to grab Rancher's as well. Rancher adds Cert-Manager.
Here is the install yaml https://github.com/harvester/experimental-addons/blob/main/rancher-vcluster/rancher-vcluster.yaml

Parts

  • vcluster
  • certmanager