Comments (8)
The "bug" i wrote above was fixed with v1.6.1 (which was just released)
from hcloud-cloud-controller-manager.
Sorry for wakening up this dead cow....
Would it be, for testing issues, acceptable to add an option to hccm which allows to use masters for load balancers if explicitely requested by the one deploying hccm? Removing the master label from the node can have side effects if some applications explicitely require to be scheduled on a master node.
from hcloud-cloud-controller-manager.
I've just went into this issue, and if anyone still wondering...
In current 1.28 Kubernetes you need to remove node.kubernetes.io/exclude-from-external-load-balancers
label if you want your master to be added as target server.
from hcloud-cloud-controller-manager.
Masters are not reachable for Load Balancers by design: kubernetes/kubernetes#65618
You could unlabel the node: kubectl label node test node-role.kubernetes.io/master-
then it will work.
We found another small bug while reproducing your testcase. You can try:
apiVersion: apps/v1
kind: Deployment
metadata:
name: echoserver
spec:
replicas: 1
selector:
matchLabels:
app: echoserver
template:
metadata:
labels:
app: echoserver
spec:
containers:
- image: gcr.io/google_containers/echoserver:1.10
imagePullPolicy: Always
name: echoserver
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
name: echoserver
annotations:
load-balancer.hetzner.cloud/location: hel1
load-balancer.hetzner.cloud/health-check-interval: 15
spec:
type: LoadBalancer
ports:
- port: 80
targetPort: 8080
protocol: TCP
selector:
app: echoserver
Until the bugfix release.
from hcloud-cloud-controller-manager.
Are there no other implications of removing the label from the master node? This will not cause other things to stop working?
from hcloud-cloud-controller-manager.
@BouweCeunen actually this is not a limitation from our side. This is something that comes from the k8s people.
from hcloud-cloud-controller-manager.
@BouweCeunen actually this is not a limitation from our side. This is something that comes from the k8s people.
Indeed, just thought that someone would have done it and experienced some side effects. Will take it to the community!
from hcloud-cloud-controller-manager.
Yes, adding or removing this annotation is the best way to exclude nodes from the load balancer targets.
from hcloud-cloud-controller-manager.
Related Issues (20)
- docs: explain and recommend Robot Webservice Users HOT 1
- Taint uninitialized not getting removed HOT 1
- LoadBalancer / Service Enhancements
- Multiple LoadBalancer services not correct in LB services list HOT 2
- Controller does not properly add node metadata HOT 6
- Pod crashes when setting HCLOUD_NETWORK and network: false HOT 10
- docs(load-balancer): explain how to use managed & uploaded certificates HOT 1
- LB: load-balancer.hetzner.cloud/node-selector annotation not working HOT 3
- Node Addresses won't get updated when using Wireguard for Cluster Creation HOT 9
- Calico and HCC HOT 21
- Invalid characters in labele instance-type HOT 1
- CCM failed to get node address from cloud provider that matches IPv6 HOT 4
- Automatically label robot nodes HOT 2
- invalid_input when deleting loadbalancer manually.
- 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}`
- Hetzner Cloud Control manager not connecting with Hetzner HOT 5
- CCM installation with microk8s HOT 1
- Controller support for private networks HOT 2
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.