Replies: 1 comment
-
Please read the documentation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to create a ha cluster k8s with rke2. The plan is to have 2 master, 1 lb, 3 workers. And I disable firewalld all node. But when I set up the first server-node, I get the following error:


Below is my config.yaml file:
below is my haproxy.cf file:
global
log /dev/log local0
log /dev/log local1 notice
maxconn 4096
daemon
defaults
log global
mode tcp
option tcplog
option dontlognull
timeout connect 5s
timeout client 1m
timeout server 1m
retries 3
frontend rke2-registration
bind *:9345
default_backend rke2-registration-backend
backend rke2-registration-backend
mode tcp
balance roundrobin
option tcp-check
tcp-check connect port 9345
server m1 192.168.94.138:9345 check
server m2 192.168.94.141:9345 check
frontend kubernetes-api
bind *:6443
default_backend kubernetes-api-backend
backend kubernetes-api-backend
mode tcp
balance roundrobin
option tcp-check
tcp-check connect port 6443
server m1 192.168.94.138:6443 check
server m2 192.168.94.141:6443 check
Please tell me where I went wrong.
Beta Was this translation helpful? Give feedback.
All reactions