Skip to content
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

Traefik creating backends & mappings for ingress annotated with ingress.class: nginx #1058

Closed
roffe opened this issue Jan 23, 2017 · 1 comment

Comments

@roffe
Copy link

roffe commented Jan 23, 2017

What version of Traefik are you using (traefik version)?

1.1.2-camembert

What is your environment & configuration (arguments, toml...)?

Kubernetes 1.5.1

---
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
  name: traefik-ingress-controller
  namespace: traefik-ingress
  labels:
    k8s-app: traefik-ingress-lb
spec:
  template:
    metadata:
      labels:
        k8s-app: traefik-ingress-lb
        name: traefik-ingress-lb
        version: v1.1.2
    spec:
      nodeSelector:
        role: internal-ingress
      terminationGracePeriodSeconds: 60
      hostNetwork: true
      containers:
      - image: traefik:v1.1.2
        name: traefik-ingress-lb
        resources:
          limits:
            cpu: 200m
            memory: 30Mi
          requests:
            cpu: 100m
            memory: 20Mi
        ports:
        - containerPort: 80
          hostPort: 80
        - containerPort: 443
          hostPort: 443
        - containerPort: 8080
          hostPort: 8080
        args:
        - --web
        - --kubernetes
        - --logLevel=DEBUG
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: "nginx"
    kubernetes.io/tls-acme: "false"
  name: communication-fe-test
  namespace: hptest
spec:
  rules:
  - host: notsupposedtolistintraefik.tld
    http:
      paths:
      - backend:
          serviceName: communication-fe
          servicePort: 80
        path: /

What did you expect to see?

No ingress rule in traffic since ingres.class = nginx

What did you see instead?

screen shot 2017-01-23 at 15 24 46

@errm
Copy link
Contributor

errm commented Feb 22, 2017

#1163 dupes this, there is more discussion there so closing this

@errm errm closed this as completed Feb 22, 2017
@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants