{"record":{"id":"e837cab7efe68974","repo":"kubernetes/kops","slug":"scaleway-clusters-don-t-have-a-vpc-yet-so-interna","errorCode":null,"errorMessage":"Scaleway clusters don't have a VPC yet, so internal load-balancers are not supported at the time","messagePattern":"Scaleway clusters don't have a VPC yet, so internal load-balancers are not supported at the time","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/model/scalewaymodel/api_loadbalancer.go","lineNumber":53,"sourceCode":"\t*ScwModelContext\n\tLifecycle fi.Lifecycle\n}\n\nvar _ fi.CloudupModelBuilder = &APILoadBalancerModelBuilder{}\n\nfunc (b *APILoadBalancerModelBuilder) Build(c *fi.CloudupModelBuilderContext) error {\n\t// Configuration where a load balancer fronts the API\n\tif !b.UseLoadBalancerForAPI() {\n\t\treturn nil\n\t}\n\n\tlbSpec := b.Cluster.Spec.API.LoadBalancer\n\n\tswitch lbSpec.Type {\n\tcase kops.LoadBalancerTypePublic:\n\t\tklog.V(8).Infof(\"Using public load-balancer\")\n\tcase kops.LoadBalancerTypeInternal:\n\t\treturn fmt.Errorf(\"Scaleway clusters don't have a VPC yet, so internal load-balancers are not supported at the time\")\n\tdefault:\n\t\treturn fmt.Errorf(\"unhandled load-balancer type %q\", lbSpec.Type)\n\t}\n\n\tzone, err := scaleway.ParseZoneFromClusterSpec(b.Cluster.Spec)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"building load-balancer task: %w\", err)\n\t}\n\n\tlbTags := []string{\n\t\tfmt.Sprintf(\"%s=%s\", scaleway.TagClusterName, b.ClusterName()),\n\t\tfmt.Sprintf(\"%s=%s\", scaleway.TagNameRolePrefix, scaleway.TagRoleControlPlane),\n\t}\n\tfor k, v := range b.CloudTags(b.ClusterName(), false) {\n\t\tlbTags = append(lbTags, fmt.Sprintf(\"%s=%s\", k, v))\n\t}\n\n\tloadBalancerName := \"api.\" + b.ClusterName()","sourceCodeStart":35,"sourceCodeEnd":71,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/pkg/model/scalewaymodel/api_loadbalancer.go#L35-L71","documentation":"Configuration guard in the Scaleway API load-balancer builder: the cluster spec requests an internal load balancer for the API, but the Scaleway provider in kOps has no VPC support yet, so only public load balancers can be provisioned.","triggerScenarios":"Thrown at pkg/model/scalewaymodel/api_loadbalancer.go:53 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set spec.api.loadBalancer.type to Public for Scaleway clusters","Omit the internal load balancer configuration until Scaleway VPC support lands"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"4c8573c808a73d578c5eadc86d410646ea0b0d73","analyzedAt":"2026-09-05T04:13:19.212Z","contentChangedAt":"2026-09-05T04:13:19.212Z","schemaVersion":2},"datasetVersion":"2026-09-12T07:17:12.445Z"}