Closed viktormohl closed 2 years ago
@viktormohl hello! thanks for the great description.
Do you see any issues with the cluster work?
is this a misconfiguration of mine or a bug?
Up to my understanding, this is a noise logging from one of the upstream components (konnectivity).
is it critical?
it should not be critical, unless you observing some issues with the cluster. If so, we need to debug it further, by checking your k0s.yaml and other configurations.
if not critical, is it possible to redirect the log output to a separate log file, so that the /var/log/syslog is not spammed full?
Do you use k0s install
? than you can tune the systemd unit file accordingly.
is it possible to use VIP (Virtual IP) instead of HAProxy? Is there a manual for this?
Generally speaking nothing prevents you from using any LB instead of haproxy, but we can't cover all of those. We would appreciate contributions on this, if you want we can sync up in the Lens slack and I can help you somehow.
The issue is marked as stale since no activity has been recorded in 30 days
+1
Description
Hi, I have successfully installed K8s with HA Control Plane using k0sctl and HAProxy on multiple VMs (vagrant & libvirt). Unfortunately I noticed that in
/var/log/syslog
the following info message is written out every second. It is logged fromk0scontroller.service
.Questions:
/var/log/syslog
is not spammed full?Setup
bootstrap.sh
Vagrantfile
Provide VMs
Copy SSH-Keys
Configure Loadbalancer
HAProxy Configuraiont - example-configuration-haproxy
Restart HAProxy to apply the configuration changes.
Install k0sctl tool
You can execute k0sctl on any system that supports the Go language. Pre-compiled k0sctl binaries are availble on the k0sctl releases page.
k0sctl is a single binary, the instructions for downloading and installing of which are available in the k0sctl github repository.
Cluster configuration
k0sctl init > k0sctl.yaml
Deploy Cluster
Get Kube config file
Node, Pod and SVC
k0scontroller.service
Uninstall K8s
Best regards