Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nginx] add support for Services with ExternalNames #621

Closed
aledbf opened this issue Apr 18, 2017 · 4 comments · Fixed by #629
Closed

[nginx] add support for Services with ExternalNames #621

aledbf opened this issue Apr 18, 2017 · 4 comments · Fixed by #629
Assignees

Comments

@aledbf
Copy link
Member

aledbf commented Apr 18, 2017

(services with no endpoints)

type: ExternalName
externalName: api.calculator.com

from https://medium.com/@jeffzzq/modeling-environments-with-linkerd-ingress-part-3-3-3b8beda4a4bd

@aledbf aledbf self-assigned this Apr 18, 2017
@gianrubio
Copy link
Contributor

@aledbf could we use this for dns name and ip address ? Few days ago someone asked on slack about this, this can be useful for Chinese proxying.

@aledbf
Copy link
Member Author

aledbf commented Apr 20, 2017

@gianrubio please check #621

@gianrubio
Copy link
Contributor

gianrubio commented Apr 20, 2017

This keep working only for dns name, looking in the k8s types it's not possible to do with an external ip address.

Do you thinks this service make sense?

kind: Service
apiVersion: v1
metadata:
  name: proxy-google-cl
spec:
  ports:
  - protocol: TCP
    port: 80
    targetPort: 80
  type: ExternalIp
  externalIp: 8.8.8.8 

@aledbf
Copy link
Member Author

aledbf commented Apr 20, 2017

@gianrubio makes sense but the externalIP will work only if the server has no "virtual" servers/host (that is the reason why I added the snippet annotation to be able to reach google.com)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants