From 50f05276aa46a1da90fccb8354df6b2019b6580a Mon Sep 17 00:00:00 2001 From: David Nuzik Date: Wed, 13 Nov 2019 19:17:11 -0700 Subject: [PATCH] Tweaks to Traefik on Networking page - Modify the Traefik sectoin so it's clear it's the ingress controller - Make it clear what ports are use don the host (so can't use for HostPort or a strange NodePort setting) - Small misc tweaks --- content/k3s/latest/en/networking/_index.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/content/k3s/latest/en/networking/_index.md b/content/k3s/latest/en/networking/_index.md index 265fdf601b5..042090854d2 100644 --- a/content/k3s/latest/en/networking/_index.md +++ b/content/k3s/latest/en/networking/_index.md @@ -19,21 +19,28 @@ disables access to port 8472. Flannel ------- -Flannel is included by default, if you don't want flannel then run the agent with `--no-flannel` option. +Flannel is included by default, if you don't want flannel then run each agent with `--no-flannel` option. In this setup you will still be required to install your own CNI driver. More info [here](https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/#pod-network) CoreDNS ------- -CoreDNS is deployed on start of the agent, to disable run the server with the `--no-deploy coredns` option. +CoreDNS is deployed on start of the agent, to disable run each server with the `--no-deploy coredns` option. If you don't install CoreDNS you will need to install a cluster DNS provider yourself. -Traefik -------- +Traefik Ingress Controller +-------------------------- -Traefik is deployed by default when starting the server; to disable it, start the server with the `--no-deploy traefik` option. The default config file is found in `/var/lib/rancher/k3s/server/manifests/traefik.yaml` and any changes made to this file will automatically be deployed to Kubernetes in a manner similar to `kubectl apply`. +Traefik is deployed by default when starting the server. For more information see [Auto Deploying Manifests]({{< baseurl >}}/k3s/latest/en/configuration/#auto-deploying-manifests). The default config file is found in `/var/lib/rancher/k3s/server/manifests/traefik.yaml` and any changes made to this file will automatically be deployed to Kubernetes in a manner similar to `kubectl apply`. + +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). + +You can tweak traefik to meet your needs by setting options in the traefik.yaml file. +Reference the official [Traefik for Helm Configuration Parameters](https://github.com/helm/charts/tree/master/stable/traefik#configuration) readme for more information. + +To disable it, start each server with the `--no-deploy traefik` option. Service Load Balancer ---------------------