question

IuryFukuda-7915 avatar image
0 Votes"
IuryFukuda-7915 asked srbose-msft answered

How to communicate kubernetes with VMs in private network?

I use azure. I need to communicate kubernetes with VMs in private network.

I can't do it in kubelet.

Can anywho help with this? Thank's for your time

azure-kubernetes-service
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Dev073 avatar image
0 Votes"
Dev073 answered

Hi , I assume its a AKS deployment.

you can leverage azure private endpoint to connect to AKS management. This network interface connects you privately and securely to a service powered by Azure Private Link.

More details can be found here.
https://docs.microsoft.com/en-us/azure/private-link/private-endpoint-overview

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

shivapatpi-MSFT avatar image
0 Votes"
shivapatpi-MSFT answered shivapatpi-MSFT edited

Hello @IuryFukuda-7915 ,
Along with the details mentioned by Dev , you can also try to use AKS Run Command to connect to private cluster to invoke kubelet commands
More details are at :- https://docs.microsoft.com/en-us/azure/aks/private-clusters#aks-run-command

Regards,
Shiva.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

srbose-msft avatar image
1 Vote"
srbose-msft answered

@IuryFukuda-7915 , by "communicate kubernetes with VMs" if you mean VMs talking to applications deployed on Kubernetes or vice versa then you can use:

AKS private clusters should be considered only when you want traffic to and from your API server to remain on a private network.


Hope this helps.

Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.