Skip to content

Instantly share code, notes, and snippets.

View irishgordo's full-sized avatar
coffee - always coffee

Mike Russell irishgordo

coffee - always coffee
View GitHub Profile
@irishgordo
irishgordo / openstack_devstack_vm.md
Created April 5, 2024 22:20 — forked from markus-hentsch/openstack_devstack_vm.md
Minimal DevStack in a VirtualBox VM for Keystone

Minimal DevStack VirtualBox setup

This is a very concise quickstart guide to setup an OpenStack DevStack limited to Keystone in a VirtualBox VM using Ubuntu Server LTS as the guest operating system. By limiting the DevStack to primarily deploy Keystone only, installation is quick and the machine does not take up much resources.

As the time of writing it uses up about 11 GB of disk space and 1 GB of RAM running Keystone.

This is meant for testing authentication and IDM-related things with OpenStack Keystone while disregarding other components. It can easily be extended by further components by adjusting the local.conf accordingly.

@irishgordo
irishgordo / openstack_devstack_aio_vm.md
Created April 5, 2024 19:50 — forked from markus-hentsch/openstack_devstack_aio_vm.md
DevStack within an OpenStack VM (all-in-one)

DevStack within an OpenStack VM (all-in-one)

Host VM on OpenStack

source $OPENRC_FILE

openstack volume create --size 200 --image "Ubuntu 22.04 LTS x64" devstack-boot-volume

openstack security group create devstack-sg
@irishgordo
irishgordo / testing-v130-rc4-airgap-upgrade.md
Last active March 13, 2024 16:17
testing v1.2.1 -> v1.2-head -> v1.3.0 || v2.7.9 -> v2.7.11
@irishgordo
irishgordo / minio-with-certgen-as-harvester-backup-target.md
Last active July 9, 2024 10:36
Rough Guide of: MinIO w/ MinIO's 'certgen' for TLS as S3 Endpoint for Backup Target w/ Harvester v1.1.2

MinIO w/ MinIO's certgen, as a S3 backup target for Harvester

MinIO and MinIO's certgen

There are a lot of ways to set up a MinIO Server depending on the need. As a quick example this just demonstrates an ability for MinIO to be running the server as a single executable binary downloaded from MinIO's site, as well as continuing to use MinIO's open source suite with the great little self-signed TLS cert tool called certgen. Then how to leverage both elements with Harvester as an S3 backup target.

@irishgordo
irishgordo / minio-with-ssl.txt
Last active October 23, 2023 15:47
MinIO with SSL Lightweight Info dump (no docker / k8s blah needed, just a vm) w/ Rancher & Harvester
This is kinda a pain, the SSL part was hard to get down / understand.
(it took forever troubleshooting
The Binary of both Minio & Certgen is probably the easiest to work with.
x86-64, from minio
- certgen: https://github.com/minio/certgen
The loadout will have:
- single drive leveraged as a folder for storage since that's common place
- SSL outta the box, since that's ABSOLUTELY NEEDED when building custom RKE2 clusters that have backups created... plainly, we can't have minio without SSL if we're planning to use MinIO for RKE2 Backups...
@irishgordo
irishgordo / fix_discord.md
Created January 8, 2023 20:52 — forked from Shika-B/fix_discord.md
Discord lagging during long calls on Linux

My discord was lagging increasingly during long calls on my Manjaro installation. I searched a bit on the Wiki but the fix shared there didn't work for. What worked for me is this answer on the Discord support forum, that I will detail a bit here. Start by moving to the right folder:

cd ~/.config/discord/<your_version>/modules/discord_desktop_core

Then, depending on whether you are a javascript developer or not, you may need to install the npm package of your distribution. On Arch/Manjaro, yay -S npm will do. Once this is done, unpack the core.asar file with

npx asar extract core.asar core
@irishgordo
irishgordo / rke2-airgap-opensuse-leap-single-node-user-data.yaml
Last active February 14, 2023 23:55
"Currently Not Working" - Attempt at providing a `user-data` cloud-init/cloud-config templating for automating the provisioning of the RKE2 in an airgapped environment so to avoid manual steps in "Test Steps" at step 3 here: https://harvester.github.io/tests/manual/harvester-rancher/68-fully-airgapped-rancher-integrate-harvester-no-proxy/
#cloud-config
write_files:
- path: /tmp/run-script.sh
content: |
#!/usr/bin/bash
# set up chunks of data to write out
REGISTRIES=$(cat <<-END
mirrors:
docker.io:
@irishgordo
irishgordo / config.yaml
Created April 27, 2022 21:01
testing-1884-harvester
token: testing_1884
os:
ssh_authorized_keys:
- github:irishgordo
hostname: testing-1884-feature
modules:
- kvm
- nvme
dns_nameservers:
- 8.8.8.8
@irishgordo
irishgordo / ffmpeg-compress-mp4
Created October 23, 2021 03:05 — forked from lukehedger/ffmpeg-compress-mp4
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4
@irishgordo
irishgordo / brainfuzzing.md
Last active August 23, 2021 19:16
S3 Object Store API / Mesh / Moto / Ideas / Notes