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

Split documentation #1527

Merged
merged 4 commits into from
Oct 16, 2017
Merged

Split documentation #1527

merged 4 commits into from
Oct 16, 2017

Conversation

aledbf
Copy link
Member

@aledbf aledbf commented Oct 13, 2017

What this PR does / why we need it:

Split and cleanup of documentation and examples

fixes #1496

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Oct 13, 2017
@k8s-reviewable
Copy link

This change is Reviewable

@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Oct 13, 2017
@aledbf aledbf force-pushed the docs branch 6 times, most recently from 8995197 to f8b4eea Compare October 13, 2017 20:02
@aledbf aledbf force-pushed the docs branch 3 times, most recently from 804f9a8 to accd24b Compare October 13, 2017 21:02
@aledbf aledbf force-pushed the docs branch 4 times, most recently from 799f7b2 to b18fa8c Compare October 13, 2017 22:34
@aledbf aledbf changed the title WIP: Split documentation WIP: Split documentation [ci skip] Oct 13, 2017
@kubernetes kubernetes deleted a comment from coveralls Oct 13, 2017
@kubernetes kubernetes deleted a comment from coveralls Oct 13, 2017
@kubernetes kubernetes deleted a comment from coveralls Oct 13, 2017
@kubernetes kubernetes deleted a comment from coveralls Oct 13, 2017
@kubernetes kubernetes deleted a comment from coveralls Oct 13, 2017
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling b18fa8c2eae4c7cd2617f52bb9435df5eed8446f on aledbf:docs into ** on kubernetes:master**.

@aledbf aledbf changed the title WIP: Split documentation [ci skip] WIP: Split documentation Oct 13, 2017
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 0d91acc24a4c19649935afce9d9caa5d4f6b9b73 on aledbf:docs into ** on kubernetes:master**.

@aledbf aledbf force-pushed the docs branch 5 times, most recently from 27efca6 to d812bda Compare October 13, 2017 23:33
@@ -0,0 +1,154 @@
# TLS

- [Default SSL Certificate](docs/user-guide/default-ssl-certificate.md)
Copy link
Contributor

Choose a reason for hiding this comment

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

This link is broken, it should be only #default-ssl-certificate

Copy link
Member Author

Choose a reason for hiding this comment

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

done

README.md Outdated
- [Command line arguments](docs/user-guide/cli-arguments.md)
- [Contribute](CONTRIBUTING.md)
- [TLS](docs/user-guide/tls.md)
- [Annotation ingress.class](#annotation-ingress.class)
Copy link
Contributor

Choose a reason for hiding this comment

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

The right reference here is #annotation-ingressclass

Copy link
Member Author

Choose a reason for hiding this comment

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

done

It is possible to use a number or the name of the port.

The next example shows how to expose the service `kube-dns` running in the namespace `kube-system` in the port `53` using the port `53`
By default NGINX uses the content of the header `X-Forwarded-For` as the source of truth to get information about the client IP address. This works without issues in L7 **if we configure the setting `proxy-real-ip-cidr`** with the correct information of the IP/network address of trusted external load balancer.
Copy link
Contributor

Choose a reason for hiding this comment

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

So, should we make explicit how to disable this behaviour? Something like 'not setting proxy-real-ip-cidr will disable this behaviour? Or setting this as 127.0.0.1 is the right config to disable?


![nginx-module-vts screenshot](https://cloud.githubusercontent.com/assets/3648408/10876811/77a67b70-8183-11e5-9924-6a6d0c5dc73a.png "screenshot with filter")

To extract the information in JSON format the module provides a custom URL: `/nginx_status/format/json`
Copy link
Contributor

Choose a reason for hiding this comment

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

As we're running Ingress as a POD, to access this status do we need to create a service?

"method": "$request_method", "http_referrer": "$http_referer", "http_user_agent":
"$http_user_agent" }'
```

Copy link
Contributor

Choose a reason for hiding this comment

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

I would also make a reference to docs/user-guide/log-format.md here, so user can understand what each field represents :)

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@rikatz
Copy link
Contributor

rikatz commented Oct 15, 2017

@aledbf Really great job here :) I'll take a further look later, try to deploy following the instructions. I would add something about specific nodes and taint, but this is not the focus of this docs anyway :)

Thank you very much for doing this!

@aledbf aledbf force-pushed the docs branch 2 times, most recently from edef859 to e273719 Compare October 15, 2017 15:31
@aledbf aledbf changed the title WIP: Split documentation Split documentation Oct 15, 2017
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 15, 2017
type: kubernetes.io/tls
name: foo
annotations:
kubernetes.io/ingress.class: "gce"
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd suggest to replace gce to internal

@aledbf aledbf merged commit d27829c into kubernetes:master Oct 16, 2017
@aledbf aledbf deleted the docs branch October 16, 2017 12:05
dghubble pushed a commit to poseidon/typhoon that referenced this pull request May 4, 2019
* nginx-ingress no longer requires endpoints create/update RBAC Role permissions
* kubernetes/ingress-nginx#1527
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace yaml examples with the stable helm chart
6 participants