As part of GCE configuration, Using CCM(Cloud Controller Manager) Kubernetes API to launch this loadbalancer. I have configured a custom VPC network and custom subnet and tried launching a Internal loadbalancer to publish my services within the project.
Problem is creation of Internal LB got failed.
system 50s Normal EnsuringLoadBalancer service/ABC Ensuring load balancer
system 59s Warning SyncLoadBalancerFailed service/ABC Error syncing load balancer: failed to ensure load balancer: googleapi: Error 400: Invalid value for field 'resource.subnetwork': ''. Network interface must specify a subnet if the network resource is in custom subnet mode., invalid
Manifest files as following annotation
cloud.google.com/load-balancer-type: "Internal"
Any suggestions to solve this error are most welcome?