Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

v0.5.0

Compare
Choose a tag to compare
@kubernetes-bitnami kubernetes-bitnami released this 28 Mar 10:24
· 232 commits to master since this release
a954695

Summary of changes introduced in v0.5.0:

  • Breaking change: Functions have a new standard interface! It is required to adapt existing functions to the new format. Check out more info about the new interface and examples.
  • Kubeless now supports PHP functions. Thanks to @paolomainardi! You can check PHP examples here.
  • Alpha feature: It is now possible to generate redistributable Docker images with Kubeless functions. Check out how to do it here.
  • Kafka and Zookeeper are now optional. If you want to use Kafka for triggering functions using the PubSub method follow the instructions below.
  • Breaking change: Kubeless fully support Kubernetes 1.9. The support for 1.7 is now limited. Check the compatibility matrix to know more about features and versions supported.
  • Breaking change: Function Triggers have now their own Custom Resources. The same function can now be triggered from several event sources using a single Function deployment. That means that it is required to create a specific Custom Resource to trigger functions using Kafka messages or with a scheduled cron task. There are new commands available to do so, check kubeless trigger --help to discover these commands. Architecture details can be found here.
  • Breaking change: The flag --trigger-http has been removed from the kubeless function deploy command since every function will now expose a cluster-internal HTTP endpoint.
  • Breaking change: The command kubeless route has been replaced with kubeless trigger http. This will create a new Ingress rule to expose a function outside the cluster. You can now also specify a path to deploy your function. More info here

This is the detailed list of commits included in this release:

To install this latest version, use the manifest that is part of the release:

NO RBAC:

kubectl create ns kubeless
curl -sL https://github.com/kubeless/kubeless/releases/download/v0.5.0/kubeless-v0.5.0.yaml | kubectl create -f -

WITH RBAC ENABLED:

kubectl create ns kubeless
curl -sL https://github.com/kubeless/kubeless/releases/download/v0.5.0/kubeless-rbac-v0.5.0.yaml | kubectl create -f -

KAFKA:

curl -sL https://github.com/kubeless/kubeless/releases/download/v0.5.0/kafka-zookeeper-v0.5.0.yaml | kubectl create -f -

OPENSHIFT:

oc create ns kubeless
curl -sL https://github.com/kubeless/kubeless/releases/download/v0.5.0/kubeless-openshift-v0.5.0.yaml | oc create -f -