curl -v "http://default-broker.default.svc.cluster.local/" \
-X POST \
-H "X-B3-Flags: 1" \
-H "CE-SpecVersion: 0.2" \
-H "CE-Type: dev.knative.foo.bar" \
-H "CE-Time: 2018-04-05T03:56:24Z" \
-H "CE-ID: 45a8b444-3213-4758-be3f-540bf93f85ff" \
-H "CE-Source: dev.knative.example" \
-H 'Content-Type: application/json' \
-d '{ "much": "wow" }'the error is inside the broker, see below :{"level":"warn","ts":1575211987.0189402,"logger":"fallback","caller":"http/transport.go:502",
"msg":"got an error from receiver fn","error":"Post http://my-service.default.svc.cluster.local: dial tcp 10.0.15.143:80: connect: connection refused"} │
{"level":"warn","ts":1575211987.0190103,"logger":"fallback","caller":"http/transport.go:594",
"msg":"error returned from invokeReceiver","error":"Post http://my-service.default.svc.cluster.local: dial tcp 10.0.15.143:80: connect: connection refused"}
Do you have any idea ?The sample on the page https://knative.dev/docs/eventing/getting-started/ with native kubernetes deployment/service work correctly.Best regardsGuillaume
gcloud beta container clusters create $CLUSTER_NAME \
--machine-type=n1-standard-2 \
--cluster-version=latest --zone=$CLUSTER_ZONE \
--enable-stackdriver-kubernetes --enable-ip-alias \
--enable-autoscaling --min-nodes=1 --max-nodes=10 \
--enable-autorepair \
--scopes cloud-platform
--
You received this message because you are subscribed to the Google Groups "Knative Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to knative-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/knative-users/c13a1cb5-a228-482e-b7a6-8cfc8ffd024b%40googlegroups.com.
apiVersion: gloo.solo.io/v1kind: Proxymetadata: creationTimestamp: "2019-12-02T18:25:08Z" generation: 6 labels: created_by: gloo-knative-translator name: knative-external-proxy namespace: gloo-system resourceVersion: "4204" uid: 11f146a0-1531-11ea-a487-42010af00002spec: listeners: - bindAddress: '::' bindPort: 80 httpListener: virtualHosts: - domains: - helloworld-go.default.svc.cluster.local - helloworld-go.default.svc.cluster.local:80 - helloworld-go.default.svc - helloworld-go.default.svc:80 - helloworld-go.default - helloworld-go.default:80 name: default.helloworld-go-0 routes: - matchers: - regex: .* options: retries: numRetries: 3 perTryTimeout: 600s timeout: 600s routeAction: multi: destinations: - destination: kube: port: 80 ref: name: helloworld-go-km7tj namespace: default
...
kubectl get ingresses.networking.internal.knative.dev --all-namespaces
# port forwarfd to the container
kubectl port-forward -n gloo-system deployment/knative-external-proxy 8080:80&
# test with a curl directly to the container
curl -v localhost:8080 # should return a 404
--
You received this message because you are subscribed to the Google Groups "Knative Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to knative-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/knative-users/ced802a6-d07a-468e-a621-ffd845ac0231%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to knativ...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to knative-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/knative-users/0001f7ab-a8aa-43ca-9f3e-ac6564c15415%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/knative-users/0001f7ab-a8aa-43ca-9f3e-ac6564c15415%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to knative-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/knative-users/a5d12e0b-9395-4e4e-b436-4f6f4e48d19f%40googlegroups.com.