-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Re Organise k8s docs to make 1.6 usage easier #1602
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a single GKE-related note, but otherwise 👍
docs/user-guide/kubernetes.md
Outdated
of Kubernetes resources and api. | ||
|
||
If your cluster is configured with RBAC, you need to authorize Traefik to use | ||
kubernetes API using ClusterRole and ClusterRoleBinding resources: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, this does not seem to be required on GKE: We're running a Traefik DaemonSet without any extra ServiceAccounts or ClusterRoles defined.
Maybe we could add a note saying something along the lines of
Note that on GKE, this may not be necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't run 1.6 on GKE yet, but I would suspect that this is because the default service account for whatever namespace you are running this on already has a role with sufficient privileges.
This config is good because it gives an example of what will work for sure rather than depending on something that has already been setup.
a8b0006
to
b07367e
Compare
Ok @timoreimann I added a generic note as I think your comment probably applies to many installations not just GKE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One tiny little remark, but nevertheless LGTM'ing already. :-)
docs/user-guide/kubernetes.md
Outdated
If your cluster is configured with RBAC, you may need to authorize Traefik to use | ||
kubernetes API using ClusterRole and ClusterRoleBinding resources: | ||
|
||
_Note: your cluster may already have suitable ClusterRoles already setup, but the following should work everywhere_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
already mentioned twice. :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
derp...
b07367e
to
b0a572d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @errm
LGTM
I suggest we change the base branch to v1.3 to get this right into the next release :) |
* Adds some raw.githubusercontent.com links to the kubectl examples to make following along at home simpler. * Dedupe the config for rbac so it can just be ommited if not needed.
b0a572d
to
c944d48
Compare
Changed base branch to containous:v1.3 and rebased. |
make following along at home simpler.