Uploaded image for project: 'Knative Serving'
  1. Knative Serving
  2. SRVKS-341

cluster-local ksvc never becomes ready, stays in IngressNotConfigured, namespace not added to serving ingress SMMR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.2.0
    • 1.2.0
    • None
    • Serverless Sprint 175

      Creating a cluster-local ksvc first in a project doesn't configure the namespace in knative-serving-ingress SMMR and the cluster-local ksvc never becomes ready

      • oc new-project foobar
      • oc create -f - <<EOF
        apiVersion: serving.knative.dev/v1
        kind: Service
        metadata:
          name: autoscale-go
          labels:
            serving.knative.dev/visibility: cluster-local
        spec:
          template:
            spec:
              containers:
              - image: gcr.io/knative-samples/autoscale-go:0.1
        EOF
        
      • The service stays in
        $ oc get ksvc
        NAME           URL                                             LATESTCREATED        LATESTREADY          READY     REASON
        autoscale-go   http://autoscale-go.foobar.svc.cluster.local   autoscale-go-skhtx   autoscale-go-skhtx   Unknown   IngressNotConfigured
        

        the foobar namespace is not being added to the knative-serving-ingress SMMR

      oc get smmr --all-namespaces
      NAMESPACE                 NAME      MEMBERS
      knative-serving-ingress   default   [knative-serving]
      

              sashture Savita .
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: