Skip to content

Configuring nodebalancer within kubernetes with the linode-cloud-controller-manager install #543

@alexandre-dev29

Description

@alexandre-dev29

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions