Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: incorrect value rke2_api_cidr #276

Open
paulc0te opened this issue Nov 20, 2024 · 0 comments
Open

bug: incorrect value rke2_api_cidr #276

paulc0te opened this issue Nov 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@paulc0te
Copy link

Summary

The default value rke2_api_cidr is incorrect. It is more correct to set it to 32.

# optional option for kubevip IP subnet
# rke2_api_cidr: 24

and the same in the template

- name: vip_cidr
   value: "{{ rke2_api_cidr | default('24') }}"

here is an explanation of the vip_cidr flag from the official documentation
here is an example of BGP Manifest

- name: vip_cidr
   value: "32"

Issue Type

Bug Report

Ansible Version

This is not required

Steps to Reproduce

This is not required

Expected Results

It's in the description

Actual Results

as a result in k8s pod kube-vip

kubectl -n kube-system describe po kube-vip-ds-c5szs | grep -A 20 'Environment:'
    Environment:
      vip_arp:             true
      vip_interface:       ens18
      port:                6443
      vip_cidr:            24
@paulc0te paulc0te added the bug Something isn't working label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant