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

Improve documentation. #1831

Merged
merged 1 commit into from
Jul 8, 2017

Conversation

timoreimann
Copy link
Contributor

  • Add details to the labelselector parameter.
  • Add section on ExternalNames in the guide.

@containous/traefik PTAL.

docs/toml.md Outdated
# See: http://kubernetes.io/docs/user-guide/labels/#list-and-watch-filtering
# labelselector = "A and not B"
# Ingress label selector to identify Ingress objects that should be processed.
# See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for details.
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. 👍

When specifying an [ExternalName](https://kubernetes.io/docs/concepts/services-networking/service/#services-without-selectors),
Træfik will forward requests to the given host accordingly and use HTTPS when the Service port matches 443. This still requires setting up a proper port mapping on the Service from the Ingress port to the (external) Service port.

NB: In the future, the target Service port will likely be used to determine the protocol and specify the port to forward requests to.
Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure that "In the future" belongs in documentation... lets stick to the facts as they are now...

Copy link
Contributor

Choose a reason for hiding this comment

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

WIth @errm on this one. Especially since many new users are looking at this guide.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes a lot of sense -- removed.

When specifying an [ExternalName](https://kubernetes.io/docs/concepts/services-networking/service/#services-without-selectors),
Træfik will forward requests to the given host accordingly and use HTTPS when the Service port matches 443. This still requires setting up a proper port mapping on the Service from the Ingress port to the (external) Service port.

NB: In the future, the target Service port will likely be used to determine the protocol and specify the port to forward requests to.
Copy link
Contributor

Choose a reason for hiding this comment

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

WIth @errm on this one. Especially since many new users are looking at this guide.

@timoreimann timoreimann force-pushed the kubernetes-clarify-labelselector branch from 666bc5a to 69560b2 Compare July 7, 2017 17:31
@timoreimann
Copy link
Contributor Author

Rebased and comments addressed.

@errm @dtomcej: PTAL again.

@dtomcej
Copy link
Contributor

dtomcej commented Jul 7, 2017

LGTM

:shipit:

@errm
Copy link
Contributor

errm commented Jul 8, 2017

LGTM

Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

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

LGTM

- Add details to the labelselector parameter.
- Add section on ExternalNames in the guide.
@ldez ldez force-pushed the kubernetes-clarify-labelselector branch from 1e80bca to 3f9d1dd Compare July 8, 2017 10:24
@ldez ldez merged commit d90fa5a into traefik:master Jul 8, 2017
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.

4 participants