Question
I can't seem to access the Windows sample container service, either from the host machine, or from the linux pods. Is any further setup required to get the Windows worker node networking setup correctly?
PS C:\Users\luke> kubectl.exe get services -o wide
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
azure-vote-back ClusterIP 10.43.43.226 <none> 6379/TCP 18h app=azure-vote-back
azure-vote-front LoadBalancer 10.43.225.42 <pending> 80:30010/TCP 18h app=azure-vote-front
kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 18h <none>
sample NodePort 10.43.124.239 <none> 80:31230/TCP 3s app=sample
PS C:\Users\luke> curl -UseBasicParsing -Uri http://192.168.0.3:31230
curl : Unable to connect to the remote server
At line:1 char:1
+ curl -UseBasicParsing -Uri http://192.168.0.3:31230
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
PS C:\Users\luke> Get-AksEdgeNodeAddr -NodeType Windows
[04/09/2024 00:04:31] Querying IP and MAC addresses from virtual machine (luke-testing-wedge)
- Virtual machine MAC: 00:15:5d:00:05:0b
- Virtual machine IP : 192.168.0.3 retrieved directly from virtual machine
Name Value
---- -----
IpAddress 192.168.0.3
MacAddress 00:15:5d:00:05:0b
FWIW, running a web request from the Windows node to the linux node is working without any issues:
Describe scenario I've set up a single machine k3s cluster with a linux and Windows worker node, and deployed the sample applications:
Question I can't seem to access the Windows sample container service, either from the host machine, or from the linux pods. Is any further setup required to get the Windows worker node networking setup correctly?
FWIW, running a web request from the Windows node to the linux node is working without any issues: