Maciej Pytel
b7f8622eb2
Create node groups with GPU in scale-up.go
...
This is still not implemented in cloudprovider.
Extended NewNodeGroup inteface to have a way of passing
parameters for more complex resources.
2017-12-11 13:12:22 +01:00
Maciej Pytel
6554919700
Helper function to calculate GPU requests for NAP
2017-12-11 13:12:22 +01:00
Marcin Wielgus
f8c0e20ad9
Source fix after godep update
2017-11-28 14:01:43 +01:00
Marcin Wielgus
26960b49df
Merge pull request #460 from sergeylanzman/replace-depricate-func
...
Replace deprecate kubernetes client functions
2017-11-22 15:58:01 +01:00
Marcin Wielgus
ded016dfd8
Merge pull request #461 from MaciekPytel/gpu_unready_fix
...
Consider GPU nodes unready until allocatable GPU is > 0
2017-11-13 15:29:27 +01:00
Maciej Pytel
d81dca5991
Mark nodes with uninitialized GPUs as unready
2017-11-10 17:56:10 +01:00
Sergey Lanzman
eb546b87a0
Replace deprecate kubernetes client functions
2017-11-09 19:49:41 +02:00
Marcin Wielgus
439fd3c9ec
Merge pull request #411 from krzysztof-jastrzebski/priority
...
Adds priority preemption support to cluster autoscaler.
2017-11-08 09:09:26 +01:00
Beata Skiba
2b28ac1a04
Add a workaround for scaling of VMs with GPUs
...
When a machine with GPU becomes ready it can take
up to 15 minutes before it reports that GPU is allocatable.
This can cause Cluster Autoscaler to trigger a second
unnecessary scale up.
The workaround sets allocatable to capacity for GPU so that
a node that waits for GPUs to become ready to use will be
considered as a place where pods requesting GPUs can be
scheduled.
2017-11-06 16:04:22 +01:00
Edward Tsang
4104a91991
more spelling fixes
2017-11-02 14:21:36 -07:00
Henrique Rodrigues
56135db3b0
Annotation which indicates that a pod is safe to evict despite other constraints
2017-10-26 09:29:50 -02:00
Krzysztof Jastrzebski
d9c00e5ce1
Adds priority preemption support to cluster autoscaler.
2017-10-23 09:54:56 +02:00
Maciej Pytel
ff21b0b00c
Keep track of nodes that failed to register for a long time
...
Previously a node that failed to register and couldn't be deleted
basically broke CA.
2017-09-27 16:32:04 +02:00
Aleksandra Malinowska
7e36ea61c0
Keep graceful termination timeout consistent
2017-09-21 12:54:11 +02:00
Krzysztof Jastrzebski
6b8b8b8fe1
Cloudprovider/gce/gce_manager.go unit tests.
2017-09-19 11:16:08 +02:00
Krzysztof Jastrzebski
0aec68a46d
Core/static_autoscaler.go unit tests. Current time usage refactoring.
2017-09-11 15:07:21 +02:00
Aleksandra Malinowska
d43029c180
implement blocking scale up beyond max cores & memory
2017-09-08 12:50:00 +02:00
Sergey Lanzman
437a3f60e1
Small optimize code
2017-09-04 23:50:45 +03:00
Sergey Lanzman
415f53cdea
Change from deprecated Core to CoreV1 for kube client
2017-09-04 22:16:21 +03:00
Marcin Wielgus
2d8f59e23d
Set verbosity for each of the glog.Info logs
2017-09-01 12:34:29 +02:00
Marcin Wielgus
fbf0d6f499
Merge pull request #271 from aleksandra-malinowska/creator-ref
...
Use OwnerReferences in place of deprecated created by annotation
2017-08-30 04:21:58 +05:30
Aleksandra Malinowska
ac0d8388bc
use OwnerReferences instead of deprecated created by annotation
2017-08-29 17:26:38 +02:00
Maciej Pytel
281afa7147
precompute predicateMetadata in scale-down
2017-08-29 16:29:45 +02:00
Maciej Pytel
fb6ef75d12
Don't create verbose errors in predicates if we ignore them
...
Turns out all this string formatting is pretty damn expensive.
2017-08-24 15:18:38 +02:00
Marcin Wielgus
33f3fcdef9
NAP - pick best labels for pods
2017-08-17 10:47:15 +02:00
Marcin Wielgus
b8c1fc2b01
Fix listers in CA after godep update
2017-08-14 00:14:31 +02:00
Marcin Wielgus
9116e4c08c
Compilation fix for CA after godeps update
2017-08-11 17:56:47 +02:00
Aleksandra Malinowska
c159a90f04
rename test provider package
2017-07-06 16:23:15 +02:00
Marcin Wielgus
fc43808149
Godeps bump for CA
2017-07-03 22:05:11 +02:00
Marcin Wielgus
1bedee5707
Update GODEPS
2017-06-13 14:48:24 +02:00
Marcin Wielgus
69c77791a2
Fix error types
2017-06-12 21:26:50 +02:00
Marcin Wielgus
0fd87aeca7
Merge pull request #100 from aleksandra-malinowska/evict-kube-system-pods
...
Add allowing eviction of kube-system pods with PDB
2017-06-02 10:33:07 -07:00
Maciej Pytel
7c327a951f
Function to balance scale-up between node groups
2017-06-02 15:53:50 +02:00
Aleksandra Malinowska
8ca8b24d3d
Add allowing eviction of kube-system pods with PDB
2017-06-01 18:24:42 +02:00
Maciej Pytel
95dc2c53e1
Function to find similar nodegroups
2017-06-01 12:20:11 +02:00
Maciej Pytel
849b3a2712
Function to compare nodeinfos to find similar nodegroups
2017-05-31 13:21:27 +02:00
Marcin Wielgus
e9ebfb1c35
Preferred node in price-preferred expander
2017-05-30 20:33:10 +02:00
Marcin Wielgus
80bf191f02
GCE pricing model
2017-05-26 17:37:32 +02:00
Maciej Pytel
7f5c7ed3a2
Used typed errors in scale up code
...
Updated some of the functions called by scale up
to return new errors as required.
2017-05-18 14:09:15 +02:00
Maciej Pytel
f716a7e496
Add typed errors; add errors_total metric
...
To keep reasonable commit size only top-level files use
new errors. Will add them in other files in next commits.
2017-05-18 14:09:15 +02:00
Matthew Walter
f64a73429a
Correct typos for `deamon` -> `daemon` as in `DaemonSet`
2017-05-12 13:27:40 -04:00
Marcin Wielgus
f015ef1853
Merge pull request #62 from mwielgus/zero-4
...
Daemonset helper function that returns pods that DaemonSet controller would start on the given node.
2017-05-12 11:59:04 +02:00
Marcin Wielgus
6d578132b9
Daemonset helper functions
2017-05-12 11:37:11 +02:00
Marcin Wielgus
0a0129f511
Daemonset listers
2017-05-11 12:30:27 +02:00
Yusuke Kuoka
5304e9af21
cluster-autoscaler: Fix typos in comments
2017-05-10 11:22:15 +09:00
Maciej Pytel
6b2ea76973
Added UT for CA simulator
2017-04-19 19:12:30 +02:00
Maciej Pytel
4d40222b63
Fix gofmt
2017-04-18 16:45:27 +02:00
Marcin Wielgus
34eb4973f8
Fix imports in cluster autoscaler after migrating it from contrib
2017-04-18 15:42:04 +02:00
Maciej Pytel
1590789292
Cluster-Autoscaler: "unknown" readiness -> unready
2017-03-15 11:16:17 +01:00
Maciej Pytel
0379a73828
Cluster-Autoscaler: fix delete taint failing
2017-03-10 12:02:52 +01:00