Skip to content
maximilienPublic

About

Knative micro-functions demo using the `kn` client

Topics

Resources

Security policy

Stars

25 stars

Watchers

0 watching

Forks

Latest commit

 

History

92 Commits

Folders and files

Repository files navigation

knfun

Knfun is a set of Knative micro-services / micro-functions intended to be used for live demos. The main goal is to illustrate the end-to-end developer experience of using Knative and its kn CLI.

The first demo uses three functions in a live demo setting (ideally with an audience participating). The following diagram is a sketch of this demo and these slides can be used for introduction.

Demo sketch

Functions

  1. TwitterFn search function (via Twitter's API)

    • in: hashtags or string to search
    • in: count (max number of tweets to return)
    • out: recent tweets with images
  2. WatsonFn visual recognition image classifier function (via IBM's Watson APIs)

    • in: image URL
    • out: image features (class) with confidence (score)
  3. SummaryFn function

    • in: search string and TwitterFn and WatsonFn URLs
    • in: count (max number of tweets)
    • out: HTML page displaying summary

Both the TwitterFn and WatsonFn require credentials to execute. This means that the demoer's secret keys for both the TwitterFn and WatsonFn are also required as input, however, to simplify the discussion, the keys are sometimes ommited in diagrams and other places.

Table of Contents

About

Knative micro-functions demo using the `kn` client

Topics

Resources

Security policy

Stars

25 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages