-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Enable publish-service for ClusterIP type service. fixes #4461 #4462
Conversation
Welcome @rtnpro! |
Hi @rtnpro. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rtnpro The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I have tested this PR in my Kubernetes cluster, and it's able to publish the If this change is desirable, then I can go ahead with adding tests for this fix. |
@rtnpro I am sorry but |
On Sun, Aug 18, 2019 at 9:41 AM Manuel Alejandro de Brito Fontes ***@***.***> wrote:
@rtnpro I am sorry but ClusterIP addresses are not routable outside the cluster. That's the reason why
this is not supported. What are you trying to do exactly?
@aledbf I have setup OpenVPN inside my Kubernetes cluster using
https://github.com/helm/charts/tree/master/stable/openvpn and have
exposed the OpenVPN service via `NodePort` type service. So, once I
connect to this VPN, I have access to all cluster IPs in my cluster.
All that was remaining is to create DNS entries for cluster IPs for
certain services. This can be achieved by `external-dns` only if the
ingress gets `endpoints` published to them.
This is a valid use case in cloud providers like Digitalocean where
they do not offer private load balancers. So, in this way, I can
create a secure internal network for certain internal applications in
my kubernetes cluster along with DNS resolutions for the internal
hostnames.
I hope that this makes sense.
|
@aledbf ping! |
@aledbf Hey, I have written a blog post explaining why we need this feature: https://rtnpro.com/enabling-publish-service-for-clusterip-nginx-ingress-controller-service/ Let me know what you think about it. |
What this PR does / why we need it:
This pull request enables publishing the
ClusterIP
fornginx-ingress-controller
service when the service's type isClusterIP
.Which issue this PR fixes
fixes #4461