Difficulty: Introduction
Estimated Time: 15 minutes

In this scenario, you will learn how to write the go function using OpenFaaS.

The OpenFaaS function can be written in any programming language including java, go, node, python, ruby, .net etc...

You have learned how to write OpenFaaS function using java8 and Gradle as build system.

OpenFaaS - Serverless function using go on kubernetes

Step 1 of 3

Verify the OpenFaaS environment

The OpenFaaS environment is being prepared, wait for 2 minutes to let it up and you will see the OpenFaaS Gateway URL in the terminal aside.

OpenFaaS Design & Architecture

Below is the design and Architecture of OpenFaaS.

OpenFaaS Architecture

Access the OpenFaaS Gateway

To interact with OpenFaaS through its portal, access the OpenFaaS Gateway on the tab or from this link: https://[[HOST_SUBDOMAIN]]-31112-[[KATACODA_HOST]].environments.katacoda.com/

When asked about credentials enter the username as admin and password as revealed below: echo -e "The OpenFaaS portal will need these credentials when prompted:\nuser: admin\npassword: $PASSWORD"

Once login you should be able to see the dashboard and option to deploy function.