I am using OpenStack to provide virtual machines. I was to create the a kubernetes cluster using the VMs and Physical Machines (Raspberry PI 4).
I am not able to do this because the to connect the PI's to the VMs I need to use the floating IPs of the VMs but these floating IPs are not visible in the OpenStack VMs.
By default the VMs only show the internal network IPs. When I start my Kubernetes Master there it gets mapped to that internal IP which is not visible outside VM network.
Is is possible to create this kind of cluster?
I tried using the following kubeadm config, but this also does not help
controlPlaneEndpoint: "floatingIP:6443"
apiServer:
extraArgs:
authorization-mode: Node,RBAC
advertise-address: 0.0.0.0
timeoutForControlPlane: 4m0s
certSANs:
-List of all the Internal,external IP and
apiVersion: kubeadm.k8s.io/v1beta2
certificatesDir: /etc/kubernetes/pki
clusterName: kubernetes
controllerManager: {}
dns:
type: CoreDNS
etcd:
local:
dataDir: /var/lib/etcd
imageRepository: k8s.gcr.io
kind: ClusterConfiguration
kubernetesVersion: v1.16.2
networking:
dnsDomain: cluster.local
podSubnet: 10.244.0.0/16
serviceSubnet: 10.96.0.0/12
scheduler: {}