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

Additional changes for lima #1555

Closed
wants to merge 3 commits into from
Closed

Additional changes for lima #1555

wants to merge 3 commits into from

Commits on Sep 19, 2024

  1. Modify flannel to use lima0 interface

    Change taken from k8s-lima repo[1]. In my tests it does not make any
    difference, posting for testing on other system.
    
    [1] https://github.com/raghavendra-talur/k8s-lima
    
    Thanks: Raghavendra Talur <rtalur@redhat.com>
    Signed-off-by: Nir Soffer <nsoffer@redhat.com>
    nirs committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    6dd3b05 View commit details
    Browse the repository at this point in the history
  2. Enable masqueradeAll in kube-proxy

    Enable the option for iptables[1] and nftables[2]. I'm not sure which
    one we use but it does not harm to change the one we don't use.
    
    Change taken from k8s-lima repo[3]. In my tests it does not make any
    difference, posting for testing on other system.
    
    [1] https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/#kubeproxy-config-k8s-io-v1alpha1-KubeProxyIPTablesConfiguration
    [2] https://kubernetes.io/docs/reference/config-api/kube-proxy-config.v1alpha1/#kubeproxy-config-k8s-io-v1alpha1-KubeProxyNFTablesConfiguration
    [3] https://github.com/raghavendra-talur/k8s-lima
    
    Thanks: Raghavendra Talur <rtalur@redhat.com>
    Signed-off-by: Nir Soffer <nsoffer@redhat.com>
    nirs committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    120cc0a View commit details
    Browse the repository at this point in the history
  3. Configure API server to listen on all addresses

    Change taken from k8s-lima repo[1]. In my tests it does not make any
    difference, posting for testing on other system.
    
    [1] https://github.com/raghavendra-talur/k8s-lima
    
    Thanks: Raghavendra Talur <rtalur@redhat.com>
    Signed-off-by: Nir Soffer <nsoffer@redhat.com>
    nirs committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    ac2b52b View commit details
    Browse the repository at this point in the history