Skip to content

Use Aliases from service Network Attachment Config in Task Network Attachment#974

Merged
aluzzardi merged 1 commit intomoby:masterfrom
mavenugo:alias
Jun 15, 2016
Merged

Use Aliases from service Network Attachment Config in Task Network Attachment#974
aluzzardi merged 1 commit intomoby:masterfrom
mavenugo:alias

Conversation

@mavenugo
Copy link
Contributor

With this change, the alias config in network attachment from Service Spec is copied to task's Network attachment. Hence the executor can make use of it to provide proper aliasing support.

Signed-off-by: Madhu Venugopal [email protected]

@mavenugo
Copy link
Contributor Author

ping @aluzzardi @mrjana

@mavenugo
Copy link
Contributor Author

@aluzzardi this PR doesn't cover the indexing work that you are concentrating on.

@codecov-io
Copy link

codecov-io commented Jun 14, 2016

Current coverage is 54.03%

Merging #974 into master will decrease coverage by 0.06%

@@             master       #974   diff @@
==========================================
  Files            75         75          
  Lines         11414      11412     -2   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits           6174       6166     -8   
- Misses         4368       4370     +2   
- Partials        872        876     +4   

Sunburst

Powered by Codecov. Last updated by d93da96...9e32c4d

// List of IPv4/IPv6 addresses that are assigned to the object
// as part of getting attached to this network.
repeated string addresses = 2;
// List of aliases by which a task is resolved in a network
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a space above this line.

@stevvooe
Copy link
Contributor

Are these aliases for the individual task instances or the service itself?

@mavenugo
Copy link
Contributor Author

mavenugo commented Jun 14, 2016

these are for the service for each network attachment. That will get translated into the DNS resolution alias for the VIP that powers the service / task.

@mrjana
Copy link
Contributor

mrjana commented Jun 14, 2016

LGTM

@aluzzardi
Copy link
Member

/cc @stevvooe

@stevvooe
Copy link
Contributor

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants