Create a workload

The tutorial comes with a sample HttpBin service deployment and a sample Function.

Steps

Follow these steps to deploy an instance of the HttpBin service or a sample Function.

  1. Create a Namespace and export its value as an environment variable. Skip the step if you already have a Namespace. Run:

    Click to copy
    export NAMESPACE={NAMESPACE_NAME}
    kubectl create ns $NAMESPACE
    kubectl label namespace $NAMESPACE istio-injection=enabled --overwrite
  • HttpBin
  • Function
  1. Deploy an instance of the HttpBin service in your Namespace:

    Click to copy
    kubectl -n $NAMESPACE create -f https://raw.githubusercontent.com/istio/istio/master/samples/httpbin/httpbin.yaml

Next steps

Once you have your workload deployed, you can continue by choosing one of the following tutorials: