-
Notifications
You must be signed in to change notification settings - Fork 69
Configuring nodebalancer within kubernetes with the linode-cloud-controller-manager install #543
Description
Hi, i have create some linode and added them to a VPC and a Subnet, in my plain cluster(not using LKE)
i have install the linode-cloud-controller-manager and have serious problem when trying to provision a nodebalancer.
the linodes doesn't have any private IP so when i try to provision a nodebalancer like this :
apiVersion: v1
kind: Service
metadata:
name: my-service
annotations:
service.beta.kubernetes.io/linode-loadbalancer-backend-ipv4-range: "10.0.1.8/30"
service.beta.kubernetes.io/linode-loadbalancer-backend-vpc-name: "k8s-vpc"
service.beta.kubernetes.io/linode-loadbalancer-backend-subnet-name: "k8s-nodes"
spec:
type: LoadBalancer
ports:
- port: 80
targetPort: 8080
selector:
app: my-app
i get Error
Syncing load balancer: failed to ensure load balancer: [400] [configs[0].nodes[0].address] Must begin with 192.168; [configs[0].nodes[1].address] Must begin with 192.168;
so i have changed to helm chart to try to install the linode cloud controller with the corresponding values for vpc and subnet has it is said here : Linode cloud controller helm installation
tried both approches with the route controller or just setting the vpcs but this time getting a weird message saying
Nodebalancer is not allowed within a VPC