1. Tools
  2. Function Mesh Operator

Install Function Mesh Operator

This document describes how to install Function Mesh based on your application in Kubernetes.

Install Function Mesh

This section describes how to install Function Mesh through the install.sh script or through the Helm.


Before installing Function Mesh, ensure to perform the following operations.

  1. Clone the StreamNative Function Mesh repository.

    git clone https://github.com/streamnative/function-mesh.git
    cd function-mesh
  2. Create the custom resource type.

    This example defines a YAML file for Function Mesh v0.1.7.

    curl -sSL https://github.com/streamnative/function-mesh/releases/download/v0.1.7/crd.yaml | kubectl create -f -
  3. Install the Function Mesh Operator.

    a. Create a Kubernetes namespace function-mesh. If no Kubernetes namespace is specified, the default namespace is used.

    kubectl create ns function-mesh

    b. Install Function Mesh Operator.

    helm install function-mesh --values charts/function-mesh-operator/values.yaml charts/function-mesh-operator --namespace=function-mesh
  4. Check whether Function Mesh is installed successfully.

    kubectl get pods -l app.kubernetes.io/component=controller-manager


    NAME                                READY   STATUS      RESTARTS   AGE
    function-mesh-controller-manager-696f6467c9-mbstr               1/1     Running     0          77s

Uninstall Function Mesh

Use the following command to uninstall Function Mesh through Helm.

helm delete function-mesh
Function Mesh Overview