Advanced Search
Search Results
27 total results found
Proxmox
Hypervisor PVE
Docker
Wireguard
Site-to-Site VPN
RHEL
Red Hat Enterprise Linux; Alama Linux
Kubernetes
Print Server
Talos Linux
Cluster Setup
Maintenance
Remove Proxmox Subscription Notice
Whenever a Proxmox node is updated we need to remove the subscription notice, as it gets overwritten during the upgrade process. I do this only as a time-saving method. Option 1 1. Change to the working directory cd /usr/share/javascript/proxm...
Remove Node from Cluster
If a node needs to be removed entirely from the cluster and still used after the removal the following must happen Remove or mitigate all VMs and containers away from the node. Run the following code It may be best to run this line by line to see the...
Install FreeNAS Initiator
When the cluster is used a convergent model with TrueNAS, the patches need to be installed for the FreeNAS Initiator to show under the storage dialogue GitHub Repo Option 1 Connect to each node and install the following keys curl https://ksatechnologi...
Reset SSL Certificate
Navigate to the following directory cd /etc/pve/local rename the .key and .pem files for backup pvecm updatecerts --force systemctl restart pveproxy The backup .PEM and .KEY files can be deleted if the web interfaces loads without error
Resize VM Disk
Resizing the guest disk General considerations When you resize the disk of a VM, to avoid confusion and disasters think of the process like adding or removing a disk platter. If you enlarge the hard disk, once you have added the disk plate, your partition t...
Portainer API Setup
To allow Portainer to add an environment. Docker must be configured to open the port for remote access. The firewall must also allow this port. Below is for no TLS. Edit: nano /lib/systemd/system/docker.service Add the line and comment out the other Exec...
Portainer Enviroment Configuration
On the left side menu of Portainer click on the environment tab to add a new environment. Under Enviroment type click on Docker Fill out the name and the "Environment URL" as follows We are not using TLS on this, since it is not a produc...
Installing CUPS server
To install the server the cupsd package and dependencies need to be downloaded. dnf install cups -y After installation only a couple of items need to be changed under /etc/cups/cupsd.conf Find Listen 127.0.0.1:631 and replace with Listen *:631 Confirm ...
CUPS ClientNew Page
Under the cups client we need to prevent the discovery of networked printers in order to only use the new print server. Bonjour may also need to be disabled on the printer itself. It doesn't always stop the printer from adding. However, this is the first measu...
Choose boot Kernel
Proxmox comes with a built-in tool called proxmox-boot-tool. We can list the available kernels on the system and choose the best kernel and set it to always boot from this kernel. List and choose boot Kernel proxmox-boot-tool kernel list Example output: ...
Nord VPN Configuration
Whitelist Local IP's After installing and nordvpn we need to whitelist the local subnets if we need to transfer files while being on the tunnel. nordvpn whitelist remove all nordvpn whitelist add subnet 192.168.0.0/16 This will generally work now. But if n...
Provision nodes
After creating the nodes in Proxmox run the following commands. In this example, I have 3 API controllers and 3 worker nodes. Each controller will have an etcd database. talosctl gen config koryscluster https://<haproxy IP>:6443 Edit the worker.yaml that get...
How to scale down a Talos cluster
To remove nodes from a Talos Linux cluster: talosctl -n <IP.of.node.to.remove> reset kubectl delete node <nodename>
Metal LB
This section is to get metallb setup and working for a bare metal setup. Let create the namespace kubectl create namespace metallb-system kubectl label namespace metallb-system pod-security.kubernetes.io/enforce=privileged We will use helm for ease of upgr...
nginx Ingress Controller
After installing metallb we can move on to the ingress part of setup. My preferred choice is nginx. We will also get this ready for monitoring with Prometheus. Create the namespace. kubectl create namespace ingress-nginx kubectl label namespace ingress-ngin...
Convert PV from ReadWriteOnce to ReadWriteMany
Change reclaim policy of the persistent volume to Retain This is required!!! Before you delete the persistent volume claim to avoid a surprise that your data got wiped. The default reclaim policy is Delete and we do not want that to happen. kubectl patch pv ...
Restore Longhorn PV from backup
Unfortunately, the longhorn UIs restore function does not work for in place backups. This means the PV needs to be deleted for the new volume to be created! As of this writing, there is a Github issue open from 2023 regarding this problem. Steps to restore fr...
Node setup with Nvidia GPU
Introduction Refer to the previous page for the general concept of Talos worker.yaml. This will build on the same concept but add required extensions and load modules needed for pods to see a GPU and use it for AI workloads. This guide will reference this doc...