Comments (7)
You need to recreate the whole cluster with --cloud-provider=external
. See Step 1 in https://github.com/hetznercloud/hcloud-cloud-controller-manager
from hcloud-cloud-controller-manager.
The provider ID will be set from the cloud controller :)
from hcloud-cloud-controller-manager.
The problem was that I updated the kubelet config after creating the cluster. I created a new test cluster with the --cloud-provider=external
setting from the beginning and everything worked fine.
For those who have a similar issue with an existing cluster with Rancher, this is what I did:
- updated the kubelet config
- installed the cloud controller
- created a new node pool, making sure the controller adds labels/annotations as expected (meaning that it's working)
- drained and removed the old node pool
- created service of type LoadBalancer.
The load balancer was correctly provisioned and I was able to use the ingress resources with Nginx just fine.
Thanks for the new release and for the load balancers!
from hcloud-cloud-controller-manager.
I am using RKE on hetzner and now i am stuck with the same issue , load balancer is creating but cnt get the IP address .
Events:
Type Reason Age From Message
Normal EnsuringLoadBalancer 25s (x5 over 102s) service-controller Ensuring load balancer
Warning SyncLoadBalancerFailed 25s (x5 over 101s) service-controller Error syncing load balancer: failed to ensure load balancer: hcloud/loadBalancers.EnsureLoadBalancer: hcops/LoadBalancerOps.ReconcileHCLBTargets: hcops/providerIDToServerID: missing prefix hcloud://:
from hcloud-cloud-controller-manager.
yeah i did but i also have a question now below :
spec:
externalID: master
podCIDR: 10.244.0.0/24
providerID: hcloud://123456 # <-- Server ID
it is asking for provideID and i am using multi master so do i can entry any master ip or am i still missing something ?
from hcloud-cloud-controller-manager.
Hi @vitobotta ,
I updated kubelet config of existed cluster in rancher like this:
kubelet:
extra_env:
- KUBELET_EXTRA_ARGS=--cloud-provider=external
Cluster and worker nodes updated, but error doesn't disappear. What I missed?
from hcloud-cloud-controller-manager.
@vitobotta , I notice that --cloud-provider=external
has not been set in kubelet command:
/opt/rke-tools/entrypoint.sh kubelet --client-ca-file=/etc/kubernetes/ssl/kube-ca.pem --cloud-provider= --resolv-conf=/etc/resolv.conf
How do I set kubelet config properly in rancher ui?
from hcloud-cloud-controller-manager.
Related Issues (20)
- Automatically label robot nodes HOT 2
- invalid_input when deleting loadbalancer manually. HOT 1
- Inconsistency in the naming for load balancer annotation. HOT 2
- CCM with Hetzner network attempts to create IPv6 routes HOT 5
- fix: Too many requests to `GET /v1/servers/{id}` HOT 1
- Hetzner Cloud Control manager not connecting with Hetzner HOT 6
- CCM installation with microk8s HOT 2
- Controller support for private networks HOT 2
- New versioning scheme HOT 2
- Too many API requests for outdated routes in the network
- Local IPs with Robots server on vSwitch not working HOT 2
- ci: verify Helm Chart with snapshot tests
- How to use hcloud ccm with CAPH bare metal? HOT 6
- HCCM should work with FQDN Servernames and Private IPs as Node IPs HOT 1
- Infinite Loop on Hetzner Heray page (https://accounts.hetzner.com/_ray/pow) HOT 1
- HCCM Controller don't set metadata to the Nodes at all (nodes are connected, using internal network)
- HCCM not able to extract previosly generated (managed) TLS certificate HOT 4
- Support for Hetzner Cloud Controller Manager on Dedicated Bare Metal Servers HOT 2
- ccm route controller doesnt create route with calico cni HOT 2
- Properly set IP Mode of Load Balancer Addresses to fix internal PROXY traffic HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hcloud-cloud-controller-manager.