mirror of
https://github.com/hanzoai/ingress.git
synced 2026-10-26 02:47:15 +00:00
- CRD API group: traefik.io -> hanzo.ai (GroupName, apiVersion, RBAC)
- Docker/provider label prefix: traefik.* -> ingress.* (all providers)
- CRD kind: TraefikService -> IngressService
- Directory renames: traefikio/ -> hanzoai/ (types, generated code, listers, informers, clientset)
- Config root name: traefik -> ingress (KV stores, file paths, env prefix)
- Metrics prefix: traefik_ -> ingress_
- Kubernetes annotations: traefik.ingress.kubernetes.io/ -> ingress.kubernetes.io/
- Gateway annotations: traefik.io/ -> hanzo.ai/
- Internal provider package: provider/traefik -> provider/builtins
- Type renames: TraefikLog -> IngressLog, TraefikCmdConfiguration -> IngressCmdConfiguration
- Generated client methods: TraefikV1alpha1() -> HanzoV1alpha1(), Traefik() -> Hanzo()
- Sample configs: traefik.sample.{toml,yml} -> ingress.sample.{toml,yml}
- Config paths: /etc/traefik/ -> /etc/ingress/, ~/.config/traefik -> ~/.config/ingress
- Default cert CN: TRAEFIK DEFAULT CERT -> INGRESS DEFAULT CERT
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
services:
|
|
simple:
|
|
image: traefik/whoami
|
|
|
|
withtcplabels:
|
|
image: traefik/whoamitcp
|
|
command: [ "-name", "my.super.host" ]
|
|
labels:
|
|
ingress.tcp.Routers.Super.Rule: HostSNI(`my.super.host`)
|
|
ingress.tcp.Routers.Super.tls: true
|
|
ingress.tcp.Services.Super.Loadbalancer.server.port: 8080
|
|
|
|
withlabels1:
|
|
image: traefik/whoami
|
|
labels:
|
|
ingress.http.Routers.Super.Rule: Host(`my.super.host`)
|
|
|
|
withlabels2:
|
|
image: traefik/whoami
|
|
labels:
|
|
ingress.http.Routers.SuperHost.Rule: Host(`my-super.host`)
|
|
|
|
withonelabelmissing:
|
|
image: traefik/whoami
|
|
labels:
|
|
ingress.random.value: my.super.host
|
|
|
|
powpow:
|
|
image: traefik/whoami
|
|
command:
|
|
- --port=2375
|
|
labels:
|
|
ingress.http.Routers.Super.Rule: Host(`my.super.host`)
|
|
ingress.http.Services.powpow.LoadBalancer.server.Port: 2375
|
|
|
|
nonRunning:
|
|
image: traefik/whoami
|
|
labels:
|
|
ingress.http.Routers.NonRunning.Rule: Host(`non.running.host`)
|
|
ingress.docker.allownonrunning: "true"
|