Book Image

Kubernetes for Serverless Applications

By : Russ McKendrick
Book Image

Kubernetes for Serverless Applications

By: Russ McKendrick

Overview of this book

Kubernetes has established itself as the standard platform for container management, orchestration, and deployment. It has been adopted by companies such as Google, its original developers, and Microsoft as an integral part of their public cloud platforms, so that you can develop for Kubernetes and not worry about being locked into a single vendor. This book will initially start by introducing serverless functions. Then you will configure tools such as Minikube to run Kubernetes. Once you are up-and-running, you will install and configure Kubeless, your first step towards running Function as a Service (FaaS) on Kubernetes. Then you will gradually move towards running Fission, a framework used for managing serverless functions on Kubernetes environments. Towards the end of the book, you will also work with Kubernetes functions on public and private clouds. By the end of this book, we will have mastered using Function as a Service on Kubernetes environments.
Table of Contents (13 chapters)

Twitter streams

As we installed the Twitter connector in the previous section, let's take a look at configuring it to pull in some data. To start with, you can view all of the configurable options for the connector by running the following command:

$ funktion edit connector twitter -l

You should see something like the following Terminal output:

As you can see, you can configure a proxy as well as providing an accessToken, accessTokenSecret, consumerKey, and consumerSecret. You should have these from the previous chapter. If not then regenerate them using the instructions in Chapter 4, Introducing Kubeless Functioning.

Like the tokens and secrets I will be using to demonstrate the commands you need to run, the details listed in the preceding screenshot are the default dummy placeholder details and are not valid.

To update the connector with your own details, run the following...