need to support "externalIPs" attribute in a kubernetes service

Bug #1659161 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
Vedamurthy Joshi

Bug Description

R4.0 3028

Today, we seem to support external ip behavior only when the type of the service is loadbalancer

But if the user uses 'externalips' tag to provide external ip, it doesnt work.

https://kubernetes.io/docs/user-guide/services/#external-ips

Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

{u'kind': u'Service', u'spec': {u'ports': [{u'targetPort': 80, u'protocol': u'TCP', u'name': u'http', u'port': 82}], u'externalIPs': [u'30.1.1.40'], u'selector': {u'app': u'nginx', u'role': u'frontend'}}, u'apiVersion': u'v1', u'metadata': {u'name': u'frontend-service1'}}

Changed in juniperopenstack:
milestone: none → r4.0
Jeba Paulaiyan (jebap)
tags: added: contrail-kube-manager
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/28453
Submitter: Sachchidanand Vaidya (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/28453
Committed: http://github.org/Juniper/contrail-controller/commit/c6dadad484fc0afcc60cdf5c25e3e2533d4584e5
Submitter: Zuul (<email address hidden>)
Branch: master

commit c6dadad484fc0afcc60cdf5c25e3e2533d4584e5
Author: Sachchidanand Vaidya <email address hidden>
Date: Sun Feb 5 12:25:06 2017 -0800

- User can pass public network and public-fip-pool name via config file
- Fix for 2 bugs:
1659161: need to support "externalIPs" attribute in a kubernetes service
1659166: user-defined loadbalancer-ip for a kubernetes service is not being used

Change-Id: I32b975f2b075bf3e8c82fc825ce704a8d3343d72
Closes-Bug:1659161,1659166

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.