kubeless icon indicating copy to clipboard operation
kubeless copied to clipboard

Kubeless is unable to call the function on a GKE cluster with private nodes enabled.

Open daanlevi opened this issue 4 years ago • 0 comments

This is a BUG REPORT.

When creating a GKE cluster with the --enable-private-nodes flag it is not possible to reach the kubeless function and get a response https://cloud.google.com/sdk/gcloud/reference/container/clusters/create#--enable-private-nodes

I expected to get an answer like: $ kubeless function call hello --data 'Hello world!' Hello world!

Create a GKE cluster in GCP with the following command: I commented out the private details for network with **** gcloud container clusters create "kubeless-test" --region "europe-west4" --no-enable-basic-auth --cluster-version "1.13.7-gke.8" --machine-type "n1-standard-1" --image-type "COS" --disk-type "pd-standard" --disk-size "100" --metadata disable-legacy-endpoints=true --scopes "default" --preemptible --num-nodes "1" --enable-cloud-logging --enable-cloud-monitoring --enable-private-nodes --master-ipv4-cidr "172.16.0.0/28" --enable-ip-alias --network "projects//global/networks/default" --subnetwork "projects//regions/europe-west4/subnetworks/default" --default-max-pods-per-node "110" --enable-master-authorized-networks="****" --addons HorizontalPodAutoscaling,HttpLoadBalancing --enable-autoupgrade --enable-autorepair

After that I installed kubeless with the helm chart and deployed the sample function https://kubeless.io/docs/quick-start/

Environment:

  • Kubernetes version 1.13.7
  • Kubeless version v1.0.4
  • Cloud provider GCP

daanlevi avatar Sep 05 '19 15:09 daanlevi