This message was deleted.
# rke2
a
This message was deleted.
s
hey @bored-rain-98291 are you trying to get a 3-node HA master setup?
and it’s CentOS 8 Stream I assume 🙂
b
Hi thanks for responding! yes
ive worked with vanilla kubernetes many times. kinda perplexing.
s
when it’s crashing is it the rke2-server service?
b
yes
s
what do the
journalctl
logs say?
b
but if i stop using the node-token and just enter random text it works
s
and would you be able to put your
config.yaml
here? I have a working 3-master RKE2 deployment on CentOS 8 Stream
so may be able to help you
b
sure one moment
standby
I assume the first node gets this config.yaml as well? not just 2 & 3?
s
so 2&3 will need an extra attribute called
server
that essentially tells RKE2-server that they are replicated masters
Copy code
Master A
          cloud-provider-name: aws
          cluster-cidr: 10.0.0.0/12
          service-cidr: 10.96.0.0/12
          node-taint:
            - "CriticalAddonsOnly=true:NoExecute"
b
ah i see. Sorry im in an air-gapped environment so i have to take special steps to copy configs out.
So that config is what you have on every server node?
s
Copy code
Master B / C
          server: https://<LOAD BALANCER DNS>:9345
          cloud-provider-name: aws
          cluster-cidr: 10.0.0.0/12
          service-cidr: 10.96.0.0/12
          node-taint:
            - "CriticalAddonsOnly=true:NoExecute"
np there isn’t much to the configs
b
mine is self-installed
no cloud yet
s
but honestly it’s the
server
that’s the main difference
b
ok cool - thanks! i will try that
s
bare-metal?
I have not tried RKE2 on bare metal yet, so you most likely will need a LoadBalancer service like MetalLB
b
Its in vmware i believe
setup by another team 😉
i was hoping it would be aws but not yet apparantly
yes i figured we would need something for the lb
The last time i setup rancher was years ago and you deployed it to a vanilla kubernetes cluster.
s
yup! there’s also some tie-in with k3s in the RKE2 project as well but I’m not 100% sure what that relationship to k3s is yet
**I believe
could be wrong but I think the automated installation may come from k3s
b
that fixed it! thank you!
s
sweet! glad that it helped