Version: 0.7.6
Google Kubernetes Engine
Follow these instructions to prepare a GKE cluster for NiFiKop
- Setup environment variables.
export GCP_PROJECT=<project_id>
export GCP_ZONE=<zone>
export CLUSTER_NAME=<cluster-name>
- Create a new cluster.
gcloud container clusters create $CLUSTER_NAME \
  --cluster-version latest \
  --machine-type=n1-standard-1 \
  --num-nodes 4 \
  --zone $GCP_ZONE \
  --project $GCP_PROJECT
- Retrieve your credentials for kubectl.
cloud container clusters get-credentials $CLUSTER_NAME \
    --zone $GCP_ZONE \
    --project $GCP_PROJECT
- Grant cluster administrator (admin) permissions to the current user. To create the necessary RBAC rules for NiFiKop, the current user requires admin permissions.
kubectl create clusterrolebinding cluster-admin-binding \
    --clusterrole=cluster-admin \
    --user=$(gcloud config get-value core/account)