I hereby claim:
- I am clemenko on github.
- I am clemenko (https://keybase.io/clemenko) on keybase.
- I have a public key whose fingerprint is 5D23 F230 5CD9 8477 4FB2 0E8F 9F37 134D 1ABB 8EA3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
In case you are curious the password hashed is "Pa22word".
from : https://cloudinit.readthedocs.io/en/latest/topics/examples.html
# create a key pair
ssh-keygen -t rsa -b 4096 -m pem -f /Users/clemenko/Desktop/github -C "[email protected]"
# add secret for auth key
kubectl create secret generic ssh-github -n fleet-local --from-file=ssh-privatekey=/Users/clemenko/Desktop/github --from-file=ssh-publickey=/Users/clemenko/Desktop/github.pub --type=kubernetes.io/ssh-auth
aka install
add the following to the config.yaml
from https://docs.rke2.io/install/network_options#using-multus
# /etc/rancher/rke2/config.yaml
cni:
# this is for joining federated clusters within NeuVector | |
# check the passwords | |
export masterPassword=Pa22word | |
export masterUrl=neuvector.rfed.io | |
export masterApi=nv-api.rfed.io | |
export manangedPassword=admin | |
export managedUrl=nv2.rfed.io | |
export managedApi=nv2-api.rfed.io |
Leverage Docker and Netboot.xyz to host Harvester/Rocky/Liberty installers and kickstart. We have been developing an Harvester Workshop and needed a better way to boot dozens of machines. Netboot.xyz was a simple way to do it. We used https://hub.docker.com/r/linuxserver/netbootxyz to simplify the install.
Then we created a custom menu and loaded the assets. After updating the DHCP settings on the network to point to the machine we are able to boot anything.
Netboot Docker docs : https://netboot.xyz/docs/docker
We will need a few tools for this guide. We will walk through how to install helm
and kubectl
.
A longer version of this install : Can a 12 y/o install the Rancher Stack?
curl -sfL https://get.rke2.io | sh -
#!/usr/bin/env bash | |
# simple script for installing rke2, helm, and keycloak | |
# clemenko | |
# https://github.com/bitnami/charts/tree/main/bitnami/keycloak | |
curl -sfL https://get.rke2.io | sh - && systemctl enable --now rke2-server.service && echo "export KUBECONFIG=/etc/rancher/rke2/rke2.yaml PATH=$PATH:/usr/local/bin/:/var/lib/rancher/rke2/bin/" >> ~/.bashrc && source ~/.bashrc && curl -sfL https://get.hauler.dev | bash && curl -s https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash | |
yum install -y nfs-utils cryptsetup iscsi-initiator-utils; systemctl enable --now iscsid |