[caasp-beta] Service never gets external IP?

Kiall Mac Innes kmacinnes at suse.de
Tue Jun 13 08:37:24 MDT 2017


On Tue, 2017-06-13 at 16:02 +0200, Jason Evans wrote:
> On Mon, 5 Jun 2017 13:37:55 +0000
> Liam McCafferty <Liam.McCafferty at smartodds.co.uk> wrote:
> 
> Hi Liam,
> 
> For my test services, I define my external IP directly:
> 
> kubectl expose deployment hello-world --name=my-service --external-
> ip='<minionvmIP>'
> 

A better option is to use --type=NodePort instead of --external-ip,
they will do roughly the same thing, however NodePort won't hardcode
the service to any specific workers IP address.

Thanks,
Kiall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.suse.com/pipermail/caasp-beta/attachments/20170613/8e9a5f68/attachment.sig>


More information about the caasp-beta mailing list