Ted Yu
c811b2267f
Simplify checking in getMinTolerationTime
2019-08-05 10:45:05 -07:00
Kubernetes Prow Robot
d9a411df6b
Merge pull request #80660 from prameshj/ilb-err
...
Handle NotImplemented error in service_controller.
2019-08-02 22:39:51 -07:00
Pavithra Ramesh
ecad65a3f8
Added comment after invoking ensureLoadBalancer
2019-08-02 11:24:24 -07:00
Pavithra Ramesh
da887e85e9
Updated comment about ImplementedElsewhere
...
Removed handling ImplementedElsewhere error in call to EnsureLoadBalancerDeleted.
2019-08-02 10:54:09 -07:00
Pavithra Ramesh
987677c201
Setting log level to 4 since default is 2 or 3.
...
Depending on how the cluster is created. Test clusters set a default
level of 4.
2019-08-02 10:54:09 -07:00
Pavithra Ramesh
dbfc876e83
Fixed review comments, lint.
...
Added error check to EnsureLoadBalancerDeleted.
2019-08-02 10:54:09 -07:00
Pavithra Ramesh
d4210b94e2
addressed review comments
2019-08-02 10:54:09 -07:00
Pavithra Ramesh
d79d4e8525
Handle ImplementedElsewhere error in service_controller
...
This is used when the cloudprovider layer is not implementing loadBalancer service.
Implementation will be in a different controller running on master.
2019-08-02 10:54:09 -07:00
Kubernetes Prow Robot
c981c65c90
Merge pull request #80231 from liggitt/admissionreview-v1
...
Promote admissionreview to v1
2019-08-01 17:20:05 -07:00
Kubernetes Prow Robot
3287bf7a3a
Merge pull request #80859 from wojtek-t/fix_selflinks_in_tests
...
Fix selflinks in tests
2019-08-01 15:01:30 -07:00
Jordan Liggitt
44930fc939
AdmissionReview: Install/register
2019-08-01 17:17:42 -04:00
Kubernetes Prow Robot
b658028078
Merge pull request #77713 from zjj2wry/secret_resync_duration
...
add secret back to the workqueue with delay time, avoid expired bootstrap tokens not being deleted
2019-08-01 09:46:29 -07:00
wojtekt
bc00248e71
Fix selflinks in tests
2019-08-01 15:50:03 +02:00
YueHonghui
d29f194474
add flag concurrent-statefulset-syncs to kube-controller-manager ( #79169 )
...
* add flag `concurrent-statefulset-syncs` to set number of concurrent workers for statefulset controller
* change default value of ConcurrentStatefulSetSyncs from 1 to 5
* 1. fix doc comment of statefulset config types.go
2. add missing deps k8s.io/kubernetes/pkg/controller/statefulset/config
* add missing dep k8s.io/kubernetes/pkg/controller/statefulset/config/v1alpha1
* updated bazel BUILD files
* update kube-controller-manager options testcase
* fix codegen
* fix golint error
* fix testcase
2019-07-31 22:36:14 -07:00
zhengjiajin
5c1815abb7
add secret back to the workqueue with delay time, avoid expired bootstrap tokens not being deleted
2019-08-01 10:44:31 +08:00
Tim Allclair
8fc988e7dd
Unit test endpoints controller service deletion
2019-07-31 16:10:09 -07:00
Tim Allclair
b2a02140db
Don't delete service endpoints when a generic error occurs
2019-07-31 15:10:14 -07:00
RainbowMango
0e0e1f7dab
1. Fix lint errors for the whole directory staging/src/k8s.io/client-go/tools/cache;
...
2. Remove staging/src/k8s.io/client-go/tools/cache from .golint_failures;
3. Fix some typo from comments.
2019-07-27 15:49:03 +08:00
Kubernetes Prow Robot
44de947f0f
Merge pull request #80509 from mborsz/endpoints
...
Add simple pod updates batching to endpoint controller.
2019-07-26 20:16:36 -07:00
Kubernetes Prow Robot
6f8944aa54
Merge pull request #79696 from yittg/fix-pv-controller-affinity
...
fix pv-controller sync check node affinity for scheduled claim
2019-07-26 20:15:58 -07:00
Kubernetes Prow Robot
368ee4bb8e
Merge pull request #79068 from tedyu/dc-skipped-pods
...
Remove unnecessary loop for lowering expectations
2019-07-26 14:01:59 -07:00
Kubernetes Prow Robot
d5d6061c8e
Merge pull request #80476 from matte21/fix-pvcs-leaks
...
PVC protection controller: fix PVC leaks
2019-07-26 05:31:59 -07:00
matte21
b4fed83a4a
PVC protection controller: get rid of PVC leaks
...
Make the PVC protection controller robust to cases where a Pod X is deleted,
then a Pod Y with the same namespaced name is created and the two events are
delivered via a single update notification. Both pods should be processed,
because X might be blocking deletion of a PVC which is not referenced by Y.
Prior to this commit only the newer pod is processed, which means that it
is possible to leak PVCs.
Also, add unit tests to reflect the change.
2019-07-26 11:17:17 +02:00
Yi Tang
8c13f9dea3
fix pv controller not find pv for pvc provisioning
2019-07-26 16:24:30 +08:00
Kubernetes Prow Robot
bf2dd03083
Merge pull request #80318 from davidxia/fix-err-caps
...
cleanup: fix some log and error capitalizations
2019-07-25 10:41:28 -07:00
AllenZMC
852040c036
fix typos in pv_controller.go
...
make code kinda more readable
2019-07-25 11:28:19 +08:00
Maciej Borsz
d96f24262d
Autogenerated files
2019-07-24 11:36:53 +02:00
Maciej Borsz
2fae3cbcfe
Add simple batching to endpoints controller
2019-07-24 11:36:53 +02:00
Kubernetes Prow Robot
bbdd0557b6
Merge pull request #78170 from DaiHao/daemon
...
ignore failed pods to not block rolling update daemonset
2019-07-23 21:36:14 -07:00
Shintaro Murakami
c94e800008
Use v1helper.GetPersistentVolumeClaimClass for compatibility
2019-07-24 10:35:00 +09:00
David Xia
fabfd950b1
cleanup: fix some log and error capitalizations
...
Part of https://github.com/kubernetes/kubernetes/issues/15863
2019-07-20 18:26:16 -04:00
Kubernetes Prow Robot
664edf8327
Merge pull request #79408 from seans3/move-kubectl-scheme
...
Move kubectl scheme
2019-07-19 16:08:55 -07:00
Kubernetes Prow Robot
49f6510d9a
Merge pull request #80277 from draveness/feature/revert-cleanup-critical-pod
...
Revert "feat: cleanup pod critical pod annotations feature"
2019-07-18 19:31:37 -07:00
Sean Sullivan
67140f13fe
Updated dependencies: BUILD/modules.txt
2019-07-18 15:43:26 -07:00
Sean Sullivan
140c62cd4c
Update all imports to scheme in staging
2019-07-18 15:32:27 -07:00
Kubernetes Prow Robot
8d4c49faae
Merge pull request #80088 from ZP-AlwaysWin/dev01
...
Fix golint failure in pkg/controller/volume/expand
2019-07-18 09:52:12 -07:00
draveness
d83526d253
Revert "feat: cleanup pod critical pod annotations feature"
...
This reverts commit b6d41ee5cc
.
2019-07-18 13:31:12 +08:00
Kubernetes Prow Robot
91e17af5ff
Merge pull request #80263 from tedyu/job-ctrl-early
...
Skip unnecessary operations if diff is <= 0
2019-07-17 21:28:48 -07:00
Kubernetes Prow Robot
c23a031bb4
Merge pull request #79060 from tedyu/dc-check-err
...
Check error return from MetaNamespaceKeyFunc
2019-07-17 19:34:10 -07:00
Ted Yu
898f099346
Skip unnecessary operations if diff is less than 0
2019-07-17 14:03:08 -07:00
Kubernetes Prow Robot
601b7935ff
Merge pull request #79971 from mrkm4ntr/fix-pv-existence-check
...
Add check to reduce orphaned volume
2019-07-17 12:20:12 -07:00
Ted Yu
c429b7d3e4
Handle error return from MetaNamespaceKeyFunc
2019-07-17 10:52:23 -07:00
ZP-AlwaysWin
1573be94ae
fix pkg/controller/volume/expand/pvc_populator.go
2019-07-17 09:00:24 +08:00
Kubernetes Prow Robot
5ece88c4c8
Merge pull request #74526 from DXist/feature/hpa-scale-to-zero
...
Support scaling HPA to/from zero pods for object/external metrics
2019-07-16 10:11:24 -07:00
Rinat Shigapov
d55f037b7d
HPA scale-to-zero for custom object/external metrics
...
Add support for scaling to zero pods
minReplicas is allowed to be zero
condition is set once
Based on https://github.com/kubernetes/kubernetes/pull/61423
set original valid condition
add scale to/from zero and invalid metric tests
Scaling up from zero pods ignores tolerance
validate metrics when minReplicas is 0
Document HPA behaviour when minReplicas is 0
Documented minReplicas field in autoscaling APIs
2019-07-16 08:46:21 -05:00
Kubernetes Prow Robot
12f36302f9
Merge pull request #78361 from tedyu/stateful-get-rev
...
Break out of loop when currentRevision is found in defaultStatefulSetControl#getStatefulSetRevisions
2019-07-15 12:37:23 -07:00
Joseph Burnett
7382fa464d
Add josephburnett to podautoscaler OWNERS.
2019-07-12 10:20:16 +02:00
Kubernetes Prow Robot
642a06e552
Merge pull request #79554 from draveness/feature/remove-critical-pod-annotation
...
feat: cleanup pod critical pod annotations feature
2019-07-11 22:03:04 -07:00
Kubernetes Prow Robot
3dd8add5d2
Merge pull request #79549 from liggitt/admission-webhooks-v1
...
Promote admission webhook API to v1
2019-07-11 17:01:34 -07:00
Clayton Coleman
d631f9b7e9
Use metadata informers instead of dynamic informers in controller manager
...
All controllers in controller-manager that deal with objects generically
work with those objects without needing the full object. Update the GC
and quota controller to use PartialObjectMetadata input objects which
is faster and more efficient.
2019-07-11 12:18:52 -04:00
Clayton Coleman
637cc83341
Switch the garbage collector to use metadata client and protobuf
2019-07-11 12:18:51 -04:00
Kubernetes Prow Robot
b500c740ee
Merge pull request #79859 from sukeesh/hpa-error-log-fix
...
HPA incorrectly reported condition status
2019-07-11 07:28:55 -07:00
Shintaro Murakami
7c0b33e012
Add check to reduce orphaned volume
2019-07-11 16:31:56 +09:00
Kubernetes Prow Robot
ca6cc69bd4
Merge pull request #78744 from smarterclayton/client_ns
...
Update namespace controller to use the metadata client
2019-07-10 18:48:53 -07:00
draveness
b6d41ee5cc
feat: cleanup pod critical pod annotations feature
2019-07-11 08:54:19 +08:00
Kubernetes Prow Robot
57eef32041
Merge pull request #79657 from josephburnett/hpastuck
...
Ignore unschedulable pods
2019-07-10 11:34:29 -07:00
Clayton Coleman
50fd47258d
Switch the namespace controller to use the metadata client
...
The metadata client uses protobuf and returns only a subset of object
data (the metadata) which allows operations that act only on objects
generically to work much faster. Use the metadata client in the
namespace controller to reduce the amount of work the namespace controller
has to do in large namespaces.
2019-07-10 14:31:18 -04:00
Joseph Burnett
80e279d353
Ignore pending pods.
...
This change adds pending pods to the ignored set first before
selecting pods missing metrics. Pending pods are always ignored when
calculating scale.
When the HPA decides which pods and metric values to take into account
when scaling, it divides the pods into three disjoint subsets: 1)
ready 2) missing metrics and 3) ignored. First the HPA selects pods
which are missing metrics. Then it selects pods should be ignored
because they are not ready yet, or are still consuming CPU during
initialization. All the remaining pods go into the ready set. After
the HPA has decided what direction it wants to scale based on the
ready pods, it considers what might have happened if it had the
missing metrics. It makes a conservative guess about what the missing
metrics might have been, 0% if it wants to scale up--100% if it wants
to scale down. This is a good thing when scaling up, because newly
added pods will likely help reduce the usage ratio, even though their
metrics are missing at the moment. The HPA should wait to see the
results of its previous scale decision before it makes another
one. However when scaling down, it means that many missing metrics can
pin the HPA at high scale, even when load is completely removed. In
particular, when there are many unschedulable pods due to insufficient
cluster capacity, the many missing metrics (assumed to be 100%) can
cause the HPA to avoid scaling down indefinitely.
2019-07-10 12:16:33 +02:00
Kubernetes Prow Robot
abe94ce9b3
Merge pull request #79937 from mm4tt/deployment_improve
...
Deployment Controller - avoid unnecessary copying of pod objects in getPodMapForDeployment
2019-07-10 01:24:25 -07:00
Matt Matejczyk
8140bbc4f5
Deployment Controller - don't copy pods in getPodMapForDeployment
...
As the benchmark shows it speeds up the method~x4 and reduces memory
consumption ~x20.
```
benchmark old ns/op new ns/op delta
BenchmarkGetPodMapForDeployment-12 276121 72591 -73.71%
benchmark old allocs new allocs delta
BenchmarkGetPodMapForDeployment-12 241 238 -1.24%
benchmark old bytes new bytes delta
BenchmarkGetPodMapForDeployment-12 554025 28956 -94.77%
```
2019-07-10 09:14:15 +02:00
Kubernetes Prow Robot
dc8829df5c
Merge pull request #75922 from humblec/stateful_set
...
Remove unwanted `else` block from statefulset controller.
2019-07-10 00:12:25 -07:00
Kubernetes Prow Robot
d59a603f1b
Merge pull request #78267 from mucahitkurt/cleanup/operation-generator-migration-scenarios-unit-tests
...
unit tests for operationGenerator.GenerateUnmapVolumeFunc
2019-07-09 18:20:25 -07:00
Matt Matejczyk
3e363c5c46
Add micro-benchmark for DeploymentController.getPodMapForDeployment method
2019-07-09 15:00:18 +02:00
Kubernetes Prow Robot
2cfd4a5eb9
Merge pull request #79168 from tnozicka/fix-sigapps-owners
...
Update Sig-Apps OWNERS to aliases in places that were missed in #76669
2019-07-08 17:30:01 -07:00
Jordan Liggitt
e24377f190
Install/register v1 admission registration types
2019-07-08 09:49:29 -04:00
Sukeesh
44c3f0105f
fix incorrect hpa status
2019-07-08 17:27:38 +09:00
Kubernetes Prow Robot
a33840e023
Merge pull request #73977 from khenidak/ipv6dualstack
...
ipv6 dual stack (Phase 1 - ALPHA)
2019-07-02 18:07:12 -07:00
Khaled Henidak(Kal)
2b77667718
vendor updates
2019-07-02 22:26:26 +00:00
Kubernetes Prow Robot
cf7662d3a1
Merge pull request #79035 from josephburnett/hparunaway
...
Fix HPA feedback from writing status.replicas to spec.replicas.
2019-07-02 09:31:08 -07:00
Khaled Henidak(Kal)
a51b8ce456
route controller + azure v6 routes
2019-07-02 15:39:06 +00:00
Khaled Henidak(Kal)
584d7103e2
node ipam controller for ipv6 dualstack
2019-07-02 15:39:06 +00:00
Joseph Burnett
39c4875321
There are various reasons that the HPA will decide not the change the
...
current scale. Two important ones are when missing metrics might
change the direction of scaling, and when the recommended scale is
within tolerance of the current scale.
The way that ReplicaCalculator signals it's desire to not change the
current scale is by returning the current scale. However the current
scale is from scale.Status.Replicas and can be larger than
scale.Spec.Replicas (e.g. during Deployment rollout with configured
surge). This causes a positive feedback loop because
scale.Status.Replicas is written back into scale.Spec.Replicas,
further increasing the current scale.
This PR fixes the feedback loop by plumbing the replica count from
spec through horizontal.go and replica_calculator.go so the calculator
can punt with the right value.
2019-07-02 14:21:32 +02:00
Kubernetes Prow Robot
f56b336976
Merge pull request #79592 from tedyu/ctrl-exp-mutex
...
Move population of expectedUIDs outside lock
2019-07-01 09:43:34 -07:00
Ted Yu
6db618fa42
Move population of expectedUIDs outside lock
2019-07-01 21:26:34 +08:00
Kubernetes Prow Robot
b22e48f240
Merge pull request #79584 from tedyu/pv-ctrl-bind-vol
...
Drop unnecessary claim parameter from PersistentVolumeController#updateBindVolumeToClaim
2019-07-01 06:09:33 -07:00
Kubernetes Prow Robot
d48f123a40
Merge pull request #79591 from tedyu/ctrl-util-label
...
Simplify the check of presence of labels in createPods
2019-07-01 01:45:19 -07:00
Ted Yu
69aeabc397
Simplify the check of presence of labels in createPods
2019-07-01 15:32:28 +08:00
Ted Yu
a18633427b
Drop unnecessary claim parameter from PersistentVolumeController#updateBindVolumeToClaim
2019-07-01 13:30:11 +08:00
Kubernetes Prow Robot
8865cb3c24
Merge pull request #78853 from tcmichael/bugfix
...
Fix a bug that StatefulSet applies the revision incorrectly
2019-06-29 20:43:21 -07:00
kanchairen
bf421ae560
Fix a bug that StatefulSet applies the revision incorrectly
2019-06-30 09:49:00 +08:00
wojtekt
cba13eb9ad
Autogenerate code
2019-06-29 15:26:09 +02:00
wojtekt
fd819f8fdc
Move APIObjectVersioner
2019-06-28 21:16:49 +02:00
Hongcai Ren
9618d1d955
Fix service controller not release loadBalancer issue in corner case.
2019-06-27 09:12:16 +08:00
Kubernetes Prow Robot
eed7af6e41
Merge pull request #79370 from mborsz/node
...
Use watch in TaintManager
2019-06-26 06:49:17 -07:00
Maciej Borsz
98e9c78c13
Migrate TaintManager to use watch for listing pods instead of expensive
...
listing pods call.
2019-06-26 13:35:59 +02:00
Kubernetes Prow Robot
41b817b92f
Merge pull request #79038 from yastij/move-jws
...
move jws to k8s.io/cluster-bootstrap
2019-06-25 17:01:29 -07:00
Kubernetes Prow Robot
a78ae4ba74
Merge pull request #76059 from tedyu/master
...
Remove unnecessary map in cleanupHistory
2019-06-25 05:24:35 -07:00
Yassine TIJANI
d3620dfa29
move jws to k8s.io/cluster-bootstrap
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-06-25 13:48:13 +02:00
Kubernetes Prow Robot
6f0f62b2c4
Merge pull request #77211 from dixudx/bootstrap_token_refactor
...
Bootstrap token refactor
2019-06-24 13:36:36 -07:00
Kubernetes Prow Robot
bc70f33e3a
Merge pull request #79294 from tedyu/svc-ctrl-lock
...
Use RWMutex to improve locking for serviceCache
2019-06-24 11:24:28 -07:00
Ted Yu
e86b0d3cd3
Use RWMutex to improve locking for serviceCache
2019-06-22 06:49:40 -07:00
Kubernetes Prow Robot
4b8a1163aa
Merge pull request #77712 from Sn0rt/check-target-port-check
...
service controller: if targetPort has changed will process by cloud-p…
2019-06-21 18:52:12 -07:00
guohaowang
d41f7b99ef
service controller: if targetPort has changed will process by cloud-provider
...
Signed-off-by: guohaowang <wangguohao.2009@gmail.com>
2019-06-21 15:26:45 +08:00
Hongcai Ren
fa80c0072a
Remove redundant initilization for service controller
2019-06-21 11:38:36 +08:00
Di Xu
5056161d4d
auto-generated
2019-06-20 17:06:26 +08:00
Di Xu
af9ae4c11a
refactor bootstrap token utils
2019-06-20 15:43:44 +08:00
Kubernetes Prow Robot
8d8c54bd73
Merge pull request #79082 from timoreimann/delete-unused-service-controller-load-balancer-name-method
...
Remove unused ServiceController.loadBalancerName method
2019-06-19 18:37:13 -07:00
Tomas Nozicka
d4261ba741
Update Sig-Apps OWNERS in places that were missed in #76669
2019-06-19 15:36:16 +02:00
Hongcai Ren
f0fae66001
Minor change: delete unused constant from service controller
2019-06-18 15:45:34 +08:00
Kubernetes Prow Robot
541cc51c7d
Merge pull request #72809 from hanxiaoshuai/fix0111
...
when SessionAffinityConfig is different, enqueueService in update Service handler
2019-06-17 05:54:09 -07:00
Timo Reimann
77c9950098
Remove unused ServiceController.loadBalancerName method
...
Its only caller lives in the corresponding test file. Hence, we move the
method called by loadBalancerName over to the test and remove
loadBalancerName.
2019-06-17 00:45:22 +02:00
Ted Yu
9c5f311eff
Remove unnecessary loop for lowering expectations
2019-06-15 08:11:46 -07:00
Kubernetes Prow Robot
1782653fe8
Merge pull request #78974 from DaiHao/daemon_controller
...
fix a bug that pods not be deleted from unmatched nodes by daemon controller
2019-06-15 03:46:11 -07:00
Kubernetes Prow Robot
f20fb80aaa
Merge pull request #78911 from tedyu/list-pv
...
Do not add non-PersistentVolume to return value for pvAssumeCache#ListPVs
2019-06-14 23:06:47 -07:00
Kubernetes Prow Robot
6e1d8a8fac
Merge pull request #78821 from jhedev/fix/typo_node_lifecycle_controller
...
Fix typo in node lifecycle controller
2019-06-14 20:46:36 -07:00
Kubernetes Prow Robot
95e3a2576b
Merge pull request #78650 from cwdsuzhou/gc_graph_common
...
Merge similar funcs
2019-06-14 11:53:02 -07:00
Kubernetes Prow Robot
5777fdfe31
Merge pull request #78105 from cwdsuzhou/narrow_down_lock
...
Narrow down the lock
2019-06-14 04:08:23 -07:00
daihao
6c0e35d7b2
do not delete pods whose deletiontimestamp != nil
2019-06-13 17:47:52 +08:00
Ted Yu
f3c90b058c
Do not add non-PersistentVolume to return value for pvAssumeCache#ListPVs
2019-06-11 10:27:26 -07:00
Mucahit Kurt
db1c07750a
unit tests for the volume plugin name that's used inside GeneratedUnmapVolumeFunc for csi migration on/off scenarios
...
Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com>
2019-06-11 08:32:25 +03:00
Joel Hermanns
4977aa0ceb
Fix typo in node lifecycle controller
2019-06-09 11:57:37 +02:00
Kubernetes Prow Robot
602fc4771a
Merge pull request #78725 from waynepeking348/waynepeking348-master
...
fix bug of replica_calculator to initialize replicaCount with currentReplicas
2019-06-06 10:48:27 -07:00
waynepeking348
b8b1720f12
Fix bug of ObjectPerPodMetricReplicas to initialize replicaCount with currentReplicas
2019-06-05 11:54:03 +00:00
Kubernetes Prow Robot
88f8c785b4
Merge pull request #78711 from MrHohn/lb-finalizer-patch-err
...
Don't mask k8s error returned from patch
2019-06-04 22:31:52 -07:00
Zihong Zheng
89a7a35607
Don't mask k8s error returned from patch
2019-06-04 16:40:51 -07:00
Jordan Liggitt
6a7e7fc156
Fix TestStressingCascadingDeletion flake
2019-06-04 17:26:36 -04:00
caiweidong
0989bfee95
merge common funcs
2019-06-04 16:37:42 +08:00
Kubernetes Prow Robot
9f85c5c4b5
Merge pull request #78503 from gjtempleton/Multiple-Metrics-HPA
...
Multiple metrics hpa
2019-06-03 19:34:59 -07:00
Kubernetes Prow Robot
ac458e9d89
Merge pull request #78581 from andrewsykim/route-rate-limit
...
route controller: respect rate limit for delete
2019-06-01 12:13:07 -07:00
Kubernetes Prow Robot
bc32307314
Merge pull request #78262 from MrHohn/svc-finalizer-cleanup2
...
Add Service Load Balancer finalizer support
2019-05-31 22:02:59 -07:00
Kubernetes Prow Robot
b3c1bbb471
Merge pull request #78061 from yuxiangqian/metrics
...
Enhance to record more accurate e2e provision/deletion latency metric
2019-05-31 20:45:13 -07:00
Kubernetes Prow Robot
6feea43bcc
Merge pull request #77475 from liucimin/fix_cronjob_controller_pageerr
...
Fix cronjob controller page list err
2019-05-31 12:22:40 -07:00
Andrew Sy Kim
380c6cbd0d
route controller: respect rate limit for delete
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
Co-authored-by: Khaled Henidak <khnidk@microsoft.com>
2019-05-31 08:26:36 -04:00
wangqingcan
52f3380ef3
change preempting to PreemptionPolicy
2019-05-31 12:42:05 +08:00
wangqingcan
5c9438c691
non-preempting-priorityclass
...
Co-authored-by: Vallery Lancey <vallery@zeitgeistlabs.io>
Co-authored-by: Tan shanshan <tan.shanshan@zte.com.cn>
2019-05-31 12:37:07 +08:00
Zihong Zheng
64198a43e7
Auto-generated BUILD files
2019-05-30 21:09:04 -07:00
Zihong Zheng
2ab3681648
Fix-up and add unit test for Load Balancer finalizer
2019-05-30 21:09:04 -07:00
Zihong Zheng
aa3f81d657
Add Load Balancer finalizer support
...
- Always try to remove finalizer upon load balancer cleanup
- Add finalizer prior to load balancer creation (feature gated)
- Cache logic fix-ups
- Event type/message fix-ups
- Use runtime.HandleError() on eaten errors
Co-authored-by: Josh Horwitz <horwitzja@gmail.com>
2019-05-30 21:09:04 -07:00
xiangqian
38a884aa04
using storage class provisioner instead of annotation of a pv for external provisioner
...
minor updates
2019-05-30 10:19:36 -07:00
Kubernetes Prow Robot
05df640f33
Merge pull request #77994 from gnufied/csi-resize-migration
...
Handle CSI volume resize migration.
2019-05-29 21:28:43 -07:00
GuyTempleton
1efbde2815
Handle invalid metrics when scaling on multiple metrics
...
Handle a case in the Horizontal Pod Autoscaler Controller when scaling
on multiple metrics and one or more is missing or invalid.
If all metrics are missing - return an error and leave the isScalingActive
condition as that for the last invalid metric.
If some metrics are missing/invalid and some are valid and found -
if a scale up would be triggered by the valid metrics ignore the missing
metrics and scale up, if a scale down would be triggered, return an error
and leave the isScalingActive condition as that for the last invalid metric.
2019-05-29 23:20:40 +01:00
GuyTempleton
ee4dbbcbff
Add tests for handling scaling on unavailable metrics
...
Add three tests for handling invalid metrics when scaling on
multiple metrics - one for scaling up successfully (new behaviour)
and two for ensuring we don't scale down (existing behaviour).
2019-05-29 23:11:32 +01:00
xiangqian
9688511595
record provision and deletion latency metric
...
instead of using provisioner from storage class directly, uses plugin name firstly
2019-05-29 14:15:30 -07:00
Hemant Kumar
7563b4d01b
Address comments about retry in online resizing block
2019-05-29 11:01:45 -04:00
Kubernetes Prow Robot
d8fd232ea1
Merge pull request #78327 from caesarxuchao/pointer-remainingItemCount
...
Make RemainingItemCount a pointer
2019-05-29 07:59:29 -07:00
Kubernetes Prow Robot
306b6f330d
Merge pull request #78248 from cwdsuzhou/optimize_err_log
...
Add error info for plugin do not support attachment
2019-05-29 00:53:17 -07:00
Kubernetes Prow Robot
501092c7d0
Merge pull request #78232 from SataQiu/fix-golint-20190523
...
Fix golint failures of pkg/controller/namespace/deletion pkg/controller/serviceaccount
2019-05-29 00:53:02 -07:00
Hemant Kumar
d119899e22
handle review comments
2019-05-28 15:22:41 -04:00
Ted Yu
7a2edb780a
Break out of loop when currentRevision is found in defaultStatefulSetControl#getStatefulSetRevisions
2019-05-26 09:22:58 -07:00
Chao Xu
369314959c
generated
2019-05-24 18:14:53 -07:00
Morten Torkildsen
f1883c9e8c
Support scale subresource for PDBs ( #76294 )
...
* Support scale subresource for PDBs
* Check group in finder functions
* Small fixes and more tests
2019-05-23 22:24:17 -07:00
Kubernetes Prow Robot
cdff17a96b
Merge pull request #78166 from qingsenLi/k8s-190522
...
duplicated klog.V(5) when had a if klog.V(5)
2019-05-23 20:58:43 -07:00
qingsenLi
5c23e393cf
duplicated klog.V(5) when had a if klog.V(5)
2019-05-24 00:49:38 +08:00
caiweidong
e39ec09975
Add error info for plugin do not support attachment
2019-05-23 18:32:49 +08:00
SataQiu
b87d006a50
fix golint failures of pkg/controller/namespace/deletion pkg/controller/serviceaccount
2019-05-23 12:09:01 +08:00
Kubernetes Prow Robot
0cea0675ec
Merge pull request #78159 from byteor/master
...
[pkg/controller/serviceaccount]: refactor to more idiomatic go
2019-05-22 15:14:37 -07:00
Kubernetes Prow Robot
4f98c6fc7f
Merge pull request #78104 from Pingan2017/update-translate-time
...
update LastTransitionTime for pod ready condition when node notready
2019-05-22 08:34:14 -07:00
Zhou Peng
2fd4f883d6
[pkg/controller/serviceaccount]: refactor to more idiomatic go
...
Signed-off-by: Zhou Peng <p@ctriple.cn>
2019-05-21 17:55:30 +08:00
daihao
166147d5c4
ignore failed pods to not stuck rolling update daemonset
2019-05-21 17:38:53 +08:00
Pingan2017
0a8d7aadc0
update LastTransitionTime for pod ready condition when node become notready
2019-05-21 17:20:08 +08:00
Kubernetes Prow Robot
8211cabfb2
Merge pull request #77647 from fisherxu/patch-1
...
Add pending status for pastBackoffLimitOnFailure
2019-05-20 21:56:39 -07:00
Fei Xu
9feb0df370
Add pending status for pastBackoffLimitOnFailure
2019-05-21 09:45:29 +08:00
Hemant Kumar
33b95ebddb
add some tests for expand controller
...
Update bazel file
2019-05-20 10:55:23 -04:00
caiweidong
5a0e7f19b6
Narrow down the lock
2019-05-20 19:12:27 +08:00
Kubernetes Prow Robot
6ba13bf151
Merge pull request #77773 from DaiHao/daemon
...
fix daemon set rolling update hang
2019-05-20 03:11:12 -07:00
Yu Liao
05ebe91277
Switched to use dynamic shared informer for Garbage Collector.
2019-05-17 15:41:36 -07:00
Kubernetes Prow Robot
9cbbf59265
Merge pull request #77984 from MrHohn/svc-finalizer-alpha
...
`patch` service status instead of `update` in service controller
2019-05-17 10:12:06 -07:00
Hemant Kumar
405d33eae4
Add code to handle in-tree to CSI migration for resizing
2019-05-17 10:57:44 -04:00
Kubernetes Prow Robot
27410955e2
Merge pull request #77952 from liggitt/delete-on-update
...
Handle updates removing remaining finalizers on deleted objects
2019-05-17 02:04:32 -07:00
Kubernetes Prow Robot
da4d6f5829
Merge pull request #77883 from gnufied/mat-expand-workqueue
...
Use workqueues for volume expansion
2019-05-17 02:04:18 -07:00
Hemant Kumar
4886e8782c
name the queue properly and use lower case for error message
2019-05-16 21:34:57 -04:00
Zihong Zheng
cda73ebbb0
Fixes service controller unit test for patching
...
Co-authored-by: Josh Horwitz <horwitzja@gmail.com>
2019-05-16 17:30:43 -07:00
Zihong Zheng
a1f07049e5
Patch service instead of update in service controller
...
Co-authored-by: Josh Horwitz <horwitzja@gmail.com>
2019-05-16 17:30:43 -07:00
Hemant Kumar
673773cbde
check for pvc objects
2019-05-16 12:23:52 -04:00
Kubernetes Prow Robot
23e54dc634
Merge pull request #77610 from tedyu/rev-limit
...
Impose length limit when concatenating revision history
2019-05-16 01:10:08 -07:00
daihao
e25ff463ba
fix daemon set rolling update hang
2019-05-16 10:52:48 +08:00
Jordan Liggitt
fba885a0d2
Handle updates removing remaining finalizers on deleted objects
2019-05-15 17:17:39 -04:00
Matthew Wong
c16a555654
Use workqueue model in expand controller
...
Add a test for patch creation
2019-05-14 16:42:06 -04:00
Mike Crute
7d62316f8f
Migrate fake cloud provider to staging
2019-05-14 13:32:18 -07:00
Kubernetes Prow Robot
ec88ec272c
Merge pull request #75405 from tghartland/node-init-fix
...
Recheck for cloud taint before initializing nodes in cloud controller
2019-05-14 11:21:19 -07:00
Ted Yu
9418affa4d
add comment on rev history length limit
2019-05-14 03:11:20 +08:00
Thomas Hartland
081ec69386
Abort node initialization if cloud taint was already removed
...
If node events are received at a faster rate than they
can be processed then initialization for some nodes will
be delayed. Once they are eventually processed their cloud taint
is removed, but there may already be several update events
for those nodes with the cloud taint still on them already
in the event queue. To avoid re-initializing those nodes,
the cloud taint is checked for again after requesting
the current state of the node. If the cloud taint is no
longer on the node then nil is returned from the
RetryOnConflict, as an error does not need to be logged.
The logging for a successful initialization is also
moved inside the RetryOnConflict so that the early nil
return does not cause the aborted initialization to be
logged as a success.
2019-05-10 09:26:16 +02:00
Kubernetes Prow Robot
3ed23a9594
Merge pull request #73350 from hello2mao/remove-unused-const-in-node-controller
...
Remove unused const
2019-05-09 11:26:51 -07:00
Ted Yu
9546fd540e
Impose length limit when concatenating revision history
2019-05-08 10:14:18 -07:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
Walter Fender
796097ae40
Staging the GCE Cloud Provider
...
**What type of PR is this?**
/kind cleanup
**What this PR does / why we need it**:
Staging the GCE Cloud Provider as part of KEP [20190125-removing-in-tree-providers](https://github.com/kubernetes/enhancements/blob/master/keps/sig-cloud-provider/20190125-removing-in-tree-providers.md ). Staging repo setup here https://github.com/kubernetes/legacy-cloud-providers
Moves the GCE cloud provider implementation to staging.
This is in preparation for moving the cloud provider code out of tree entirely.
However we need it in staging while the code needs to be consumed both in/out of tree.
**Which issue(s) this PR fixes**:
Fixes #
**Special notes for your reviewer**:
**Does this PR introduce a user-facing change?**:
```
NONE
```
Updated import dependency tracking.
Factored in the cleanup from #77412
Minor fix to go.mod.
2019-05-07 13:17:52 -07:00
Kubernetes Prow Robot
95eb3a6702
Merge pull request #77452 from cwdsuzhou/fix_error_overrided
...
fix always print EventTypeWarning due to err override
2019-05-07 09:52:10 -07:00
Kubernetes Prow Robot
43284ecbfc
Merge pull request #77442 from cofyc/fix77084
...
Fix go lint failures in volume scheduling packages
2019-05-07 00:24:07 -07:00
Kubernetes Prow Robot
86a0a3d883
Merge pull request #77443 from cofyc/fix77085
...
Remove private copies and update the code to use shared annotations
2019-05-06 22:53:52 -07:00
Kubernetes Prow Robot
a8787dac30
Merge pull request #76927 from mrkm4ntr/unnecessary-goroutine
...
Do not generate unnecessary goroutines
2019-05-06 21:31:53 -07:00
Yecheng Fu
4abd73048c
Do one more level of casting to get the 'assumeCache'
2019-05-07 10:55:58 +08:00
liucimin
f68b12e4ec
fix the metainternalversion.List change error
2019-05-07 10:35:04 +08:00
Kubernetes Prow Robot
04d69b20cc
Merge pull request #77438 from cofyc/owners
...
Create OWNERS in volume scheduling package
2019-05-06 17:08:06 -07:00
caiweidong
722f42caba
fix always print EventTypeWarning due to err overrided
2019-05-05 20:19:01 +08:00
Yecheng Fu
3315474f55
Fix go lint failures in a few packages
...
- pkg/controller/volume/persistentvolume/testing
- pkg/controller/volume/scheduling
2019-05-05 09:45:25 +08:00
Yecheng Fu
2d0d226371
Move all private annotations to shared package and update code
2019-05-05 09:43:43 +08:00
Kubernetes Prow Robot
c516bb51e3
Merge pull request #76723 from LiliC/fix-daemonset-typo
...
pkg,test: Fix DaemonSet typos
2019-05-04 17:19:37 -07:00
Yecheng Fu
87ca3bd1d6
Create OWNERS in volume scheduling package
2019-05-04 16:46:12 +08:00
Kubernetes Prow Robot
d5245b9563
Merge pull request #74856 from draveness/fix/daemonset-controller-slow-batch-creation
...
fix(daemon): create more expections when skipping pods
2019-05-03 23:33:37 -07:00
Kubernetes Prow Robot
ef550e6989
Merge pull request #75434 from cofyc/fix56098
...
Refactor PV scheduling library into a separate package
2019-05-03 22:17:38 -07:00
Kubernetes Prow Robot
e871241268
Merge pull request #77208 from DaiHao/daemon_controller
...
Fix rolling update daemonset bug in clock-skew scenario
2019-05-03 21:01:52 -07:00
draveness
5f8dfdc698
fix(daemon): create more expections when skipping pods
2019-05-04 08:15:49 +08:00
Kubernetes Prow Robot
b07f311322
Merge pull request #76882 from SataQiu/fix-golint-controller-20190422
...
Fix golint failures of pkg/controller/certificates/approver, etc
2019-05-02 03:16:18 -07:00
Yecheng Fu
842fed658c
Refactor PV scheduling library into separate package
2019-05-02 14:45:52 +08:00
Yecheng Fu
0b6c028c8a
Extract testing VolumeReactor into a separate package
2019-05-02 14:45:52 +08:00
Kubernetes Prow Robot
b03e4bbc22
Merge pull request #76868 from tedyu/res-quota-mon-read
...
Use read lock for QuotaMonitor#IsSynced
2019-05-01 20:42:31 -07:00
SataQiu
3c35e4e2d6
fix golint failures of pkg/controller/certificates/approver
2019-05-02 10:37:38 +08:00
Humble Chirammal
4d56ab19e4
Remove unwanted conditions from controllers.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-05-01 14:13:19 +05:30
Kubernetes Prow Robot
4ebe11a6cb
Merge pull request #76110 from DirectXMan12/infra/prune-owners
...
Prune directxman12 from metrics/autoscaling OWNERS
2019-04-29 14:35:36 -07:00
daihao
18ed2f6c54
Enqueue controllers after minreadyseconds when all pods are ready
2019-04-29 19:51:03 +08:00
Kubernetes Prow Robot
99d331e37c
Merge pull request #76817 from soltysh/apps_approvers
...
Updates OWNERS files in job controller
2019-04-25 12:03:57 -07:00
Maciej Szulik
edb3357a29
Rename CronJob controller file
2019-04-25 12:19:29 +02:00
Shintaro Murakami
f8e81337da
Do not generate unnecessary goroutine
2019-04-23 16:22:14 +09:00
Kubernetes Prow Robot
0ca27bfee2
Merge pull request #76139 from SataQiu/fix-golint-kubectl-20190404
...
Fix golint failures of pkg/kubectl/apps
2019-04-22 10:43:44 -07:00
Ted Yu
0129dede89
Use read lock for QuotaMonitor#IsSynced
2019-04-20 11:05:57 -07:00
Kubernetes Prow Robot
22c67bb113
Merge pull request #76333 from cwdsuzhou/clean_up_scheduler_binder
...
Rename some varibles and clean up codes in scheduler_binder.go
2019-04-19 17:18:03 -07:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
Maciej Szulik
3cc85a1c09
Updates OWNERS files in job controller
2019-04-19 10:35:16 +02:00
caiweidong
1c5efe7eae
Rename some varible and clean up codes in scheduler_binder.go
2019-04-19 11:06:17 +08:00
Lili Cosic
c9cbabc8f9
pkg,test: Fix DaemonSet typos
2019-04-17 18:47:00 +02:00
Joel Smith
f50696adda
Fix potential test flakes in HPA tests TestEventNotCreated and TestAvoidUncessaryUpdates
...
Also, re-work the code so that the lock is never held while writing to the chan
2019-04-17 08:10:33 -06:00
Kubernetes Prow Robot
0889c3e4e9
Merge pull request #75761 from fenggw-fnst/mybranch
...
Fix comments about node health monitor
2019-04-17 05:26:12 -07:00
SataQiu
4c713e94d9
fix golint failures of pkg/kubectl/apps
2019-04-17 19:37:35 +08:00
Kubernetes Prow Robot
0148014048
Merge pull request #76669 from kow3ns/apps-owners-update
...
Updates OWNERS files and OWNERS_ALIASES for SIG Apps
2019-04-16 17:49:05 -07:00
Kubernetes Prow Robot
90b9ccf7f4
Merge pull request #74447 from WanLinghao/builder_ptr_replace
...
Remove and replace ptr functions
2019-04-16 16:19:38 -07:00
Kenneth Owens
f81fc8ae1b
Updates OWNERS files and OWNERS_ALIASES for SIG Apps to make reviewers
...
and approvers more clear
2019-04-16 11:35:21 -07:00
Kubernetes Prow Robot
440d086268
Merge pull request #76257 from johscheuer/remove-unused-nodeipam-code
...
Remove empty metrics.go file and method call
2019-04-16 08:57:09 -07:00
Kubernetes Prow Robot
a93f803f8e
Merge pull request #75501 from Huang-Wei/scheduler-metrics
...
scheduler: add metrics to record number of pending pods in different queues
2019-04-09 01:09:05 -07:00
Kubernetes Prow Robot
1cca3f9d45
Merge pull request #76215 from liggitt/update-vendored-dependencies
...
Update vendored dependencies
2019-04-08 23:51:03 -07:00
Kubernetes Prow Robot
fa9b36de77
Merge pull request #76151 from vladimirvivien/plugin-CanAttach-return-error
...
Ability for volume AttachablePlugin.CanAttach() to return both bool and error
2019-04-08 20:29:05 -07:00
WanLinghao
d0138ca3fe
This commit does two things in pkg package:
...
1. Remove unused ptr functions.
2. Replace ptr functions with k8s.io/utils/pointer
2019-04-09 10:56:35 +08:00
Kubernetes Prow Robot
65dc445aa2
Merge pull request #74241 from snowplayfire/fix-pdb-update
...
fix too many pdb update operations when nothing change
2019-04-08 18:53:03 -07:00
Wei Huang
63c3a617cd
auto-generated files
2019-04-08 17:51:08 -07:00
Vladimir Vivien
cfafde983b
Volume AttachablePlugin.CanAttach() now returns both bool and error
2019-04-08 16:53:22 -04:00
Jordan Liggitt
bba9f5e673
Fixup gonum.org/v1/gonum/graph API calls
2019-04-08 15:20:46 -04:00
Kubernetes Prow Robot
8f8d9e2c72
Merge pull request #76060 from krzysztof-jastrzebski/master
...
Delete only unscheduled pods in DaemonSetController if node doesn't exist anymore
2019-04-08 08:58:27 -07:00
Johannes M. Scheuermann
80d6b0465e
Remove empty metrics.go file and method call
...
Update bazel code file
2019-04-08 14:49:27 +02:00
jingxueli
dfa3353390
fix pdb update too many when nothing change
2019-04-08 11:27:42 +08:00
Kubernetes Prow Robot
2c013fa1a8
Merge pull request #75129 from xing-yang/informer
...
Move CSIDriver Lister to the controller
2019-04-05 18:06:27 -07:00
Kubernetes Prow Robot
f3de278f18
Merge pull request #75964 from humblec/more-lnt
...
Remove some unwanted code blocks in controller_utils.go
2019-04-05 16:46:40 -07:00
Kubernetes Prow Robot
deb48e331a
Merge pull request #76189 from soltysh/fix_legacy_podautoscaler
...
Fix flaky legacy pod autoscaler test
2019-04-05 14:34:05 -07:00
Kubernetes Prow Robot
1cdb4c965a
Merge pull request #74946 from ialidzhikov/clean-ineffectual-assignments
...
Clean ineffectual assignments
2019-04-05 14:33:53 -07:00
Xing Yang
000ab86788
Move CSIDriver Lister to the controller
2019-04-05 12:20:11 -07:00
Maciej Szulik
bcfd48c29e
Fix flaky legacy pod autoscaler test
...
The reactor in runTest is set to catch all actions, but eventually it
only handles CreateAction without checking action type which might fail
sometimes when Patch arrives. This fix ensures we handle only the
CreateAction.
2019-04-05 13:20:30 +02:00
Kubernetes Prow Robot
529cd2c674
Merge pull request #74649 from draveness/patch-1
...
fix: typo in stateful_set_control
2019-04-04 17:47:31 -07:00
Kubernetes Prow Robot
79a8827c37
Merge pull request #76108 from MrHohn/svc-controller-sync-name
...
Rename createLoadBalancerIfNeeded() to syncLoadBalancerIfNeeded()
2019-04-04 00:41:27 -07:00
Kubernetes Prow Robot
eee8af93ba
Merge pull request #75622 from jonsabo/ssetresync
...
Remove resync period for sset controller
2019-04-04 00:41:02 -07:00
Solly Ross
837976cb59
Prune directxman12 from metrics/autoscaling OWNERS
...
Since I'm not really working on metrics or autoscaling stuff any more, I
figured it was time to remove myself from the approvers list.
2019-04-03 16:24:51 -07:00
Zihong Zheng
3e52ea8081
Rename createLoadBalancerIfNeeded() to syncLoadBalancerIfNeeded() to reduce confusion
2019-04-03 14:27:04 -07:00
Kubernetes Prow Robot
be374388f6
Merge pull request #74941 from cwdsuzhou/fix_pvc_label
...
Do not replace labels of pvc with those of StastefulSet
2019-04-03 02:05:44 -07:00
Ted Yu
eebd8d2690
Remove unnecessary map in cleanupHistory
2019-04-02 15:45:49 -07:00
Krzysztof Jastrzebski
9c142cf47b
Delete only unscheduled pods if node doesn't exist anymore.
2019-04-03 00:24:26 +02:00
Michelle Au
d2aa8178f2
Remove alpha CRD install
2019-04-02 10:59:11 -07:00
Kubernetes Prow Robot
b1186435eb
Merge pull request #75080 from draveness/feature/get-nodelists-sync-daemonset
...
fix: list nodes in sync daemonset
2019-04-02 08:22:35 -07:00
Kubernetes Prow Robot
f83fcbefb6
Merge pull request #76004 from yue9944882/chore/trival-reserving-error-msg
...
Fixes reversed owner relation in error msg from garbage collector
2019-04-02 03:04:58 -07:00
draveness
36c535cf42
fix: list nodes in sync daemonset
2019-04-02 13:54:28 +08:00
Kubernetes Prow Robot
42ff0d8517
Merge pull request #75972 from smarterclayton/use_patch
...
Garbage collector should use a merge patch instead of Update
2019-04-01 22:44:57 -07:00
yue9944882
0a60d19ebd
fixes reversed owner relation in error msg
2019-04-02 12:08:53 +08:00
Clayton Coleman
a63fef26ca
Garbage collector should use a merge patch instead of Update
...
Fix a TODO in GC controller that blocks using the new
PartialObjectMetadata flow (because we don't support PUT of
PartialObjectMetadata). This patch is equivalent to the previous
mutation.
2019-04-01 11:02:03 -04:00
Humble Chirammal
e9d8d0f5a5
Remove some unwanted code blocks in controller_utils.go
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-04-01 19:20:12 +05:30
Humble Chirammal
48e1838f6c
Remove unwanted else
block from statefulset controller.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-04-01 16:24:55 +05:30
Tom Wanielista
d0cfc49704
Avoid panic in cronjob sorting
...
This change handles the case where the ith cronjob may have its start
time set to nil.
Previously, the Less method could cause a panic in case the ith
cronjob had its start time set to nil, but the jth cronjob did not. It
would panic when calling Before on a nil StartTime.
2019-03-30 12:43:14 -04:00
Kubernetes Prow Robot
7a478a4609
Merge pull request #75844 from vladimirvivien/volume-skip-device-mount
...
Volume DeviceMountablePlugin.CanDeviceMount check when retrieving plugins
2019-03-29 13:02:13 -07:00
Kubernetes Prow Robot
16a0351881
Merge pull request #75712 from danielqsj/cj
...
Add completed job status in cronjob event
2019-03-29 11:48:37 -07:00
Vladimir Vivien
3777514f83
Adds DeviceMountablePlugin.CanDeviceMount check when retrieving plugins
2019-03-28 10:39:32 -04:00
zhouhaibing089
f58c2ae62d
resourcequota: use dynamic informer
...
The resource quota controller should use a dynamic informer so it
can create informer for custom resources.
2019-03-27 11:08:24 -07:00
Guangwen Feng
5714041f54
Fix comments about node health monitor
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
2019-03-27 12:18:23 +08:00
Jordan Liggitt
27cd2be49f
Update quota status with limits even when calculating errors
2019-03-26 23:15:40 -04:00
Jordan Liggitt
739df5452a
Avoid deadlock in resource quota resync
2019-03-26 23:15:40 -04:00
Jordan Liggitt
e5f7af7058
Improve quota sync log messages
2019-03-26 23:15:40 -04:00
Jordan Liggitt
8146fe47d8
Clean up test output
2019-03-26 23:15:39 -04:00
Jordan Liggitt
713a10d276
Fix race in quota sync test
2019-03-26 23:15:39 -04:00
danielqsj
6b2e9e8af3
add completed job status in cronjob event
2019-03-27 09:48:55 +08:00
Kubernetes Prow Robot
2086f81546
Merge pull request #74678 from pmcalpine/lint-bs_cj
...
Fix some golint failures for pkg/controller
2019-03-26 15:10:16 -07:00
Kubernetes Prow Robot
531dbd409f
Merge pull request #75445 from shinytang6/enhance/fmt
...
Replace all time.Now().Sub with time.Since
2019-03-26 13:55:17 -07:00
Kubernetes Prow Robot
11d472ea01
Merge pull request #72179 from WanLinghao/sa_controller
...
Migrate the controller to use TokenRequest and rotate token periodically
2019-03-26 12:33:19 -07:00
Kubernetes Prow Robot
68f839662d
Merge pull request #74042 from tedyu/master
...
Reduce unnecessary Map in node_controller#nodeAddressesChangeDetected
2019-03-25 13:24:24 -07:00
WanLinghao
244b244f9d
Migrate the controller to use TokenRequest and rotate token periodically
2019-03-25 14:54:22 +08:00
Kubernetes Prow Robot
29e74dc58c
Merge pull request #75021 from cwdsuzhou/protectionutil
...
Move protection common funcs to protectionutil
2019-03-22 22:15:07 -07:00
ialidzhikov
c3b2fb0d11
Clean ineffectual assignments
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-03-23 00:27:07 +02:00
Jon Sabo
445d711611
Remove resync period
2019-03-22 16:40:40 -05:00
Kubernetes Prow Robot
8ef336c05a
Merge pull request #74568 from hex108/pv
...
Remove redundant checker whether pod has claims in func FindPodVolumes
2019-03-21 22:50:31 -07:00
Kubernetes Prow Robot
4499275cb9
Merge pull request #72800 from stewart-yu/stewart-component-base
...
Move config local to every controller in KCM
2019-03-21 19:26:19 -07:00
shinytang6
5c9f4d9dc6
replace time.Now().Sub with time.Since
2019-03-21 18:02:55 +08:00
Kubernetes Prow Robot
bdc013ad57
Merge pull request #75276 from WanLinghao/node_lifecycle_clean
...
unused function clean
2019-03-20 05:25:35 -07:00
Kubernetes Prow Robot
fcf21a2168
Merge pull request #74885 from cwdsuzhou/fix_log_style
...
Change log: avoid to print raw json response too frequently
2019-03-19 21:26:36 -07:00
Kubernetes Prow Robot
046dcbd1ed
Merge pull request #73917 from droslean/cleanup
...
replace loops with go idiomatic.
2019-03-19 19:01:04 -07:00
Peter McAlpine
ac88e13821
Fix lint warnings in pkg/controller/cronjob.
2019-03-19 14:36:26 -04:00
Peter McAlpine
6518c0b696
Rename: cronjob_controller[_test].go -> controller[_test].go
...
This change renames these source files to reduce stuttering when reading
the path.
2019-03-19 14:36:26 -04:00
Peter McAlpine
4cfcf0519d
Fix lint warnings in pkg/controller/bootstrap
2019-03-19 14:36:26 -04:00
caiweidong
eb8dd093fe
add UT
2019-03-19 20:36:38 +08:00
caiweidong
e9c13409a8
Move protection common func to protectionutil
2019-03-17 22:24:42 +08:00
caiweidong
5fa000e5ed
Change log: avoid to print raw json response too frequently
2019-03-13 13:07:01 +08:00
caiweidong
751007c17d
Do not replace labels of pvc with those of StastefulSet
2019-03-12 11:13:57 +08:00
WanLinghao
686b526de4
remove unused functions in pkg/controller/nodelifecycle/node_lifecycle_controller.go
2019-03-12 11:01:47 +08:00
Kubernetes Prow Robot
9103186489
Merge pull request #74442 from yujuhong/reconcile-node-labels
...
nodelifecycle controller: reconcile node OS/arch labels
2019-03-07 21:19:57 -08:00
David Zhu
41b3579345
Address review comments
2019-03-07 17:17:09 -08:00
David Zhu
7d2f4e97b8
Add ADC Fallback if Node doesn't have driver installed
2019-03-07 14:47:38 -08:00
Yu-Ju Hong
bd2301a628
nodelifecycle controller: reconcile node OS/arch labels
2019-03-06 17:26:23 -08:00
Kubernetes Prow Robot
bcbbb98f78
Merge pull request #70265 from jingyih/use_chunking_when_list_in_cronjob_controller
...
Retrieve list in chunks in cronjob controller
2019-03-06 04:45:59 -08:00
Kubernetes Prow Robot
d31427637b
Merge pull request #74926 from ddebroy/csiprov2
...
Add new CSI translation APIs required by CSI sidecars and unit tests
2019-03-05 14:54:21 -08:00
Kubernetes Prow Robot
dccb8ab5b0
Merge pull request #74615 from andrewsykim/delete-pvl-controller
...
Delete the out-of-tree PV labeler controller
2019-03-05 08:16:03 -08:00
Xing Yang
6265f4f78c
CSINodeInfo/CSIDriver controller changes
...
This is the 2nd PR to move CSINodeInfo/CSIDriver APIs to
v1beta1 core storage APIs. It includes controller side changes.
It depends on the PR with API changes:
https://github.com/kubernetes/kubernetes/pull/73883
2019-03-04 16:41:58 -08:00
Deep Debroy
1da91ad39a
Add GetIntreeNameFromCSIName and SupersedesInTreePlugin APIs and unit tests
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-03-04 16:36:45 -08:00
stewart-yu
ecbd5427e7
auto-generated file
2019-03-02 12:55:26 +08:00
stewart-yu
fc54de589f
fix all the reference about the API packages change
2019-03-02 12:54:33 +08:00
stewart-yu
e01ff1641c
move config local to every controllers in kube-controller-manager
2019-03-02 12:54:33 +08:00
Lubomir I. Ivanov
e29c6e1b38
go-1.12: fix 'go vet' failures
2019-03-01 18:48:17 +02:00
Kubernetes Prow Robot
36787041cb
Merge pull request #73653 from ddebroy/migprov1
...
Support dynamic provisioning for CSI migration scenarios
2019-02-28 01:52:55 -08:00
Kubernetes Prow Robot
84dce4d119
Merge pull request #74393 from codenrhoden/refactor-subpath
...
Refactor subpath out of pkg/util/mount
2019-02-27 15:54:36 -08:00
Kubernetes Prow Robot
bf2c9ccec7
Merge pull request #74122 from draveness/feature/refactor-filter-active-pods
...
refactor: use FilterActivePods instead in replicaset controller
2019-02-27 15:54:25 -08:00
Draven
df190a0197
fix: typo in stateful_set_control
2019-02-27 18:16:50 +08:00
Travis Rhoden
2c4d748bed
Refactor subpath out of pkg/util/mount
...
This patch moves subpath functionality out of pkg/util/mount and into a
new package pkg/volume/util/subpath. NSEnter funtionality is maintained.
2019-02-26 19:59:53 -07:00
Kubernetes Prow Robot
be8a9b9637
Merge pull request #74422 from liggitt/client-version-methods
...
Remove deprecated versionless client interface methods
2019-02-26 12:44:24 -08:00
Andrew Kim
2901def8c3
delete the persistentvolume labeler controller
2019-02-26 14:23:20 -05:00
Daniel (Shijun) Qian
d648ba856b
Move pkg/api/v1/node to pkg/util/node ( #73656 )
...
* merge pkg/api/v1/node with pkg/util/node
* update test case for utilnode
* remove package pkg/api/v1/node
* move isNodeReady to internal func
* Split GetNodeCondition into e2e and controller pkg
* fix import errors
2019-02-26 11:05:32 -08:00
Deep Debroy
23478f104f
PV Controller changes to support provisioning in CSI Migration scenarios
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-02-26 08:39:54 -08:00
Jordan Liggitt
d1e865ee34
Update client callers to use explicit versions
2019-02-26 08:36:30 -05:00
Jun Gong
a916f1b28c
Remove redundant checker whether pod has claims in func FindPodVolumes
2019-02-26 13:06:52 +08:00
Kubernetes Prow Robot
d6de0454e9
Merge pull request #73968 from freehan/big-endpoint-event
...
record event on endpoint update failure
2019-02-22 16:15:20 -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
9b87046cb2
Merge pull request #74126 from danielqsj/cu
...
correct error string according to golang best practice
2019-02-21 09:21:50 -08:00
Kubernetes Prow Robot
3baab4dc35
Merge pull request #73284 from leakingtapan/kubelet-migration-aws-2
...
Add In-tree to CSI migration logic for Mount and Unmount
2019-02-20 16:40:02 -08:00
Kubernetes Prow Robot
dc634b3fd3
Merge pull request #70934 from mikeweiwei/my_fix3
...
Fix typos
2019-02-20 12:53:52 -08:00
Matt Matejczyk
bf25f7160b
Clear EndpointsLastChangeTriggerTime on no-change.
...
We should clean the EndpointsLastChangeTriggerTime annotation when there
is no new trigger time to be exported. Not clearing it may result in
kube-proxy exporting the wrong Network Programming Latency SLI.
2019-02-20 11:53:40 +01:00
Kubernetes Prow Robot
cbcc2b26fe
Merge pull request #72904 from ping035627/k8s-190115
...
Correct the count of evictionsNumber
2019-02-18 18:40:09 -08:00
Cheng Pan
6355186c3e
Add In-tree to CSI migration logic for Mount and Unmount
2019-02-18 04:55:31 +00:00
danielqsj
6edde10fcd
correct error string according to golang best practice
2019-02-15 18:12:00 +08:00
draveness
590bf5530d
refactor: use FilterActivePods instead in replicaset controller
2019-02-15 17:44:56 +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
Kubernetes Prow Robot
60943a7a08
Merge pull request #69830 from davidz627/feature/csiTranslationMigration
...
In-Tree to CSI Migration logic for PersistentVolume Attach/Detach
2019-02-14 22:43:05 -08:00
David Zhu
5dde1df1cd
Migration shim logic for Persistent Volumes for Attach/Detach
2019-02-14 17:04:23 -08:00
Ted Yu
4031900c0c
fix variable name
2019-02-13 19:46:18 -08:00
Kubernetes Prow Robot
d457fb7771
Merge pull request #73869 from grayluck/no-cluster-cidr-validation
...
Skip validation for clusterCIDR in node ipam controller.
2019-02-13 17:31:44 -08:00
danielqsj
23be9587a0
fix the disruption-recheck metrics register error
2019-02-14 09:15:44 +08:00
Ted Yu
a346460c08
Reduce unnecessary Map in node_controller#nodeAddressesChangeDetected
2019-02-13 16:16:15 -08:00
yankaiz
7379ad5ae2
Skip validation for clusterCIDR in node ipam controller.
...
clusterCIDR is passed down from kube_env CLUSTER_IP_RANGE to the flag --cluster-cidr.
We plan not to let GKE to pass down CLUSTER_IP_RANGE to kube-env for the master node.
2019-02-13 12:13:33 -08:00
Kubernetes Prow Robot
2aedcbc7ca
Merge pull request #73761 from andrewsykim/remove-cloud-provider-volume-deps
...
remove cloud provider dependencies to pkg/volume
2019-02-12 18:45:24 -08:00
Minhan Xia
299fa607c0
record event on endpoint update failure
2019-02-12 13:56:20 -08:00
Dr. Stefan Schimanski
618050e35d
client-go: extend discovery intf with ServerGroupsAndResources
2019-02-12 14:28:19 +01:00
Kubernetes Prow Robot
ee734d0543
Merge pull request #73932 from dims/cleanup-unnecessary-packages-from-import-restrictions
...
Remove unnecessary prefixes from various .import-restrictions files
2019-02-11 16:24:17 -08:00
Davanum Srinivas
1d430a4a73
Remove unnecessary prefixes from various .import-restrictions files
...
Found using script:
https://gist.github.com/dims/384dea60754042f61d79233603034038
Just run using:
`find . -name .import-restrictions | xargs python ~/junk/sanitize-import-boss.py`
The removed entries are either packages that got moved/renamed/deleted
but are still not cleaned up from .import-restrictions files.
Change-Id: I92c400f74e6f012cc75539311ed4de280e25e918
2019-02-11 16:47:28 -05:00
Nikolaos Moraitis
6e820cdcaf
replace loops with go idiomatic.
2019-02-11 11:21:52 +01:00
houjun
a5cde1a463
Check for pvcVolume with IsOperationPending() before markPVCResizeInProgress()
2019-02-11 15:23:17 +08:00
PingWang
1ff8fac138
Correct the count of evictionsNumber
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
check nodeutil.SwapNodeControllerTaint's return
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-02-11 10:15:10 +08:00
Andrew Kim
ca6a051b00
remove cloud provider dependencies to pkg/volume
...
Co-authored-by: Weibin Lin <linweibin1@huawei.com>
2019-02-09 01:16:55 -05:00
Kubernetes Prow Robot
52b3956df4
Merge pull request #67638 from houjun41544/20180821
...
Fix fmt.Errorf messages
2019-02-08 13:13:49 -08:00
Kubernetes Prow Robot
5b7a790d35
Merge pull request #72185 from dcbw/owners-label-sig-network
...
OWNERS: add label:sig/network to a bunch of places
2019-02-08 10:36:16 -08:00
Kubernetes Prow Robot
f0b72df47e
Merge pull request #73789 from vladimirvivien/volume-plugin-can-attach
...
AttachableVolumePlugin CanAttach() method for attachable check
2019-02-08 09:06:17 -08:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
...
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Vladimir Vivien
0a653b3b80
Adds method CanAttach() to check plugin attachability
2019-02-08 08:04:15 -05:00
Kubernetes Prow Robot
eac19a3ab9
Merge pull request #73616 from dims/move-part-of-kubelet-apis-well-known-lables
...
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
2019-02-07 19:44:34 -08:00
Adrián
ca809b1d33
gofmt
2019-02-07 20:26:21 +01:00
Adrián
34099a9274
ControllerRef creation through factory function
2019-02-07 10:44:49 +01:00
Adrián
290101330e
ControllerRef creation through factory function
2019-02-07 09:36:39 +01:00
Kubernetes Prow Robot
bf8dd697b2
Merge pull request #73314 from mm4tt/trigger_time_tracker
...
Introduce the TriggerTimeTracker util in the Endpoints Controller.
2019-02-06 03:12:54 -08:00
Kubernetes Prow Robot
a1539d8e52
Merge pull request #73159 from cofyc/fix72329
...
Better way to share common utilities between PV controller and Volume Binder
2019-02-05 22:36:13 -08:00
Yecheng Fu
8b79fe3ebe
Do not call methods on PersistentVolumeController
2019-02-06 12:04:05 +08:00
Davanum Srinivas
b975573385
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
...
Co-Authored-By: Weibin Lin <linweibin1@huawei.com>
Change-Id: I163b2f2833e6b8767f72e2c815dcacd0f4e504ea
2019-02-05 13:39:07 -05:00
Matt Matejczyk
9e7f7df94e
Introduce the TriggerTimeTracker util.
...
It will be used by the Endpoints Controller to compute and export the EndpointsLastChangeTriggerTime annotation, which in turn will be used to compute the In-Cluster Network Programming Latency SLI.
See https://github.com/kubernetes/community/blob/master/sig-scalability/slos/network_programming_latency.md for more details.
2019-02-05 09:37:31 +01:00
Kubernetes Prow Robot
7447b8709d
Merge pull request #73706 from deads2k/csr-01-expiry-min
...
csr signer has no need to sign certificates for a duration longer than the signer itself
2019-02-04 18:28:24 -08:00
Antoine Pelisse
0e1d50e70f
API Machinery, Kubectl and tests
2019-02-04 13:51:48 -08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
Kubernetes Prow Robot
9d6ebf6c78
Merge pull request #73467 from ashishranjan738/newpackage
...
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
2019-02-04 11:43:14 -08:00
David Eads
179dc4ca43
csr signer has no need to sign certificates for a duration longer than the signer itself
2019-02-04 13:22:17 -05:00
Kubernetes Prow Robot
a4e3a5cb52
Merge pull request #71561 from anjensan/hpa-fix-current-metrics
...
Fix 'currentMetrics' field for HPA with 'AverageValue' target type
2019-02-04 03:34:52 -08:00
Ashish Ranjan
7be223e798
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
...
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2019-02-04 10:34:53 +05:30
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
Kubernetes Prow Robot
aee11a844c
Merge pull request #73596 from liggitt/deprecated-tests
...
Stop using beta apps versions
2019-02-01 16:02:08 -08:00
Jingyi Hu
1bdbc35994
controller: use pagination in cronjob controller
...
Use pagination (chunking) when listing Jobs and CronJobs in cronjob
controller.
2019-02-01 14:02:14 -08:00
Kubernetes Prow Robot
a3f74bd583
Merge pull request #72872 from arjunrn/object-average-value
...
Added functionality for specifying target average value for object me…
2019-02-01 06:31:50 -08:00
Kubernetes Prow Robot
a3c14ecfa5
Merge pull request #73606 from krzysztof-jastrzebski/daemonsets
...
Deleting pods assigned to not existing nodes only if
2019-01-31 23:30:13 -08:00
Kubernetes Prow Robot
aa7220876a
Merge pull request #73550 from andrewsykim/cloud-provider-version
...
use k8s.io/client-go/pkg/version for cloud providers
2019-01-31 11:44:46 -08:00
Krzysztof Jastrzebski
0087af78e2
Deleting pods assigned to not existing nodes only if
...
ScheduleDaemonSetPods is enabled.
2019-01-31 20:34:51 +01:00
Jordan Liggitt
f100a762bc
Stop using apps/v1beta1 in tests
2019-01-31 10:12:38 -05:00
Daniel (Shijun) Qian
e72b32558c
Merge branch 'master' into keymutex
2019-01-31 20:50:57 +08:00
Kubernetes Prow Robot
1f7e9fd9a2
Merge pull request #73488 from andrewsykim/replace-utils-file
...
Replace pkg/util/file with k8s.io/utils/path
2019-01-30 17:50:16 -08:00
Andrew Kim
c01caa6796
use k8s.io/client-go/pkg/version for cloud providers
2019-01-30 18:11:11 -05:00
Kubernetes Prow Robot
f78770565c
Merge pull request #73401 from krzysztof-jastrzebski/daemonsets
...
Delete pods assigned to not existing nodes.
2019-01-30 07:30:05 -08:00
danielqsj
657a1a1a34
change import alias of utils/strings
2019-01-30 10:44:09 +08:00
danielqsj
093328e57f
migrate to k8s.io/utils/strings
2019-01-30 10:24:00 +08:00
Andrew Kim
84191eb99b
replace pkg/util/file with k8s.io/utils/path
2019-01-29 15:20:13 -05:00
Kubernetes Prow Robot
2e90d92db9
Merge pull request #73357 from tedyu/master
...
Use read lock for scheduler_binder_cache GetDecisions
2019-01-29 01:21:24 -08:00
Kubernetes Prow Robot
bbfc3be51b
Merge pull request #73096 from yuwenma/golint1
...
fix golint failure for pkg/controller/deployment/util
2019-01-28 21:52:15 -08:00
Kubernetes Prow Robot
3c34d28fe0
Merge pull request #72818 from humblec/md-2
...
Remove explicit nil initialization and correct error string.
2019-01-28 21:52:03 -08:00
Yuwen Ma
14a1e27ddd
fix golint failure for pkg/controller/deployment/util
2019-01-28 11:00:40 -08:00
Krzysztof Jastrzebski
7186d3ba8b
Delete pods assigned to not existing nodes.
2019-01-28 14:38:09 +01:00
Ted Yu
c8f1826185
Use read lock for scheduler_binder_cache GetDecisions
2019-01-26 13:06:23 -08:00
maohongbin01
cbfe654a30
remove unused const in node-controller.go
2019-01-26 23:05:47 +08:00
Joshua Horwitz
9b3ab29cc9
Only attempt to register cloud nodes on update with the cloud taint
2019-01-25 14:48:29 -05:00
Kubernetes Prow Robot
2cbb16bc8d
Merge pull request #73243 from andrewsykim/update-utils-vendor
...
Update vendor k8s.io/utils and remove internal utils
2019-01-24 16:30:14 -08:00
Kubernetes Prow Robot
7da6b42122
Merge pull request #72786 from caesarxuchao/72364-minor-followup
...
followup of #72364 , slightly improve the comment
2019-01-24 16:29:40 -08:00
Kubernetes Prow Robot
e28c757e87
Merge pull request #72972 from liggitt/remove-alpha-initializers
...
Remove use of alpha initializers
2019-01-24 14:54:52 -08:00
Andrew Kim
0bc5508aca
replace client-go/util/integer with k8s.io/utils/integer
2019-01-24 15:34:21 -05:00
Andrew Kim
2ea82cea20
replace pkg/util/nsenter with k8s.io/utils/nsenter
2019-01-24 13:49:04 -05:00
Andrew Kim
123590d911
replace pkg/util/io with k8s.io/utils/io
2019-01-24 13:49:04 -05:00
Chao Xu
e2812ce312
Slightly modify the comment in the test
2019-01-24 10:42:30 -08:00
Kubernetes Prow Robot
4cd759dbe0
Merge pull request #73001 from shivnagarajan/remove_deprecated_taints
...
remove remaining deprecated taints from 1.9
2019-01-24 05:18:57 -08:00
Jordan Liggitt
7d398058f1
remove Initializer use from pv label controller
2019-01-23 16:34:44 -05:00
Jordan Liggitt
17aa60686e
Deprecate and remove use of alpha metadata.initializers field, remove IncludeUninitialized options
2019-01-23 16:34:43 -05:00
Arjun Naik
c99d505001
Added functionality to use target average value for object metrics
...
Signed-off-by: Arjun Naik <arjun.rn@gmail.com>
2019-01-23 21:00:05 +01:00
Jordan Liggitt
dc1fa870bf
Remove alpha InitializerConfiguration types, Initializers admission plugin
2019-01-23 11:37:39 -05:00
Humble Devassy Chirammal
2651c72166
This patch consists of various corrections. ( #73060 )
...
* This patch consists of various corrections.
*) Remove unwanted `else` code block
*) Adjust variable intialization.
*) Correct error strings.
*) Use recommended variable increment method.
Signed-off-by: hchiramm <hchiramm@redhat.com>
* Remove cluster/images/cluster-version-monitor from hack/.golint_failures.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-22 12:28:59 -08:00
Kubernetes Prow Robot
0b62ad23c2
Merge pull request #72959 from cofyc/fix72954
...
Fix flaky test TestBindAPIUpdate
2019-01-22 11:12:59 -08:00
Kubernetes Prow Robot
54c4428eb4
Merge pull request #71276 from jingxu97/Oct/uncertain
...
Handle failed attach operation leave uncertain volume attach state
2019-01-17 22:52:57 -08:00
Humble Chirammal
9e638676e9
Remove explicit nil initialization and correct error string.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-18 09:29:25 +05:30
David Zhu
d8c9dc5bb5
Add IsMigratableToCSI to volume plugin interface
2019-01-17 14:43:52 -08:00
Kubernetes Prow Robot
c13f9f7272
Merge pull request #72816 from humblec/md-1
...
Remove unwanted else block from code.
2019-01-17 11:20:55 -08:00
Yecheng Fu
f406c6bde7
Fix flaky test TestBindAPIUpdate
2019-01-17 11:25:18 +08:00