Comments (3)
Gootcha, you rely on the label as an affinity selector within your own workflow, while my observation was oriented more towards kops' own functional integrity. Thanks for clarifying -
from kops.
Is this a bug?
Without too much understanding of the codebase design, I notice there's a fallback to "node" role type. If I am not off-track, this is more of an enhancement for a null check anti-pattern due to a hotspot in the codebase, so perhaps nothing to worry about.
from kops.
@teocns Not sure if I understand your comment but the issue is not related with the actual node type, that works just fine.
The issue is that the label (at node level) which identifies the KOPs instance group for each specific node is missing when using the kops create cluster
command - we can manually add it afterwards but I wouldn't expect to have to do that, specially because when you create a new instance group the nodeLabels
is automatically injected (as described in point 4), and also because this was "working" at some point before (as I have nodes from clusters created with older KOPs versions contain the label).
For our environments that was a breaking change (and we had to manually update+rollout the IGs) because we actively use things like kubernetes anti/affinity rules and prometheus metrics which rely in the value of the kops.k8s.io/instancegroup
node label.
The actual yaml/property that I would expect to be present for each IG created via kops create cluster
command is 👇
nodeLabels:
kops.k8s.io/instancegroup: <IG_NAME>
from kops.
Related Issues (20)
- Add support to configure "concurrent-job-syncs" flag for Job Controller in KCM
- cannot apply changes to Subnet: *gcetasks.Subnet HOT 2
- ulimit changed in pods between kops 1.28 -> master HOT 2
- create docs are self-inconsistent HOT 2
- Unable to configure disruption controls for karpenter HOT 6
- I wish for Dualstack support on Openstack HOT 2
- Expose imageMinimumGCAge and imageMaximumGCAge kubelet config
- Support dns=none with Terraform
- DNS None clusters fails OIDC e2e test
- [al2023][amazon-vpc-cni] Additional configuration required
- Private dns=none clusters incorrectly creating bastion DNS name tasks
- Treatment of overlapping ServiceCIDR and PodCIDRs HOT 2
- Inconsistencies between qualified names on AWS nodes HOT 1
- Failure cluster [19bd619d...] NoCredentialProviders: no valid providers in chain. Deprecated. HOT 4
- License Scan and Findings HOT 6
- kube-scheduler pod goes into CrashLoopBackOff status because of incorrect arguments HOT 2
- Allow for setting `--disabled-metrics` within KubeletConfigSpec HOT 2
- Wrong kube-proxy mount bind propagation causes node certificates to not update itself and expire HOT 1
- Release 1.15.3 Missing 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 kops.