Comments (5)
@darrendao
I think you need to update your CRD since we changed some types to pointers - there were CRD changes with this release.
Our nightly functional tests are passing here:
https://travis-ci.org/github/keikoproj/instance-manager/builds/667478575
Some of these types were made into pointers so that we can take advantage of omitempty
Otherwise for example you can end up with a spec that looks like this:
apiVersion: instancemgr.keikoproj.io/v1alpha1
kind: InstanceGroup
metadata:
annotations:
name: hello-managed
namespace: instance-manager
spec:
provisioner: eks-managed
strategy:
type: managed
eks-cf: {} <-- not omitted
eks-managed:
configuration:
< .. >
maxSize: 6
minSize: 3
from instance-manager.
@eytan-avisror I got the error on a fresh K8S setup using the latest CRD provided in https://github.com/keikoproj/instance-manager/blob/master/docs/04_instance-manager.yaml (per instructions in the docs).
from instance-manager.
I see, our tests are running with this struct populated:
rollingUpdate:
maxBatchSize: 1
minInstancesInService: 1
minSuccessfulInstancesPercent: 100
pauseTime: PT2M
so it's possible that this is why we're not seeing it.
I guess what we should do here is set default values in the controller if this struct is unset - this is a required struct and we should probably also add it to the examples as it defines the configuration of the rollingUpdate, we should not be omitting it.
from instance-manager.
@darrendao let me know if you want to work on it, otherwise will prioritize this for next release
from instance-manager.
closing this since we will be deprecating eks-cf provisioner in favor of new one.
we will make sure this is addressed in the new provisioner via spec validation / setting defaults / validating webhooks.
This will be part of #50
from instance-manager.
Related Issues (20)
- Upgrade approval for changes to Instance Groups HOT 1
- Support container-runtime bootstrap argument
- Delay/Schedule automated AMI updates HOT 1
- Required selectors in configs HOT 4
- Label nodes in a single zone IG with AZ ID HOT 2
- SubFamilyFlexible calculations should ensure that instance types have the same supported architectures.
- Use kubernetes labels to exclude instances from the upgrade() cycle HOT 6
- instance-manager always creates normal EC2 instances regardless of the spotPrice value HOT 3
- Support for K8s 1.22 HOT 1
- Subnets field should deduplicate if duplicate values are provided
- Endless LaunchTemplate creation loop when reconcile errors occur
- Changing a boundary does not roll back changes on CRs
- Cluster Autoscaler unable to scale up nodes from EKS autoscaling group warm pool when pods request ephemeral storage HOT 26
- When switching primaryType with MixedInstances, type is not added to overrides
- Use IMDS for Warm Pools & ASG state
- Explore concept of VNA - Vertical Node Autoscaler HOT 3
- Add a Capacity Rebalance Flag for Spot Node Allocation Strategy
- Instance profile is stuck in bad state if error occurs when initial role is attached
- IGs in special AWS partitions always fails ARN format validation in instance_types.go
- not honoring gp3 volume iops and throughput values
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 instance-manager.