flink-operator/flink-operator

Chart version: 0.1.1
Api version: v1
App version: 1.0
A Helm chart for flink on Kubernetes operator
application
Chart Type
Active
Status
Unknown
License
258
Downloads
https://googlecloudplatform.github.io/flink-on-k8s-operator
Set me up:
helm repo add center https://repo.chartcenter.io
Install Chart:
helm install flink-operator center/flink-operator/flink-operator
Versions (0)

Helm Chart for Flink Operator

This is the Helm chart for the Flink operator.

Installing the Chart

The instructions to install the Flink operator chart:

  1. Prepare a Flink operator image. You can either use a released image e.g., gcr.io/flink-operator/flink-operator:latest or follow the instructions here to build and push an image from the source code.

  2. Run the bash script update_template.sh to update the manifest files in templates from the Flink operator source repo (This step is only required if you want to install from the local chart repo).

  3. Register CRD (You can skip this step if your helm version is v3).

    kubectl create -f https://raw.githubusercontent.com/GoogleCloudPlatform/flink-on-k8s-operator/master/config/crd/bases/flinkoperator.k8s.io_flinkclusters.yaml
    
    1. Finally operator chart can be installed by running: bash helm repo add flink-operator-repo https://googlecloudplatform.github.io/flink-on-k8s-operator/ helm install --name [RELEASE_NAME] flink-operator-repo/flink-operator --set operatorImage.name=[IMAGE_NAME] or to install it using local repo with command: bash helm install --name [RELEASE_NAME] . --set operatorImage.name=[IMAGE_NAME]

    Uninstalling the Chart

    To uninstall your release:

    helm delete [RELEASE_NAME]
    

CRD created by this chart are not deleted by helm uninstall. CRD deletion causes terminating all FlinkCluster CRs and related kubernetes resources, therefore it should be deleted carefully, You can manually clean up CRD:

  kubectl delete crd flinkclusters.flinkoperator.k8s.io