Coder Social home page Coder Social logo

ehlesp / smallab-k8s-pve-guide Goto Github PK

View Code? Open in Web Editor NEW
711.0 711.0 118.0 17.52 MB

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

Shell 100.00%
guides k3s kubernetes proxmox-ve

smallab-k8s-pve-guide's People

Contributors

ehlesp avatar hanfa avatar jonathancalloway avatar kriegalex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smallab-k8s-pve-guide's Issues

Copying commands includes "$" character

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.

Updating a secret - Is the apply command enough ?

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 ?

Using GitHub Pages or Wiki for content

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!

Mistake in Regex for proxmox fail2ban

Where's the issue located

What's the problem

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.

Mistake in regex in the Prometheus scrape config for the node exporter endpoints

Where's the issue located

What's the problem

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.