Giter Club home page Giter Club logo

knative-eventing's Introduction

knative-eventing

Instantly create and update Knative eventing definitions running on top of your Kubernetes cluster with Serverless Components.

 

  1. Install
  2. Create
  3. Configure
  4. Deploy

 

1. Install

$ npm install -g serverless

2. Create

Just create a serverless.yml file

$ touch serverless.yml

Make sure that you have generated your Kubeconfig file via kubectl.

3. Configure

# serverless.yml
org: acme
app: todo
name: todo-knative-eventing

component: knative-eventing@dev

inputs:
  kubeConfigPath: ../kubeconfig # default is `~/.kube/config`
  knativeGroup: eventing.knative.dev # default is `eventing.knative.dev`
  knativeVersion: v1alpha1 # default is `v1alpha1`
  namespace: 'default' # default is `'default'`
  kind: 'Trigger' # default is `'Trigger'`
  name: my-knative-event
  spec: # eventing specification
    filter:
      attributes:
        type: dev.knative.foo.bar
    subscriber:
      ref:
        name: my-knative-service
        kind: 'Service'
        apiVersion: 'serving.knative.dev/v1alpha1'

4. Deploy

$ serverless

New to Components?

Checkout the Serverless Components repo for more information.

knative-eventing's People

Contributors

pmuens avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

shela dmartinol

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.