Re: [kubernetes-users] Set service-node-port-range in Google Kubernetes Engine

2018-09-16 Thread Phạm Huy Hoàng
Sound like a potential solution. Thank Tim, we will try this approach to see if it works for our case. On Monday, 17 September 2018 11:48:09 UTC+8, Tim Hockin wrote: > > Hmm, this is a bit of a stretch for NodePorts. Why not use a HostPort > and update DNS dynamically if/when their VM updates?

Re: [kubernetes-users] Set service-node-port-range in Google Kubernetes Engine

2018-09-16 Thread 'Tim Hockin' via Kubernetes user discussion and Q
Hmm, this is a bit of a stretch for NodePorts. Why not use a HostPort and update DNS dynamically if/when their VM updates? On Sun, Sep 16, 2018 at 6:30 PM Phạm Huy Hoàng wrote: > > Hi Tim, > > Thanks for your reply. I'll explain our uses case below. > > Our uses case is that we provide a service

Re: [kubernetes-users] Set service-node-port-range in Google Kubernetes Engine

2018-09-16 Thread Phạm Huy Hoàng
Hi Tim, Thanks for your reply. I'll explain our uses case below. Our uses case is that we provide a service as a Linux VM so that user can SSH and VNC into that VM. Each VM is run as a stateful set in GKE cluster. For each user, we need to provide expose 2 ports via a service (1 for VNC and