Giter Club home page Giter Club logo

eventing-dockerhub's Introduction

Top Langs

eventing-dockerhub's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar github-actions[bot] avatar tom24d avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

eventing-dockerhub's Issues

Event transportation is really fragile.

Describe the bug
Transportation success ratio is ~50%.

To Reproduce
Steps to reproduce the behavior:

  1. Install DockerHubSource
  2. Apply callback-display
  3. Apply source with disabledAutoCallback=true
  4. docker push
  5. See failure ratio on hub.docker.com

Expected behavior
Never fail.

Version info:

  • Serving: 0.15.0
  • Eventing: 0.15.0
  • Kubernetes: 1.16.9-gke.2

The namespacing on the CloudEvent EventType should not be dev.knative

Describe the bug

The sample uses

  type: dev.knative.source.dockerhub.push

This conflicts with the sources that are maintained by Knative.

Expected behavior

You should use your own namespacing until this code is donated to Knative to not overlap the eventing namespace.

  type: tom24d.source.dockerhub.push

Remove unnecessary error k8s event

Describe the bug
Currently, DockerHubSource reports unnecessary error under specific situation.

To Reproduce
Steps to reproduce the behavior:

  1. apply normal-display, callback-display
  2. apply source disableAutoCallback=false, sink is normal-one
  3. change disableAutoCallback=true, sink is callback-one, apply it
  4. See error via kubectl describe
  Type     Reason          Age              From                        Message
  ----     ------          ----             ----                        -------
  Normal   ServiceCreated  70s              dockerhubsource-controller  Created Service "dockerhub-source-p6wpm"
  Warning  InternalError   5s (x2 over 5s)  dockerhubsource-controller  Operation cannot be fulfilled on services.serving.knative.dev "dockerhub-source-p6wpm": the object has been modified; please apply your changes to the latest version and try again
  Normal   ServiceUpdated  5s               dockerhubsource-controller  Updated disableAutoCallback: true

Expected behavior
No error

Version info:

  • Serving: 0.15.0
  • Eventing: 0.15.0
  • Kubernetes: do not remember

Consider maintenance under knative repo

As an author, I am curious how many folks are interested in this source.
Currently I am not asking the movement to Source WG.
If you wish you consume this source from knative repo, just leave your stamp here.๐Ÿ‘€
I will consider about that if this gathers much interest.

queue-proxy container causes CrashLoopBackOff when applying example.yaml

Describe the bug
Currently, DockerHubSource does not work. The pod, that is owned by ksvc owned by applied DockerHubSource, causes CrashLoopBackOff like:
caller: "queue/main.go:393" commit: "12fd001" error: "metrics server failed: listen tcp :9090: bind: address already in use" knative.dev/key: {โ€ฆ} knative.dev/pod: "dockerhub-source-6lt79-mpzk6-deployment-7756896556-bcr4r" level: "error" logger: "queueproxy" msg: "Failed to bring up queue-proxy, shutting down."
and hub.docker.com cannot access to the Receive Adapter.

To Reproduce
Steps to reproduce the behavior:

  1. Install DockerHubSource
  2. Apply example
  3. The error is shown in the queue-proxy container.

Expected behavior
Do not happen.

Version info:

  • Serving: 0.15.0
  • Eventing: 0.15.0
  • Kubernetes: 1.16.8-gke.15

Additional Info
GitHubSource does not cause such an error, so definitely it is not related to the mod.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.