jingxueli
dfa3353390
fix pdb update too many when nothing change
2019-04-08 11:27:42 +08:00
Kubernetes Prow Robot
9fcbf02dca
Merge pull request #74044 from danielqsj/dr
...
fix the disruption-recheck metrics register error
2019-02-21 20:51:01 -08:00
danielqsj
687d759e36
fix more metrics rergister errors
2019-02-22 10:20:09 +08:00
Kubernetes Prow Robot
808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
...
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
danielqsj
23be9587a0
fix the disruption-recheck metrics register error
2019-02-14 09:15:44 +08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
Kubernetes Prow Robot
15ae6ec140
Merge pull request #68114 from houjun41544/20180831-disruption
...
Add unit test case for controller/disruption
2019-02-02 00:37:25 -08:00
Justin SB
dd19b923b7
Remove executable file permission from OWNERS files
2019-01-11 16:42:59 -08:00
hchiramm
e3fd0b6936
Remove unwanted else block from code.
...
Signed-off-by: hchiramm <hchiramm@redhat.com>
2019-01-11 16:46:39 +05:30
Jordan Liggitt
0ff455e340
generated files
2018-12-19 11:19:12 -05:00
Weibin Lin
842bd1e1ec
update deployment, daemonset, replicaset, statefulset to apps/v1
2018-12-19 10:46:45 -05:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
k8s-ci-robot
b62c0fded3
Merge pull request #68048 from AdamDang/patch-17
...
Correct some errors in returned message
2018-10-30 13:44:40 -07:00
AdamDang
dc2c003457
Correct some errors in returned message
...
Update stateful_set.go
Update azure_vmss.go
Update azure_vmss.go
Update disruption.go
Update stateful_set.go
2018-10-30 09:53:02 +08:00
Guoliang Wang
b1ac6df4dc
remove unused code of (pkg/controller)
2018-10-09 08:15:30 +08:00
houjun
0ed234dbff
Add unit test case for controller/disruption
2018-08-31 14:12:18 +08:00
Davanum Srinivas
9b43d97cd4
Add Labels to various OWNERS files
...
Will reduce the burden of manually adding labels. Information pulled
from:
https://github.com/kubernetes/community/blob/master/sigs.yaml
Change-Id: I17e661e37719f0bccf63e41347b628269cef7c8b
2018-08-21 13:59:08 -04:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
Kubernetes Submit Queue
7eb88f11d2
Merge pull request #59727 from wgliang/master.time
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
should use time.Since instead of time.Now().Sub
**What this PR does / why we need it**:
should use time.Since instead of time.Now().Sub
**Special notes for your reviewer**:
2018-05-10 20:29:40 -07:00
David Eads
94e3d94d67
update tests to be specific about the versions they are testing instead of floating
2018-05-01 13:18:41 -04:00
David Eads
a89291a5de
stop duplicating preferred version order
2018-04-26 10:03:36 -04:00
Wang Guoliang
89669283fe
should use time.Since instead of time.Now().Sub
2018-04-10 12:05:51 +08:00
Mikhail Mazurskiy
468655b76a
Use typed events client directly
2018-04-01 18:57:29 +10:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
Di Xu
48388fec7e
fix all the typos across the project
2018-02-11 11:04:14 +08:00
Jeff Grafton
efee0704c6
Autogenerate BUILD files
2017-12-23 13:12:11 -08:00
Dr. Stefan Schimanski
bec617f3cc
Update generated files
2017-11-09 12:14:08 +01:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
supereagle
b694d51842
use versiond group clients from client-go
2017-11-07 14:47:22 +08:00
Kevin
4c8539cece
use core client with explicit version globally
2017-10-27 15:48:32 +08:00
Dr. Stefan Schimanski
cad0364e73
Update bazel
2017-10-18 17:24:04 +02:00
Dr. Stefan Schimanski
7773a30f67
pkg/api/legacyscheme: fixup imports
2017-10-18 17:23:55 +02:00
Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00
Dr. Stefan Schimanski
1d053c4f7c
controllers: simplify deepcopy calls
2017-08-29 19:21:24 +02:00
Mayank Kumar
de3f09780b
simplify disruption controller
2017-08-14 00:40:53 -07:00
Jeff Grafton
a7f49c906d
Use buildozer to delete licenses() rules except under third_party/
2017-08-11 09:32:39 -07:00
Jeff Grafton
33276f06be
Use buildozer to remove deprecated automanaged tags
2017-08-11 09:31:50 -07:00
Mikhail Mazurskiy
b28a83a4cf
Migrate to GetControllerOf from meta/v1 package
2017-08-06 22:41:58 +10:00
supereagle
adc0eef43e
remove duplicated import and wrong alias name of api package
2017-07-25 10:04:25 +08:00
Jacob Simpson
a765b8cfca
Migrate api.Scheme to scheme.Scheme
2017-07-17 15:05:38 -07:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f2d3220a11
run root-rewrite-import-client-go-api-types
2017-06-22 11:30:59 -07:00
Chao Xu
cde4772928
run ./root-rewrite-all-other-apis.sh, then run make all, pkg/... compiles
2017-06-22 11:30:52 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Yassine TIJANI
cc5977aaa0
avoiding unnecessary loop to copy pods listed see #46433
...
adding comments stating that returned pods should be used as read-only objects
fixing typo
avoiding unnecessary loop to copy pods listed see #46433
fixing fmt
avoiding unnecessary loop to copy pods listed see #46433
2017-05-29 15:40:30 +02:00
Mayank Kumar
3ab6082958
PodDisruptionBudget should use ControllerRef
2017-05-23 19:43:38 -07:00
Anirudh
48d76edc74
PDB MaxUnavailable: Generated
2017-05-23 07:42:24 -07:00
Anirudh
ce48d4fb5c
PDB MaxUnavailable: Disruption Controller Changes
2017-05-23 07:18:44 -07:00
Eric Tune
b17e3c14eb
Move PDB controller and type ownership to SIG-Apps
...
Created OWNERS_ALIASES called sig-apps-reviewers from the union of reviewers in:
pkg/controller/{cronjob,deployment,daemon,job,replicaset,statefulset}/OWNERS
except removed inactive user bprashanth
Created OWNERS_ALIASES called sig-apps-api-reviewers as the intersection
of sig-apps-reviewers and the approvers from pkg/api/OWNERS.
Used those OWNERS_ALIASES as the reviewers/approvers for the disruption controller,
and API.
2017-05-22 12:55:28 -07:00
Chao Xu
4f9591b1de
move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod
2017-04-17 11:38:11 -07:00
Mike Danese
a05c3c0efd
autogenerated
2017-04-14 10:40:57 -07:00
Andy Goldstein
e63fcf708d
Make controller Run methods consistent
...
- startup/shutdown logging
- wait for cache sync logging
- defer utilruntime.HandleCrash()
- wait for stop channel before exiting
2017-04-14 07:27:45 -04:00
FengyunPan
4ba7f7dc9e
Record a warning type event
...
A warning type event should be recorded when failed to calculate
the number of expected pods.
And the same to daemoncontroller when failed to place pod.
2017-04-12 12:03:18 +08:00
deads2k
fd34b11e13
react to informer updates
2017-02-13 09:18:32 -05:00
deads2k
a86fabb9d2
regenerate informers
2017-02-13 07:59:34 -05:00
Andy Goldstein
74186d3e06
Switch disruption controller to shared informers
2017-02-10 09:27:54 -05:00
deads2k
8a12000402
move client/record
2017-01-31 19:14:13 -05:00
deads2k
c9a008dff3
move util/intstr to apimachinery
2017-01-30 12:46:59 -05:00
deads2k
2c1c0f3f72
move workqueue to client-go
2017-01-30 09:08:21 -05:00
Dr. Stefan Schimanski
a0137e9b28
Update generated files
2017-01-25 19:49:45 +01:00
Dr. Stefan Schimanski
d7eb3b6870
pkg/util: move uuid and strategicpatch into k8s.io/apimachinery
2017-01-25 19:45:09 +01:00
deads2k
b0b156b381
make tools/cache authoritative
2017-01-25 08:29:45 -05:00
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
deads2k
1ce0637b27
move listers out of cache to reduce import tree
2017-01-20 15:01:38 -05:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
Kubernetes Submit Queue
6b5d82b512
Merge pull request #37505 from k82cn/use_controller_inf
...
Automatic merge from submit-queue (batch tested with PRs 39807, 37505, 39844, 39525, 39109)
Made cache.Controller to be interface.
**What this PR does / why we need it**:
#37504
2017-01-13 13:40:41 -08:00
deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -05:00
Klaus Ma
25fe1e0d82
Made cache.Controller to be interface.
2017-01-13 13:33:23 +08:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
NickrenREN
639572ac68
fix redundant alias and remove unused function
2017-01-09 17:13:09 +08:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Anirudh
05dafa9cd0
Updated bazel
2017-01-04 18:06:25 -08:00
Anirudh
1508ecfe37
Make PDBs represent percentage in StatefulSet
2017-01-04 17:54:58 -08:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Kubernetes Submit Queue
8abbedae54
Merge pull request #38315 from mikedanese/pin-gazel
...
Automatic merge from submit-queue
Pin gazel to a version and support cgo
This fixes the bazel build.
@krousey who is buildcop
2016-12-12 19:32:29 -08:00
Kubernetes Submit Queue
f45e918b8b
Merge pull request #35833 from apelisse/owners-pkg-controller
...
Automatic merge from submit-queue
Curating Owners: pkg/controller
cc @jsafrane @mikedanese @bprashanth @derekwaynecarr @thockin @saad-ali
In an effort to expand the existing pool of reviewers and establish a
two-tiered review process (first someone **lgtms** and then someone
experienced in the project **approves**), we are adding new reviewers to
existing owners files.
## If You Care About the Process:
We did this by algorithmically figuring out who’s contributed code to
the project and in what directories. Unfortunately, that doesn’t work
perfectly: people that have made mechanical code changes (e.g change the
copyright header across all directories) end up as reviewers in lots of
places.
Instead of using pure commit data, we generated an excessively large
list of reviewers and pruned based on all time commit data, recent
commit data and review data (number of PRs commented on).
At this point we have a decent list of reviewers, but it needs one last
pass for fine tuning.
## TLDR:
As an owner of a sig/directory and a leader of the project, here’s what
we need from you:
1. Use PR https://github.com/kubernetes/kubernetes/pull/35715 as an example.
2. The pull-request is made editable, please edit the OWNERS file to add
the names of people that should be reviewing code in the future in the **reviewers** section. You probably do NOT need to modify the **approvers** section.
3. Notify me if you want some OWNERS file to be removed. Being an approver or reviewer
of a parent directory makes you a reviewer/approver of the subdirectories too, so not all
OWNERS files may be necessary.
4. Please use ALIAS if you want to use the same list of people over and
over again (don't hesitate to ask me for help, or use the pull-request
above as an example)
2016-12-12 18:51:33 -08:00
Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Wojciech Tyczynski
e8d1cba875
GetOptions in client calls
2016-12-09 09:42:01 +01:00
Jordan Liggitt
6819706adf
Pass addressable values to DeepCopy
2016-12-08 14:16:01 -05:00
Clayton Coleman
3454a8d52c
refactor: update bazel, codec, and gofmt
2016-12-03 19:10:53 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
Chao Xu
bcc783c594
run hack/update-all.sh
2016-11-23 15:53:09 -08:00
Chao Xu
7eeb71f698
cmd/kube-controller-manager
2016-11-23 15:53:09 -08:00
Marcin
8e2347370e
Add observedGeneration to PodDisruptionBudgetStatus
2016-11-08 17:06:17 +01:00
Marcin Wielgus
51e7bd92db
Add more events to disruption controller
2016-11-07 00:07:52 +01:00
Marcin
1fee246ca9
Autogenerated stuff for policy/v1beta1 api change
2016-11-06 19:37:33 +01:00
Marcin
47a1458ff3
Add DisruptedPod map to PodDisruptionBudgetStatus
2016-11-06 19:37:33 +01:00
Marcin
26acced6d8
Add policy api version v1beta1 and disable v1alpha1
2016-11-03 13:26:27 +01:00
Antoine Pelisse
e73a10fe46
Update OWNERS based on PR comments
2016-11-02 16:28:23 -07:00
Matt Liggett
6f0d4e1651
Add mml to reviewers
2016-11-02 16:19:22 -07:00
Antoine Pelisse
db35acde19
Update OWNERS: Remove reviewers: pkg/controller
2016-11-02 16:19:19 -07:00
Antoine Pelisse
c695a54c1c
Update OWNERS approvers and reviewers: pkg/controller
2016-11-02 16:19:18 -07:00
Chao Xu
850729bfaf
include multiple versions in clientset
...
update client-gen to use the term "internalversion" rather than "unversioned";
leave internal one unqualified;
cleanup client-gen
2016-10-29 13:30:47 -07:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
deads2k
518d5500c7
remove testapi.Default.GroupVersion
2016-10-07 10:10:54 -04:00
deads2k
c30b2efc46
update replicaset lister
2016-10-05 15:20:27 -04:00
Kubernetes Submit Queue
10239c983d
Merge pull request #32850 from m1093782566/m109-disruption
...
Automatic merge from submit-queue
fix disruption controller hotloop
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->
Fix disruption controller hotloop on unexpected API server rejections.
**Which issue this PR fixes**
Related issue is #30629
**Special notes for your reviewer**:
@deads2k @derekwaynecarr PTAL.
2016-09-29 07:10:15 -07:00
Kubernetes Submit Queue
4ab5a76338
Merge pull request #33103 from deads2k/controller-03-kill-non-generatedclient
...
Automatic merge from submit-queue
switch controller manager to generated clients
Switches the controller manager to generated clients.
@ncdc ptal
2016-09-22 11:37:01 -07:00