Welcome to the Linux Foundation Forum!

Sanity Check on Lab 3.1-10

Hi All,

So I am using Virtualbox with bridge connection and it gives me an IP address range that Calico.yaml uses. I've updated the calico.yaml and kubeadm-config.yaml to use 10.128.0.0/32 as value and podsubnet.
I am hoping someone can make me rest easy that this won't cause me issues later on.
Thanks in advance.

Comments

  • serewiczserewicz Posts: 920

    Hello,

    It may be easier to configure VirtualBox to configure a different IP address, but if if you did properly change Calico and the kubeadm-config.yaml file to use the new IP it should work. As with many things in a dynamic, open source project testing is the only way to know as there may be some new or lesser known setting which may at some point conflict.

    Regards,

  • kingvederkingveder Posts: 3

    Hey, your the guy in the videos :D:D

    Thanks though Tim I took this option in the end to reduce any issues.
    Appreciate the response.

  • Hi kingveder,

    I ran into similar problem with VirtualBox. I opted for a slightly more complex setup but ultimately made things easier since I don't have to customize anything. I created a group of k8s vms and attached their NICs to "Internal Network" which allows me to use any IP address scheme but then these are completely isolated from the host and the rest of the world. To solve that, I created a VM running Endian's community firewall https://www.endian.com/community/ which is bridged to the network and also attached to the same Internal Network as the k8s VMs and this allows me to access the VMs from SSH, etc and they can access the internet as well.

  • kingvederkingveder Posts: 3

    Cheers snorkelbuckle I will check it out.
    I have just been adding a second adapter when I need net access

  • chrispokornichrispokorni Posts: 1,065

    Hi @kingveder,

    I have been provisioning VirtualBox VMs for Kubernetes clusters with a single bridged network adapter attached to each machine, supporting the Kubernetes required VM to VM networking and the VM to internet connectivity.

    Regards,
    -Chris

Sign In or Register to comment.