Skip to content

Traefik: Update to match current behavior for custom configs#2583

Merged
davidnuzik merged 1 commit intorancher:masterfrom
joakimr-axis:joakimr-axis_traefik-conf
Aug 31, 2020
Merged

Traefik: Update to match current behavior for custom configs#2583
davidnuzik merged 1 commit intorancher:masterfrom
joakimr-axis:joakimr-axis_traefik-conf

Conversation

@joakimr-axis
Copy link
Copy Markdown
Contributor

Changes in traefik.yaml will be overwritten. See @kamilgregorczyk's
comment:

k3s-io/k3s#1254 (comment)

Signed-off-by: Joakim Roubert joakimr@axis.com

The Traefik ingress controller will use ports 80, 443, and 8080 on the host (i.e. these will not be usable for HostPort or NodePort).

Traefik can be configured by editing the `traefik.yaml` file. For more information, refer to the official [Traefik for Helm Configuration Parameters.](https://github.com/helm/charts/tree/master/stable/traefik#configuration)
Traefik can be configured by editing the `traefik.yaml` file. Then you must deploy k3s with the `--no-deploy traefik` option to prevent k3s from using (and overwriting your modified version with) the default traefik.yaml and store your modified copy in the k3s/server/manifests directory. For more information, refer to the official [Traefik for Helm Configuration Parameters.](https://github.com/helm/charts/tree/master/stable/traefik#configuration)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggesting a rephrase here.
To prevent k3s from using or overwriting the modified version, deploy k3s with --no-deploy traefik and store the modified copy in the k3s/server/manifests directory.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Excellent suggestion, I will update immediately. Thanks!

Changes in traefik.yaml will be overwritten. See @kamilgregorczyk's
comment:

k3s-io/k3s#1254 (comment)

Change-Id: I759df77721dcba0d170086660396e7be32ff57cf
Signed-off-by: Joakim Roubert <joakimr@axis.com>
Copy link
Copy Markdown

@ShylajaDevadiga ShylajaDevadiga left a comment

Choose a reason for hiding this comment

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

LGTM

@davidnuzik
Copy link
Copy Markdown
Contributor

Thanks for the contribution @joakimr-axis

@davidnuzik davidnuzik merged commit a9f08e9 into rancher:master Aug 31, 2020
@joakimr-axis joakimr-axis deleted the joakimr-axis_traefik-conf branch September 1, 2020 07:31
catherineluse pushed a commit that referenced this pull request Sep 9, 2020
In content/k3s/latest/en/networking/_index.md,
`k3s/server/manifests directory` should be `k3s/server/manifests`
directory.

Change-Id: Icd0434cf0e833951db09e9287d4c56ff89bf5ced
Signed-off-by: Joakim Roubert <joakimr@axis.com>
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.

5 participants