-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Service type=ExternalName is not documented enough #5822
Comments
I've found a better explanation at https://akomljen.com/kubernetes-tips-part-1/ |
+1 |
The whole Services page is a bit of a mess to read and comprehend right now, especially for new users. There is information about system-level choices like kube-proxy to user-level things like DNS, service types, and selectors. I propose that the content on the current Services page gets reorganized and broken down into these subsections:
If this sounds good, I can take a stab at it. |
@tonglil -- lgtm |
Ping. Is this still being worked on? |
Nobody seems to have self-assigned. I'm not sure about the status. |
Can I set IP instead of dns name?
|
For new users (like me) I think could be common to confuse the purpose of service and ingress. Until now I don't know if ExternalName could replace the need of nginx-ingress in my on-premises deployment, and wha'ts the scope of ExternalName on-premises. It is not clear in the documentation what is the best choice to start on-premises (There is better documented choices per cloud provider), probably some wider perspective could be added for on-premises. For example, until projects like https://metallb.universe.tf/ and nginx-ingress are better documented / mature, is the best option to use the weak NodePort and setup a fixed config reverse-proxy pointing to my node's IPs outside my cluster? |
Some documentation with more details and clear explanation like this: could be very useful for newbies. |
/assign |
@tonglil That's a great suggestion for content structure. For now, I'm going to address the specific issue regarding |
Do ExternalName services support port binding? |
@nightswimmings I'm also curious. From what I can tell, if you add apiVersion: v1
kind: Service
metadata:
name: postgres-service
namespace: mynamespace
spec:
type: ExternalName
externalName: my-prod-db.abcd.us-east-1.rds.amazonaws.com
ports:
- name: pg
protocol: TCP
port: 5432
targetPort: 5432 Then I test inside of a box in the same namespace, I test the connection, and the only way I get anything is by using
|
We currently document service types in this doc: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types Among these, only 2 types, NodePort and LoadBalancer have their own sections.
Currently all documentation about ExternalName type is listed below. Even this is still not helping me enough to understand what purpose this feature serves, how it can be used (it says proxying is not provided). I think we need a dedicated section to explain this type.
I'm assuming it's a relatively new feature, that's why the comprehensive documentation is lacking.
/cc @kubernetes/sig-network-misc
The text was updated successfully, but these errors were encountered: