ehlesp / smallab-k8s-pve-guide Goto Github PK
View Code? Open in Web Editor NEWA guide series explaining how to setup a personal small homelab running a Kubernetes cluster with VMs on a Proxmox VE standalone server node.
License: Other
A guide series explaining how to setup a personal small homelab running a Kubernetes cluster with VMs on a Proxmox VE standalone server node.
License: Other
Pretty sure you meant TiB
When a user clicks the icon to copy the code to the clipboard, it includes the $ character and is not easily pasted to the command line. I can help with a PR for your guide, but I wanted to make sure you were ok first. For example.... The clipboard is filled with the text below
$ cd /usr/share/javascript/proxmox-widget-toolkit
for the first command from the Removing Subscriptions page.
Hi,
After launching Nextcloud, I've seen it complaining about the redis connection in the logs.
RedisException: WRONGPASS invalid username-password pair or user is disabled.
I've reread G033 and noticed a warning about the redis.pwd
format. I updated the file by checking there are no line breaks and I switched to a way longer password without special characters (just in case).
After applying the change (kubectl apply -k
), I noticed that if I go to my agent VM and browse to the config, the config.php
hasn't changed.
$ sudo cat /mnt/nextcloud-ssd/html/k3smnt/config/config.php
'redis' =>
array (
'host' => '10.43.100.1',
'password' => 'OLD_PASSWORD',
'port' => 6379,
),
What is the correct way to have such files updated ?
Thank you for pulling this together. I am using this guide to attempt to bring K8s to my existing Proxmox setup. This has present problems where an existing setup typically doesn't have terabytes of empty disk space.
More clarity about how to resize existing partitions to match your recommendations in https://github.com/ehlesp/smallab-k8s-pve-guide/blob/main/G005%20-%20Host%20configuration%2003%20~%20LVM%20storage.md would be awesome.
Hey! This guide is absolutely awesome and incredibly thorough. One frustration when going through is that going from one "chapter" to the next is kind of a hassle - there's no "Next Page" or easily accessible table of contents to allow users to progress or get a sense of where they are in the entire thing.
Any thoughts on moving the content to the repo wiki, GitHub Pages, or even just a "Next Section" link at the bottom of each file?
I'd be happy to help contribute if needed!
regex failregex
is failing when we test against daemon.log (journalctl compliancy):
root@pve:~# fail2ban-regex /var/log/daemon.log /etc/fail2ban/filter.d/proxmox.conf
Running tests
=============
Use failregex filter file : proxmox, basedir: /etc/fail2ban
ERROR: Unable to compile regular expression 'pvedaemon[.authentication (verification )?failure; rhost=(?:\[?(?:(?:::f{4,6}:)?(?P<ip4>(?:\d{1,3}\.){3}\d{1,3})|(?P<ip6>(?:[0-9a-fA-F]{1,4}::?|::){1,7}(?:[0-9a-fA-F]{1,4}|(?<=:):)))\]?|(?P<dns>[\w\-.^_]*\w)) user=. msg=.*':
unbalanced parenthesis at position 146
CURRENT REGEX block in /etc/fail2ban/filter.d/proxmox.conf
:
[Definition]
failregex = pvedaemon\[.*authentication (verification )?failure; rhost=<HOST> user=.* msg=.*
ignoreregex =
SHOULD BE INSTEAD in /etc/fail2ban/filter.d/proxmox.conf
:
[Definition]
failregex = pvedaemon\[[0-9]+\]: authentication (verification )?failure; rhost=<HOST> user=.* msg=.*
ignoreregex =
HO, and i cannot forget to THANK YOU for this wonderful guide !
You made a massive work, and much much appreciated.
The net.ipv4.tcp_keepalive_time
is off by a factor of ten. The comment says it should be set to 10 minutes, which is 600 seconds, and not 60.
The regex 'node-exporter' is not matching the endpoint name, which is "mntr-agent-prometheus-node-exporter".
The easy fix is to replace the regex with '.*node-exporter'.
- job_name: 'node-exporter'
scrape_interval: 55s
kubernetes_sd_configs:
- role: endpoints
relabel_configs:
- source_labels: [__meta_kubernetes_endpoints_name]
regex: 'node-exporter'
action: keep
should be
- job_name: 'node-exporter'
scrape_interval: 55s
kubernetes_sd_configs:
- role: endpoints
relabel_configs:
- source_labels: [__meta_kubernetes_endpoints_name]
regex: '.*node-exporter'
action: keep
Great guide by the way!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.