You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* docs: added treafik public and private routing
Signed-off-by: ivan katliarchuk <[email protected]>
docs: added treafik public and private routing
Signed-off-by: ivan katliarchuk <[email protected]>
docs: added treafik public and private routing
Signed-off-by: ivan katliarchuk <[email protected]>
docs: added treafik public and private routing
Signed-off-by: ivan katliarchuk <[email protected]>
docs: added treafik public and private routing
Signed-off-by: ivan katliarchuk <[email protected]>
docs: added treafik public and private routing
Signed-off-by: ivan katliarchuk <[email protected]>
docs: added treafik public and private routing
Signed-off-by: ivan katliarchuk <[email protected]>
docs: added treafik public and private routing
Co-authored-by: Michel Loiseleur <[email protected]>
docs(traefik): public and private routing
Signed-off-by: ivan katliarchuk <[email protected]>
* docs(traefik): public and private routing
Signed-off-by: ivan katliarchuk <[email protected]>
* docs(traefik): public and private routing
Co-authored-by: Michel Loiseleur <[email protected]>
* docs(traefik): public and private routing
Signed-off-by: ivan katliarchuk <[email protected]>
* docs(traefik): public and private routing
Co-authored-by: Michel Loiseleur <[email protected]>
---------
Signed-off-by: ivan katliarchuk <[email protected]>
Co-authored-by: Michel Loiseleur <[email protected]>
Copy file name to clipboardExpand all lines: docs/flags.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@
38
38
|`--[no-]ignore-ingress-rules-spec`| Ignore the spec.rules section in Ingress resources (default: false) |
39
39
|`--[no-]ignore-ingress-tls-spec`| Ignore the spec.tls section in Ingress resources (default: false) |
40
40
|`--[no-]ignore-non-host-network-pods`| Ignore pods not running on host network when using pod source (default: false) |
41
-
|`--ingress-class=INGRESS-CLASS`| Require an Ingress to have this class name (defaults to any class; specify multiple times to allow more than one class) |
41
+
|`--ingress-class=INGRESS-CLASS`| Require an Ingress to have this class name; specify multiple times to allow more than one class (optional; defaults to any class) |
42
42
|`--label-filter=""`| Filter resources queried for endpoints by label selector; currently supported by source types crd, gateway-httproute, gateway-grpcroute, gateway-tlsroute, gateway-tcproute, gateway-udproute, ingress, node, openshift-route, service and ambassador-host |
43
43
|`--managed-record-types=A...`| Record types to manage; specify multiple times to include many; (default: A,AAAA,CNAME) (supported records: A, AAAA, CNAME, NS, SRV, TXT) |
44
44
|`--namespace=""`| Limit resources queried for endpoints to a specific namespace (default: all namespaces) |
Depending where you run your IngressRoute it can take a little while for ExternalDNS synchronize the DNS record.
134
40
41
+
## Support private and public routing
42
+
43
+
To create a more robust and manageable Kubernetes environment, leverage separate Ingress classes to finely control public and private routing's security, performance, and operational policies. Similar approach could work in multi-tenant environments.
44
+
45
+
For this we are going to need two instances of `traefik` (public and private) as well as two instances of `external-dns`.
46
+
47
+
The `traefik` configuration should contain (for more detailed configured validate with the vendor)
48
+
49
+
```yaml
50
+
[[% include 'traefik-proxy/traefik-public-private-config.yaml' %]]
51
+
```
52
+
53
+
Create a IngressRoutes files with the following contents:
54
+
55
+
```yaml
56
+
[[% include 'traefik-proxy/ingress-route-public-private.yaml' %]]
57
+
```
58
+
59
+
And the arguments for `external-dns` instances should looks like
| --traefik-disable-legacy | Disable listeners on Resources under traefik.containo.us |
149
-
| --traefik-disable-new | Disable listeners on Resources under traefik.io |
86
+
| --traefik-disable-new | Disable listeners on Resources under traefik.io|
150
87
151
88
### Disabling Resource Listeners
152
89
153
-
Traefik has deprecated the legacy API group, traefik.containo.us, in favor of traefik.io. By default the traefik-proxy source will listen for resources under both API groups; however, this may cause timeouts with the following message
90
+
Traefik has deprecated the legacy API group, `traefik.containo.us`, in favor of `traefik.io`. By default the `traefik-proxy` source will listen for resources under both API groups; however, this may cause timeouts with the following message
154
91
155
92
```sh
156
93
FATA[0060] failed to sync traefik.io/v1alpha1, Resource=ingressroutes: context deadline exceeded
app.Flag("ignore-ingress-rules-spec", "Ignore the spec.rules section in Ingress resources (default: false)").BoolVar(&cfg.IgnoreIngressRulesSpec)
474
474
app.Flag("ignore-ingress-tls-spec", "Ignore the spec.tls section in Ingress resources (default: false)").BoolVar(&cfg.IgnoreIngressTLSSpec)
475
475
app.Flag("ignore-non-host-network-pods", "Ignore pods not running on host network when using pod source (default: false)").BoolVar(&cfg.IgnoreNonHostNetworkPods)
476
-
app.Flag("ingress-class", "Require an Ingress to have this class name (defaults to any class; specify multiple times to allow more than one class)").StringsVar(&cfg.IngressClassNames)
476
+
app.Flag("ingress-class", "Require an Ingress to have this class name; specify multiple times to allow more than one class (optional; defaults to any class)").StringsVar(&cfg.IngressClassNames)
477
477
app.Flag("label-filter", "Filter resources queried for endpoints by label selector; currently supported by source types crd, gateway-httproute, gateway-grpcroute, gateway-tlsroute, gateway-tcproute, gateway-udproute, ingress, node, openshift-route, service and ambassador-host").Default(defaultConfig.LabelFilter).StringVar(&cfg.LabelFilter)
478
478
managedRecordTypesHelp:=fmt.Sprintf("Record types to manage; specify multiple times to include many; (default: %s) (supported records: A, AAAA, CNAME, NS, SRV, TXT)", strings.Join(defaultConfig.ManagedDNSRecordTypes, ","))
0 commit comments