-
Notifications
You must be signed in to change notification settings - Fork 558
Hybrid Cluster with Custom Vnet Doesn't seem to work with acs-engine v0.11 #1949
Comments
Linux Containers run fine:
|
I regressed and used acs-engine version v0.9.1 and I'm at least able to run pods
|
I tested the custom VNET for Windows nodes with the snapshot 12d7fc5 from 2018-01-09. I patched the generated azuredeploy.json file, so that it contains a variable subnet with the value of the subnet range of my custom VNET like this:
The deployment worked and the Windows nodes were successfully created. I could deploy Windows containers. But inside the Windows pods, there was a problem with DNS: I could not resolve domain names, that is, I could not reach services inside my cluster. |
@chweidling I have not rebuilt a cluster using the latest snapshot, however according to #558 (comment) you may just have to wait a little while and DNS may resolve itself? |
The problem does not disapper even after one hour waiting. |
Hi @jwalker343 , we are facing similar issue, are you able to find root cause or solution for same. |
I am facing problems deploying a hybrid cluster in custom vnet. Error: The template parameter 'masterSubnet' is not found. Any idea when support for "Hybrid Cluster with Custom Vnet" will be added? |
I was able to successfully deploy a Hybrid cluster in a custom vnet with 0.25.3. This is an old issue and is almost 1year old, so I'm marking it closed. |
Is this a request for help?:
YES
Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
What version of acs-engine?:
0.11.0
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
kubernetes 1.7.9
What happened:
I downloaded the latest release of acs-engine and created a hybrid cluster in a custom vnet with the template below. Windows Pods fail to start with an "Error Syncing Pod"
What you expected to happen:
Windows Pods should run properly.
How to reproduce it (as minimally and precisely as possible):
I have a vnet
VN-Sandbox1-useast
with 3 subnets:k8smaster = 10.201.150.0/26
k8sagent = 10.201.155.0/26
k8sclustersubnet = 10.201.240.0/21
template.json:
Run
./acsengine generate template.json
Edit the azuredeploy.json file and add the subnet variable due to #1767 (comment)
Run
az group deployment create --template-file "azuredeploy.json" --parameters "azuredeploy.parameters.json" -g RG-Sandbox1-useast -n VN-Sandbox1-useast
Update route tables:
az network vnet subnet update -n k8smaster -g RG-Sandbox1-useast --vnet-name VN-sandbox1-useast --route-table <RT_NAME>
az network vnet subnet update -n k8sagent -g RG-Sandbox1-useast --vnet-name VN-Sandbox1-useast --route-table <RT_NAME>
Run a standard aspnet image:
Anything else we need to know:
C:\k\kubelet.log
kubelet.err.log
I've tried this also with
"networkPolicy": "azure"
and I get the same result. Please let me know if you need any more information.The text was updated successfully, but these errors were encountered: