Replies: 4 comments 6 replies
-
Thanks @HeinzM for reporting the issue Can you check if the userdata is correctly populated in the router Log in to the vpc router cat /var/www/html/userdata//userdata |
Beta Was this translation helpful? Give feedback.
-
@kiranchavala |
Beta Was this translation helpful? Give feedback.
-
@HeinzM Could you try with this new pr which adds support for
|
Beta Was this translation helpful? Give feedback.
-
@HeinzM can you check the acl rules that you assigned for the network tier make sure egress and ingress rules are present |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
let me describe the setup first:
We try to deploy a k8s cluster in a vpc setup with isolated networking for control plane and worker nodes.
CS: 4.21
Cloudstack VPC and isolated networks
We created a vpc first.
k8s_vpc01_cidr = 10.0.0.0/19
Then we create three networks, one for control plane and two worker networks.
k8s_nw_cp01_cidr = 10.0.1.0/28
k8s_nw_wn01_cidr = 10.0.2.0/28
k8s_nw_wn01_cidr = 10.0.3.0/28
vpc_network_offering = DefaultIsolatedNetworkOfferingForVpcNetworks
Cloudstack instances
We deploy nodes for control plane as cloudstack_instance with the following configuration:
and for worker
The userdata
controller:
worker:
proxy_server = http://server.ip:port
no_proxy = "10.0.0.0/8, data-server."
ntp_server = "/dev/ptp0"
What happens next:
The machines come up.
The machines from the control plane cannot resolve data-server. in any case that has occurred so far.
The machines from the worker networks alternate.
Sometimes data-server. can be resolved in one network and sometimes in the other.
I can see on the router in the virtual machine that data-server points to the respective IP addresses from the control plane and worker networks.
What I can also see is that in the worker network, where data-server can be reached, the DNS points to the IP of the virtual router.
In the other networks, the DNS servers from the local network are used.
Without the network separation, i.e., with just a simple guest network, the configuration works perfectly.
I can't tell right now whether this is a bug or user error.
Does anyone have any advice for me?
Beta Was this translation helpful? Give feedback.
All reactions