Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Experimental feature: Spot Fleet support for worker nodes #113

Merged
merged 5 commits into from
Dec 6, 2016

Conversation

mumoshu
Copy link
Contributor

@mumoshu mumoshu commented Nov 30, 2016

refs #112

@codecov-io
Copy link

codecov-io commented Nov 30, 2016

Current coverage is 66.06% (diff: 96.61%)

Merging #113 into master will increase coverage by 1.92%

@@             master       #113   diff @@
==========================================
  Files             4          5     +1   
  Lines           934        993    +59   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            599        656    +57   
- Misses          254        255     +1   
- Partials         81         82     +1   

Powered by Codecov. Last update 8fe74d9...d94e129

@mumoshu mumoshu added this to the v0.9.2-rc.3 milestone Dec 5, 2016
@mumoshu
Copy link
Contributor Author

mumoshu commented Dec 5, 2016

@c-knowles FYI I've introduced our first test suite which does integration testing with real AWS services including S3, KMS, CloudFormation as we've discussed before

f46c711#diff-17c3b4ff0a8d67faed426a76a03f8430R1

spec.RootVolumeType = c.WorkerRootVolumeType
}
if spec.RootVolumeSize == 0 {
spec.RootVolumeSize = c.WorkerRootVolumeSize * spec.WeightedCapacity
Copy link
Contributor Author

@mumoshu mumoshu Dec 5, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather like to make this computed via c.WorkerSpotFleet.UnitRootVolumeSize * spec.WeightedCapacity while adding UnitRootVolumeSize to the SpotFleet struct, so that we can be more explicit that it is not the exact size of EBS volumes but size per "unit".

// Thanks for the initial comment/proposal on this @everpeace!

@mumoshu
Copy link
Contributor Author

mumoshu commented Dec 6, 2016

E2E tests passed

everpeace and others added 3 commits December 6, 2016 11:55
- fix typo of `nodepools' with correct `node-pools`
See updated nodepool/config/templates/cluster.yaml for the detailed guide of configuration.

This is the initial implementation for kubernetes-retired#112
Beware that this feature may change in backward-incompatible ways
…loudFormation

Integration tests are executed only when you've explicitly set non-empty value for the environment variable KUBE_AWS_INTEGRATION_TEST. Also note that these tests pass only when other environment variables referenced in `test/integration/aws_test.go` are properly set.
@mumoshu
Copy link
Contributor Author

mumoshu commented Dec 6, 2016

Rebased and then squashed.

@mumoshu
Copy link
Contributor Author

mumoshu commented Dec 6, 2016

All green. Merging 🚥

@mumoshu mumoshu merged commit 31c612e into kubernetes-retired:master Dec 6, 2016
@mumoshu mumoshu deleted the spot-fleet-for-workers branch December 6, 2016 02:59
@mumoshu mumoshu mentioned this pull request Dec 6, 2016
8 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants