Commit Graph

2856 Commits

Author SHA1 Message Date
Da K. Ma 0c3f739684 Renamed priority to share.
Signed-off-by: Da K. Ma <madaxa@cn.ibm.com>
2018-02-09 21:11:37 +08:00
Klaus Ma f51994d8b8
Merge pull request #165 from k82cn/add_pq
Updated Priority Queue interface.
2018-02-09 21:01:23 +08:00
Da K. Ma 9f0a631779 Updated Priority Queue interface.
Signed-off-by: Da K. Ma <madaxa@cn.ibm.com>
2018-02-09 20:42:06 +08:00
Klaus Ma eb7b8ed253
Merge pull request #162 from jinzhejz/bugfix
use NodeName assigned by policy instead of pod.Spec.NodeName
2018-02-07 19:53:52 +08:00
Zhe Jin e079326892 use NodeName assigned by policy instead of pod.Spec.NodeName 2018-02-07 17:07:27 +08:00
Zhe Jin 823ea05a4f
Merge pull request #154 from jinzhejz/race_condition
fix issue #137 race condition between cache and policy
2018-02-05 16:34:37 +08:00
Klaus Ma c9c122a990
Merge branch 'master' into race_condition 2018-02-05 16:22:28 +08:00
Zhe Jin f971aca0db add ut case for minAvailable 2018-02-05 16:22:02 +08:00
Zhe Jin f6d2a14e93
Merge pull request #155 from gaocegege/patch-1
policy_controller: Fix variable name
2018-02-05 16:20:47 +08:00
Ce Gao c8f039cb98
policy_controller: Fix variable name 2018-02-05 16:00:09 +08:00
Zhe Jin 465aa6af44 assume pod into cache after policy assign host to a pod 2018-02-05 11:13:27 +08:00
Zhe Jin 940cd7f317 calculates pending pods with NodeName for minAvailable 2018-02-05 10:59:01 +08:00
Klaus Ma 0fd2cd065b
Merge pull request #152 from mitake/gke-auth
RFC: kube-batchd: support GKE auth
2018-01-30 16:05:18 +08:00
Klaus Ma 81d184ed94
Merge branch 'master' into gke-auth 2018-01-30 15:03:04 +08:00
Hitoshi Mitake 7269f84420 kube-batchd: support GKE auth
Without including the package, kube-batchd stops with the following
error message:
```
panic: No Auth Provider found for name "gcp"

goroutine 1 [running]:
github.com/kubernetes-incubator/kube-arbitrator/pkg/batchd/client/clientset/typed/v1.NewForConfigOrDie(0xc42027e1e0, 0xc42000e508)
        /home/mitake/gopath/src/github.com/kubernetes-incubator/kube-arbitrator/pkg/batchd/client/clientset/typed/v1/client.go:59 +0x65
github.com/kubernetes-incubator/kube-arbitrator/pkg/batchd/client/clientset.NewForConfigOrDie(0xc42027e1e0, 0x60)
        /home/mitake/gopath/src/github.com/kubernetes-incubator/kube-arbitrator/pkg/batchd/client/clientset/clientset.go:55 +0x45
github.com/kubernetes-incubator/kube-arbitrator/pkg/batchd/controller.NewQueueController(0xc42027e1e0, 0x0)
        /home/mitake/gopath/src/github.com/kubernetes-incubator/kube-arbitrator/pkg/batchd/controller/queue_controller.go:46 +0x40
github.com/kubernetes-incubator/kube-arbitrator/cmd/kube-batchd/app.Run(0xc4202c3e90, 0x1228738, 0x1228738)
        /home/mitake/gopath/src/github.com/kubernetes-incubator/kube-arbitrator/cmd/kube-batchd/app/server.go:45 +0xab
main.main()
        /home/mitake/gopath/src/github.com/kubernetes-incubator/kube-arbitrator/cmd/kube-batchd/main.go:45 +0xc2
```

The change would be useful for testing and deploying kube-batchd on
GKE clusters.
2018-01-30 15:44:41 +09:00
Klaus Ma 3e5a26541c
Merge pull request #149 from jinzhejz/update_doc
update tutorial doc for kube-batchd/kube-quotalloc
2018-01-30 14:36:48 +08:00
Klaus Ma 95ca0d1436
Merge branch 'master' into update_doc 2018-01-30 14:36:43 +08:00
Klaus Ma ab03867700
Merge pull request #151 from jinzhejz/fix
build priority queue after assign minAvailable
2018-01-30 14:36:22 +08:00
Zhe Jin 8a07edbbce build priority queue after assign minAvailable 2018-01-30 14:19:31 +08:00
Zhe Jin 660d60d2e6 update tutorial doc for kube-batchd/kube-quotalloc 2018-01-29 16:57:28 +08:00
Klaus Ma b0eea7d15c
Merge pull request #148 from jinzhejz/quotalloc_fix
fix typo
2018-01-29 11:14:01 +08:00
Zhe Jin 14655a4148 fix typo 2018-01-29 10:56:36 +08:00
Klaus Ma 69152794a6
Added title of kube-arbitrator in README. 2018-01-27 20:08:28 +08:00
Klaus Ma 7b2137e17c
Added tutorial of each features 2018-01-27 20:05:02 +08:00
Klaus Ma 01f3c20701
Merge pull request #147 from k82cn/update_readme
Updated README.
2018-01-27 19:57:25 +08:00
Da K. Ma e559f6b6f7 Updated README. 2018-01-27 19:56:28 +08:00
Klaus Ma 116203af5d
Merge pull request #146 from jinzhejz/merge_pre0.1
merge pre-0.1 to master branch
2018-01-27 13:56:41 +08:00
Zhe Jin 3ecdf61d65 merge pre-0.1: move pre-0.1 code into pkg/quotalloc/ and build kube-quotalloc 2018-01-27 13:12:16 +08:00
Klaus Ma 14cce345df
Merge pull request #144 from k82cn/added_labels
Added labels file.
2018-01-26 19:43:08 +08:00
Da K. Ma 572e475763 Added labels file. 2018-01-26 19:41:18 +08:00
Klaus Ma 4ab1080737
Merge pull request #143 from jinzhejz/merge_pre0.1
merge pre-0.1: move pkg/* to pkg/batchd/ and build kube-batchd
2018-01-26 18:38:04 +08:00
Zhe Jin 460da7636e merge pre-0.1: move pkg/* to pkg/batchd/ and build kube-batchd 2018-01-26 15:43:40 +08:00
Klaus Ma 59e1264498
Merge pull request #142 from jinzhejz/merge_pre0.1
fix format issue
2018-01-26 14:51:27 +08:00
Zhe Jin 26b78ab07f fix format issue 2018-01-26 14:38:28 +08:00
Klaus Ma 798a5b1515
Merge pull request #141 from jinzhejz/merge_pre0.1
merge pre-0.1: rename consumer to queue
2018-01-26 14:28:51 +08:00
Zhe Jin 1d17716ac8 merge pre-0.1: rename consumer to queue 2018-01-26 14:14:20 +08:00
Klaus Ma b057442305
Merge pull request #139 from k82cn/rename_doc
Rename tutorial accordingly.
2018-01-26 13:20:30 +08:00
Klaus Ma 600f05ad5b
Merge branch 'master' into rename_doc 2018-01-26 13:19:25 +08:00
Da K. Ma 10ccc7a46c Rename tutorial accordingly. 2018-01-26 13:18:33 +08:00
Klaus Ma 0e4fdf4149
Merge pull request #138 from jinzhejz/fix
run policy scheduler every 20 seconds to reduce race condition
2018-01-26 11:41:11 +08:00
Zhe Jin 65e74c27ed run policy scheduler every 20 seconds to reduce race condition 2018-01-26 10:29:58 +08:00
Klaus Ma 82ce65bb20
Merge pull request #135 from jinzhejz/update_doc
Add PodDisruptionBudget configuration into tutorial
2018-01-24 11:04:18 +08:00
Klaus Ma 48819d83a3
Merge branch 'master' into update_doc 2018-01-24 11:04:08 +08:00
Zhe Jin ea5970eecf Add PodDisruptionBudget 2018-01-24 10:57:25 +08:00
Klaus Ma 72c72afbf8
Merge pull request #134 from jinzhejz/mintest
assign MinAvailable of each PodSet first
2018-01-23 17:06:53 +08:00
Zhe Jin 947a5b5216 assign MinAvailable of each PodSet first 2018-01-23 16:54:50 +08:00
Klaus Ma 99dec9bce9
Merge pull request #133 from jinzhejz/pdb
Add PodDisruptionBuget into cache
2018-01-23 14:35:58 +08:00
Zhe Jin 8264b5dda9 Add ut cases 2018-01-22 16:57:52 +08:00
Zhe Jin fb2d3c3118 Add PodDisruptionBudget into cache 2018-01-22 16:57:36 +08:00
Klaus Ma d55917d85c
Merge pull request #132 from jinzhejz/update_doc
document update
2018-01-17 14:19:20 +08:00