Tim Allclair
26e3c8674e
Use consistent imageRef during container startup
2019-04-10 12:06:42 -07:00
GRECO, FRANK
3dfeb51745
begin adding unit tests for ensureLoadBalancer
2019-04-10 10:04:25 -07:00
caiweidong
4c12c76a90
clean up unused code
2019-04-10 19:12:40 +08:00
WanLinghao
7fbd71835e
'kubectl auth can-i` command would not hint user when they try to access
...
some resource out of scope. For example, try get namespace inside defaut namespace.
It would be reject by api-server but `kubectl auth can-i get namespace --namespace=default`
would give a `yes`. After this patch, a warning info would be given.
For more detail, please refer issue #75950
2019-04-10 13:12:45 +08:00
Kubernetes Prow Robot
a2c200a57a
Merge pull request #76326 from andyzhangx/azuredisk-typo
...
fix typo in azure disk logging
2019-04-09 19:58:12 -07:00
Kubernetes Prow Robot
8a9ed4c91a
Merge pull request #76243 from Huang-Wei/perf-podaffinity
...
scheduler: performance improvement on PodAffinity
2019-04-09 18:36:12 -07:00
Kubernetes Prow Robot
98104e44f3
Merge pull request #76020 from qingsenLi/k8s190402-fix-healty
...
fix typo healty
2019-04-09 15:18:45 -07:00
Ted Yu
cd3a30047f
Return from loop in removeZone when zone is found
2019-04-09 14:42:44 -07:00
Kubernetes Prow Robot
552d1ebd70
Merge pull request #76237 from mkumatag/fix_storage_test
...
Fix the TestUpdate
2019-04-09 13:58:59 -07:00
Kubernetes Prow Robot
e2091b769a
Merge pull request #71136 from yue9944882/chore/prune-all-kk-internal-clientset
...
Prune literally all kube-apiserver internal client
2019-04-09 13:58:45 -07:00
Harsh Desai
17dd5989df
Fix concurrent map access in Portworx create volume call
...
Fixes #76340
Signed-off-by: Harsh Desai <harsh@portworx.com>
2019-04-09 12:13:19 -07:00
Kubernetes Prow Robot
454666bca8
Merge pull request #76184 from humblec/pvc
...
Use pvc uid in endpoint/service label
2019-04-09 11:21:14 -07:00
Kubernetes Prow Robot
fdeedf4431
Merge pull request #75911 from marsno1/fix-forloop-in-preemption
...
Improve for-loop in nodesWherePreemptionMightHelp function
2019-04-09 11:21:01 -07:00
Kubernetes Prow Robot
c2acec5c77
Merge pull request #71679 from RobertKrawitz/logspam-cleanup
...
Clean up PR #71617
2019-04-09 11:20:48 -07:00
Jordan Liggitt
e377e9fed9
Fix up cronjob and job registry tests to not use testapi
2019-04-09 13:30:34 -04:00
Jordan Liggitt
56f3f6eec7
Use kubeapiserver storage config for registry tests
2019-04-09 13:26:05 -04:00
Kubernetes Prow Robot
c62cd6e3a4
Merge pull request #76047 from codenrhoden/mv-nsenter-mount
...
Move nsenter mounter to pkg/volume/util/nsenter
2019-04-09 09:55:59 -07:00
Manjunath A Kumatagi
6aa06adcfe
Remove storageapi api check
2019-04-09 11:05:38 -04:00
yue9944882
8f601d3413
prune internal client references from test/*
2019-04-09 21:43:55 +08:00
yue9944882
65ba58a9a5
remove internal client dependency in pkg/*
2019-04-09 21:43:51 +08:00
andyzhangx
8d1578370a
fix typo in azure disk logging
2019-04-09 09:01:52 +00: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
madianjun
d84a8c563e
Improve for-loop in nodesWherePreemptionMightHelp function
2019-04-09 15:24:50 +08: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
b8b7ab39ec
Merge pull request #76272 from liggitt/cleanup-legacy-printers
...
Remove legacy table printing and decoding
2019-04-08 22:31:17 -07:00
Kubernetes Prow Robot
db1ab237bf
Merge pull request #76252 from goodluckbot/pod-backoff-rwmutex
...
Change Mutex to RWMutex for pod backoff
2019-04-08 22:31:04 -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
Wei Huang
54218a7988
scheduler: add unit test for pending pods metrics
2019-04-08 17:51:08 -07:00
Wei Huang
0806ef2c11
scheduler: refactor testing structures for better reusability
2019-04-08 17:51:08 -07:00
Wei Huang
7afbd68730
add metrics to record number of pending pods in different queues
2019-04-08 17:51:07 -07:00
Kubernetes Prow Robot
4a1da48d11
Merge pull request #76288 from tedyu/master
...
Produce map according to the shorter array in haveOverlap
2019-04-08 17:27:52 -07:00
Kubernetes Prow Robot
3409a5362a
Merge pull request #76062 from apelisse/rollout-restart
...
Create `kubectl rollout restart deployment/$deployment` to do a rolling restart
2019-04-08 14:40:44 -07:00
Vladimir Vivien
cfafde983b
Volume AttachablePlugin.CanAttach() now returns both bool and error
2019-04-08 16:53:22 -04:00
Ted Yu
02e0f9c5fd
Produce map according to the shorter array in haveOverlap
2019-04-08 13:22:30 -07:00
Kubernetes Prow Robot
62f5fd4c6c
Merge pull request #75528 from danielvmw/topic/compute-pod-phase
...
Remove unused variables from computePodPhase
2019-04-08 13:15:49 -07:00
Jordan Liggitt
bba9f5e673
Fixup gonum.org/v1/gonum/graph API calls
2019-04-08 15:20:46 -04:00
Dan Williams
63c01133f8
proxy/userspace: add dcbw and danwinship to OWNERS approvers
...
Per recommendation of @thockin:
https://github.com/kubernetes/kubernetes/pull/71735#pullrequestreview-189515580
---
IMO this code is as dead as it could be. The only significant user is OpenShift as far as I know. I'd rather never touch it again, but I know that is not realistic.
Also, it seems like maybe this could be broken into a couple commits for easier review?
I raised some questions about this design, but I think you should add yourselves as approvers in OWNERS for this subdir. If it evolves, I will lose context on the impl. I don't think it is covered by e2e, either (more argument for breaking it to a separate repo and having its own e2e tests)
---
2019-04-08 12:38:22 -05:00
Kubernetes Prow Robot
eb65eacfca
Merge pull request #74855 from mbohlool/sam
...
Add Port configuration to ServiceReference of Admission webhooks, CRD Conversion Webhooks, AuditSink Webhooks and kube-aggregator
2019-04-08 10:16:26 -07:00
Travis Rhoden
2253807760
Fix pkg/volume/util/nsenter linting errors
2019-04-08 10:43:54 -06:00
Jordan Liggitt
c758f0af0a
Remove legacy table printing and decoding
2019-04-08 12:31:38 -04:00
Daniel Mueller
9050c510e6
Remove unused variables from computePodPhase
...
The initialized and failed variables in the computePodPhase function are
effectively write only. Remove them.
2019-04-08 09:09:09 -07:00
Kubernetes Prow Robot
c082ace102
Merge pull request #76161 from liggitt/kubectl-watch-table
...
use server-side printing in `kubectl get -w`
2019-04-08 08:58:48 -07: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
Travis Rhoden
1c045a09db
Move nsenter mounter to pkg/volume/util/nsenter
...
As part of moving pkg/util/mount out of tree, the NSEnter implementation
of mount.Interface needs to be relocated out of pkg/util/mount, as it is
K8s specific. This patch relocates that mounter implementation to
pkg/volume/util/nsenter.
Since the NSEnter mounter shares a lot of its logic with the Linux
mounter implementation, many of the previously private methods of the
Linux mounter are now made public to maintain that shared code.
Additionaly, it was observed that *all* mount.Interface implemenations
were using the same common method for IsNotMountPoint, so this patch
removes that method from the mount.Interface definition and just exports
the common implementation instead.
2019-04-08 09:53:46 -06:00
Robert Krawitz
022f7c2cd7
Clean up PR #71617
2019-04-08 10:34:40 -04: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
yue9944882
9be22b7329
recursively deletes internal clients
2019-04-08 17:46:53 +08:00
Ted Yu
22d19be4ca
Use RWMutex for accessing plugins
2019-04-08 01:03:20 -07:00
goodluckbot
b92b0eb7c2
Change Mutex to RWMutex for pod backoff
2019-04-08 15:31:48 +08:00
Mehdy Bohlool
c1076ba05a
Fix API documentation, 'Port' to 'port'
2019-04-08 00:29:04 -07:00
Mehdy Bohlool
864cf3e33a
Generated files
2019-04-08 00:29:04 -07:00
Mehdy Bohlool
11f37d757f
Add port to ServiceResolvers
2019-04-08 00:19:52 -07:00
Mehdy Bohlool
404e2f7a30
Add port to ServiceReference of Admission Webhooks, ConversionWebhooks and AuditSync with defaulter and validator
2019-04-08 00:18:36 -07:00
jingxueli
dfa3353390
fix pdb update too many when nothing change
2019-04-08 11:27:42 +08:00
Wei Huang
8f87f580e5
scheduler: tweak scheduler factory mutex
2019-04-07 16:35:06 -07:00
Wei Huang
28730919a6
scheduler: performance improvement on PodAffinity
...
- replace unnecessary Lock/Unlock with atomic AddInt64
2019-04-07 14:34:22 -07:00
Manjunath A Kumatagi
485605e133
Fix the TestUpdate
2019-04-07 13:45:45 +05:30
Antoine Pelisse
1bf99e2e4e
Create `kubectl rollout restart deployment/$deployment` to do a rolling restart
2019-04-06 21:14:40 -07:00
Ted Yu
4b4c20be7c
Use read lock for PendingPods
2019-04-06 13:48:51 -07:00
Kubernetes Prow Robot
9c2df998af
Merge pull request #75820 from YoubingLi/bugfix
...
Fixes #75706 - Show warning message when namespace is specified for deleting a cluster-scoped resource
2019-04-06 11:00:27 -07:00
Kubernetes Prow Robot
150a501750
Merge pull request #73557 from bsalamat/use_priority_ga
...
Update usages of PriorityClass to V1
2019-04-06 09:36:27 -07:00
Kubernetes Prow Robot
1ff857e126
Merge pull request #76216 from frankgreco/ensureLoadBalancer-aws-bug
...
ensuring that logic is checking for differences in listener
2019-04-05 18:06:53 -07:00
Kubernetes Prow Robot
52ec2a0009
Merge pull request #75497 from goodluckbot/remove-backoff-util
...
Integrate backoff mechanism into the scheduling queue and remove the …
2019-04-05 18:06:41 -07: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
eaa506c0b4
Merge pull request #75516 from seans3/interrupt-fix
...
kubectl: Removes dependency on util/interrupt by copying this code into kubectl
2019-04-05 16:46:29 -07:00
Bobby (Babak) Salamat
d6c2a17d88
Update storage version hash data for PriorityClass
2019-04-05 15:30:33 -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
Bobby (Babak) Salamat
16a7cbd320
generated files
2019-04-05 14:30:52 -07:00
Dan Williams
cc2b31a2f3
proxy/userspace: consolidate portal and proxy cleanup
2019-04-05 16:28:24 -05:00
Dan Williams
8cf0076e23
proxy/userspace: respect minSyncInterval and simplify locking
...
The userspace proxy does not have any ratelimiting and when many
services are used will hammer iptables every time a service or
endpoint change occurs. Instead build up a map of changed
services and process all those changes at once instead of each
time an event comes in. This also ensures that no long-running
processing happens in the same call chain as the OnService*
calls as this blocks other handlers attached to the proxy's
parent ServiceConfig object for long periods of time.
Locking can also now be simplified as the only accesses to the
proxy's serviceMap happen from syncProxyRules(). So instead of
locking in many functions just lock once in syncProxyRules()
like the other proxies do.
https://bugzilla.redhat.com/show_bug.cgi?id=1590589
https://bugzilla.redhat.com/show_bug.cgi?id=1689690
2019-04-05 16:28:17 -05:00
Bobby (Babak) Salamat
8574e3e3f4
Use Scheduling V1 API instead of Scheduling v1beta1
2019-04-05 14:21:45 -07:00
GRECO, FRANK
ce9c4bf905
ensuring that logic is checking for differences in listener
2019-04-05 14:18:10 -07:00
Dan Williams
cf7225f561
proxy/userspace: replace IsServiceIPSet() with ShouldSkipService()
...
Keeps things consistent with iptables/IPVS proxies. Proxies don't
handle ServiceTypeExternalName even if the ClusterIP is set.
2019-04-05 16:16:36 -05:00
Dan Williams
04b943ce38
proxy/userspace: track initial service/endpoints sync
...
We'll use this shortly to prevent premature syncing before all
initial endpoints and services have been received from the
apiserver.
2019-04-05 16:16:36 -05:00
Dan Williams
ddab79a233
proxy/userspace: add proxy shutdown function and use in testcases
...
If a testcase does time out and 'go test' prints the call stack,
make sure everything from previous tests is cleaned up so the call
stack is easier to understand.
2019-04-05 16:16:36 -05:00
Dan Williams
4b07f80d20
proxy: consolidate ServicesHandler/EndpointsHandler into ProxyProvider
...
Proxies should be able to cleanly figure out when endpoints have been synced,
so make all ProxyProviders also implement EndpointsHandler and pass those
through to loadbalancers when required.
2019-04-05 16:16:35 -05:00
Xing Yang
000ab86788
Move CSIDriver Lister to the controller
2019-04-05 12:20:11 -07:00
Kubernetes Prow Robot
4e8dd70234
Merge pull request #76171 from thockin/kube-proxy-iptables-restore-log
...
Add better logging when iptables-restore fails
2019-04-05 10:21:32 -07:00
goodluckbot
151649df4c
Integrate backoff mechanism into the scheduling queue and remove the Backoff util
2019-04-06 00:15:00 +08:00
Humble Chirammal
6eae6bbac5
Use pvc uid in endpoint/service label
...
If the pvc name is more than 63 chars, the endpoint creation
will fail due to the validation of objectmeta length of fields ie 63 chars at max.
This patch introduce an enhancement where if the pvc name is >=63 the pvc uid
is recorded at label instead of name. To preserve backward compatibility, the pvcname
has been kept in endpoint metadata label if length of pvc name is <63chars.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-04-05 20:30:57 +05:30
Kubernetes Prow Robot
223f355ba4
Merge pull request #76162 from nikhita/bump-gengo
...
Bump gengo to avoid large errors in verify logs
2019-04-05 07:43:32 -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
a727bddc5e
Merge pull request #75523 from freehan/bug-fix
...
reconcile pod ready condition when message is not expected
2019-04-04 23:53:19 -07:00
Kubernetes Prow Robot
e9ca60bf0d
Merge pull request #76142 from soltysh/fix_createdisk
...
Fix TestCreateDisk by sorting tags
2019-04-04 22:32:06 -07:00
Jordan Liggitt
53e55d314a
Make sorting printer sort tables in place
2019-04-05 01:20:06 -04:00
Jordan Liggitt
7013827309
Stop special-casing tables in kubectl get to print 'No resources found'
2019-04-05 01:20:01 -04:00
Jordan Liggitt
1c3adedf1c
Request and handle server-side printing when watching with kubectl
2019-04-05 01:20:01 -04:00
Jordan Liggitt
34e9d80b87
Refactor kubectl table printing for watch
...
Warn if sorting and watching are requested together
2019-04-05 01:19:57 -04:00
Jordan Liggitt
135d2f197a
Add unit test for sort-by table output
2019-04-05 01:19:57 -04:00
Jordan Liggitt
a347826b4f
Add unit test for empty table results
2019-04-05 01:19:57 -04:00
Jordan Liggitt
959c56d325
Install meta.k8s.io/v1beta1 types into kubectl scheme
2019-04-05 01:19:57 -04:00
Kubernetes Prow Robot
28295b0e78
Merge pull request #76098 from smarterclayton/move_direct_encoder
...
Move DirectEncoder to runtime, rename, add .WithoutConversion() on CodecFactory
2019-04-04 21:07:55 -07:00
Kubernetes Prow Robot
f25fa0e9e1
Merge pull request #75750 from msau42/metrics
...
Improve volume operation metrics
2019-04-04 17:47:43 -07: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
dc1ff116dc
Merge pull request #74220 from tedyu/master
...
Aggregate errors for kube runtime GC
2019-04-04 17:47:19 -07:00
Tim Hockin
f8a7936894
Add better logging when iptables-restore fails
2019-04-04 16:34:10 -07:00
Nikhita Raghunath
8a6449d16f
Update deepcopy files with fixed distinction between 1st and 2nd comment block
...
Ref: https://github.com/kubernetes/kubernetes/pull/71027
2019-04-05 01:03:12 +05:30
Maciej Szulik
019d16d8b7
Fix TestCreateDisk by sorting tags
...
Mock requires stable input, and in CreateDisk we invoke buildTags which uses
a map to create tags, which then get converted into an array. This leads to
unstable sorting order which confuses mock. Sorted tags are not needed in
regular code, but are a must in tests.
2019-04-04 17:32:06 +02:00
Kubernetes Prow Robot
4da579b68a
Merge pull request #71049 from booxter/expose-tracker-for-fake-simpleclientset
...
Expose object tracker for fake clientsets
2019-04-04 08:02:54 -07:00
danielqsj
6d041abba7
remove metrics prober_probe_result
2019-04-04 17:03:11 +08: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
Kubernetes Prow Robot
4e728efbd6
Merge pull request #76087 from sttts/sttts-fail-feature-gate-errors
...
Handle feature gate errors
2019-04-03 21:07:24 -07:00
Kubernetes Prow Robot
550ccda7e0
Merge pull request #76072 from ping035627/k8s-190403
...
Delete unused struct
2019-04-03 21:07:12 -07:00
Clayton Coleman
7f9dfe58f4
Use CodecFactory.WithoutConversion() everywhere
...
Clarifies that requesting no conversion is part of the codec factory, and
future refactors will make the codec factory less opionated about conversion.
2019-04-03 22:19:13 -04:00
Kubernetes Prow Robot
d5b56f4ffc
Merge pull request #75988 from mcrute/add-mcrute-cloudprovider
...
Add mcrute to cloudprovider related owners files
2019-04-03 14:55:13 -07:00
Zihong Zheng
3e52ea8081
Rename createLoadBalancerIfNeeded() to syncLoadBalancerIfNeeded() to reduce confusion
2019-04-03 14:27:04 -07:00
Michelle Au
33bf81f22a
Improve volume operation metrics
2019-04-03 11:59:21 -07:00
Ihar Hrachyshka
d68cd8a0c7
Expose object tracker for fake clientsets
...
Not every object kind can be registered via tracker .Add() called as
part of SimpleClientset initialization. This is because .Add() relies
on UnsafeGuessKindToResource to convert object kinds into resource
type names, which is broken for some resources. An example of an
affected kind is NetworkAttachmentDefinitions CRD that uses
network-attachment-definitions as its resource type name. When
UnsafeGuessKindToResource is called for this kind, it returns
networkattachmentdefinitions (without dashes).
As per the comment inside .Add, kinds affected by
UnsafeGuessKindToResource deficiencies should instead register objects
using tracker .Create() method. Problem is, current SimpleClientset
struct definition doesn't expose the object tracker in any way, which
makes it impossible to properly register these kinds at all.
To address the issue, this change modifies the definition of
SimpleClientset struct to expose the object tracker used via Tracker()
method.
2019-04-03 11:44:05 -07:00
Kubernetes Prow Robot
66329fcea9
Merge pull request #76049 from codenrhoden/mount-no-k8s-deps
...
Remove apimachinery dep from mount library
2019-04-03 11:15:02 -07:00
Dr. Stefan Schimanski
37046e3028
Handle feature gate errors
2019-04-03 16:52:05 +02:00
danielqsj
295d672d54
change kubelet probe metrics to counter type
2019-04-03 17:44:17 +08:00
PingWang
b43a9d6ad1
Delete unused struct
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-04-03 17:43:42 +08: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
Kubernetes Prow Robot
42877480ad
Merge pull request #75747 from msau42/remove-alpha-crd
...
Remove alpha csi CRD
2019-04-02 22:47:41 -07:00
Krzysztof Jastrzebski
9c142cf47b
Delete only unscheduled pods if node doesn't exist anymore.
2019-04-03 00:24:26 +02:00
Travis Rhoden
6e5bf40dd2
Remove apimachinery dep from mount library
...
As part of wanting to move the mount library into staging and then
k8s.io/utils, there can be no dependencies on k/k code, and that
includes k/apimachinery.
This patch makes a small implementation change to no longer need
k8s.io/apimachinery/pkg/util/sets
2019-04-02 13:49:46 -06:00
qingsenLi
4db2227629
fix typo healty
2019-04-03 03:29:22 +08:00
Kubernetes Prow Robot
d99f49d2a7
Merge pull request #76021 from soltysh/fix_create_docs
...
Fix create secret generic paths examples
2019-04-02 11:49:55 -07:00
Kubernetes Prow Robot
1495fb73d7
Merge pull request #75932 from humblec/validation
...
Use better variable names in validation.go
2019-04-02 11:49:44 -07:00
Kubernetes Prow Robot
c23115dff9
Merge pull request #75903 from juanvallejo/jvallejo/allow-non-fatal-errors-when-fetching-pod-logs
...
allow for non-fatal errors when requesting and following multiple log streams
2019-04-02 11:49:32 -07:00
Michelle Au
d2aa8178f2
Remove alpha CRD install
2019-04-02 10:59:11 -07:00
Kubernetes Prow Robot
aa52140928
Merge pull request #75346 from seans3/version-fix
...
kubectl: removes pkg/version dependency
2019-04-02 10:19:18 -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
Maciej Szulik
0341fa248a
Fix create secret generic paths examples
2019-04-02 13:31:29 +02: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
Kubernetes Prow Robot
2fa5be1633
Merge pull request #75580 from suker200/azure_routetable_rg
...
Add azure_route support routeTableResourceGroup
2019-04-02 01:36:59 -07:00
Kubernetes Prow Robot
7d15d41eb8
Merge pull request #74159 from dlipovetsky/issue-73249-revise-parsetaint
...
Update v1.Taint parser to accept the form `key:effect` and `key=:effect-`
2019-04-02 01:36:35 -07:00
Kubernetes Prow Robot
90e9f29bad
Merge pull request #71900 from charrywanganthony/remove-unused-parseAcrToken
...
remove unused function
2019-04-02 00:14:35 -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
Youbing Li
c438d7b495
Fixes #75706 - Show warning message when namespace is specified for deleting a cluster-scoped resource
2019-04-02 00:49:40 -04:00
yue9944882
0a60d19ebd
fixes reversed owner relation in error msg
2019-04-02 12:08:53 +08:00
suker200
a343be245d
Add azure_route support routeTableResourceGroup
...
fix error from pull-kubernetes-verify
fix error from pull-kubernetes-verify azure_routes_test.go file
fix error from pull-kubernetes-verify azure_routes_test.go file with gofmt
remove duplicate comment
2019-04-02 10:33:02 +07:00
Mike Crute
85d72950eb
Add mcrute to cloudprovider related owners files
2019-04-01 19:06:34 -07:00
Kubernetes Prow Robot
1ac4cc7980
Merge pull request #75703 from tedyu/master
...
Simplify the loop for latest start time in pickOneNodeForPreemption
2019-04-01 13:18:58 -07:00
Kubernetes Prow Robot
76b1d83517
Merge pull request #73863 from gnufied/fix-attach-limit-delayed
...
Fix code to handle delayed binding volumes
2019-04-01 13:18:35 -07:00
juanvallejo
ac4eebeeb5
allow for non-fatal errors when requesting and following multiple log streams
2019-04-01 13:05:59 -07:00
Kubernetes Prow Robot
e1f3819564
Merge pull request #75772 from tomwans/cronjob-sorting
...
Avoid panic in cronjob sorting
2019-04-01 10:03:00 -07:00
Kubernetes Prow Robot
46ae77421c
Merge pull request #73041 from giuseppe/fix-logs
...
kubelet: fix some race conditions with logs -f
2019-04-01 10:02:34 -07: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
Kubernetes Prow Robot
483cd0db09
Merge pull request #75483 from gsadhani/describe-output-fix
...
Skip smart label in kubectl describe if field has special chars
2019-04-01 04:54:33 -07:00
Humble Chirammal
ee9079f8ec
Use better variable names in validation.go
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-04-01 09:43:36 +05:30
Kubernetes Prow Robot
2792f1a24e
Merge pull request #75857 from danielqsj/sc1
...
support both JSON and YAML for scheduler configuration
2019-03-31 12:36:31 -07:00
danielqsj
412adb8ca9
add unit test for initPolicyFromFile
2019-03-31 21:23:24 +08:00
Kubernetes Prow Robot
afefc0b2c5
Merge pull request #73737 from odino/owner-references-in-create-job
...
Attaching owner references to jobs create via "--from=cronjob/xyz"
2019-03-30 18:22:45 -07:00
Kubernetes Prow Robot
e9c42a15f7
Merge pull request #73672 from WanLinghao/failure_domain_remove
...
Remove dead code about failure-domains option in kube-scheduler
2019-03-30 18:22:33 -07:00
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
Giuseppe Scrivano
a561196bfe
logs: consume all file until EOF on exited container
...
If the container is not found, do not stop reading the log file
immediately but wait until we reach again EOF.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-30 17:42:21 +01:00
Giuseppe Scrivano
8f68b281e4
kubelet: force checking the log file every second
...
it seems fsnotify can miss some read events, blocking the kubelet to
receive more data from the log file.
If we end up waiting for events with fsnotify, force a read from the
log file every second so that are sure to not miss new data for longer
than that.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-30 17:42:20 +01:00
Giuseppe Scrivano
341c2c0d1f
kubelet: handle recreated log files
...
if the runtime is configured to rotate the log file, we might end up
watching the old fd where there are no more writes.
When a fsnotify event other than Write is received, reopen the log
file and recreate the watcher.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-30 17:42:20 +01:00
Giuseppe Scrivano
2c30eee92f
kubelet: read immediately after creating the watcher
...
if some events happen between the Read and while we set the watcher,
we might miss them.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-30 17:42:11 +01:00
Kubernetes Prow Robot
9a5b7b84df
Merge pull request #75861 from shinytang6/enhance/cleanup-scheduler
...
scheduler: handle err and remove useless assignment
2019-03-29 17:33:45 -07:00
Kubernetes Prow Robot
a9584a27a7
Merge pull request #75754 from denkensk/cleanup-podtimestamp
...
clean up func podTimestamp in queue
2019-03-29 17:33:20 -07:00
Kubernetes Prow Robot
60638c71bd
Merge pull request #75481 from mucahitkurt/refactor/nodeinfomanager-tests
...
Add expectedCSINode for csiNodeEnabled test cases on nodeinfomanager tests
2019-03-29 17:33:08 -07:00
Kubernetes Prow Robot
dabeb20a1a
Merge pull request #75587 from tiffanyfay/cred-provider
...
Refactor AWS credential provider
2019-03-29 14:48:47 -07: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
Mucahit Kurt
6113cd57bc
add expectedCSINode and expectedNode for test cases to compare CSINode and Node object instead of field based comparisons
...
Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com>
2019-03-29 23:01:26 +03:00
Kubernetes Prow Robot
30165e40dd
Merge pull request #75863 from cwdsuzhou/optimize-describe-pvc-organization
...
Optimize describe pvc output organization
2019-03-29 11:49:03 -07:00
Kubernetes Prow Robot
259f706c73
Merge pull request #75834 from jlucktay/golint_pkg/auth/authorizer/abac
...
Golint pkg/auth/authorizer/abac
2019-03-29 11:48:50 -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
Kubernetes Prow Robot
f8cd676f09
Merge pull request #75210 from deads2k/scale-toleration
...
make kubectl scale work without a GET if a precodition isn't requested
2019-03-29 11:48:12 -07:00
Girish Sadhani
029582d339
Skip smart label in kubectl describe if field has special chars
...
Attempts to create smart label for fields containing special chanracter ends
up looking very odd. This change skips creating smart labels for fields
containing special characters other than '-'.
2019-03-29 23:00:08 +05:30
Kubernetes Prow Robot
733f2478d3
Merge pull request #75584 from SataQiu/fix-golint-20190322
...
fix some golint failures in pkg/apis
2019-03-29 10:28:40 -07:00
Kubernetes Prow Robot
857cf88a6a
Merge pull request #75165 from qingsenLi/k8s190308-fix-error
...
fix a mistake in get.go
2019-03-29 10:28:27 -07:00
Kubernetes Prow Robot
a0e6bd21c6
Merge pull request #74695 from qingsenLi/k8s190228-delete-code
...
delete unused code in proxy_server.go
2019-03-29 10:28:14 -07:00
Kubernetes Prow Robot
861f1fcb2e
Merge pull request #75799 from msau42/csi-empty-devicepath
...
return empty devicepath for csi attach
2019-03-29 06:08:13 -07:00
James Lucktaylor
dbb696508a
Enact golint recommendations per issue 68026.
...
Remove the 'abac' package from the golint exclusion list.
Add/edit comments per golint feedback.
Set PolicyList to be exported, as not exporting was breaking one of
golint's rules around exported funcs returning an unexported type.
Fix a broken test
2019-03-29 12:50:31 +00:00
shinytang6
86515d8b9e
scheduler: handle missing err
2019-03-29 19:20:15 +08:00
WanLinghao
62d8081eda
Fix a log info error
2019-03-29 13:27:10 +08:00
caiweidong
732ef847e8
Optimize descrive pvc output organization
2019-03-29 11:29:09 +08:00
danielqsj
697ed2cc2a
support both JSON and YAML for scheduler configuration
2019-03-29 09:42:58 +08:00
Kubernetes Prow Robot
b1829dff0b
Merge pull request #74844 from leakingtapan/migration-raw-block
...
Implement CSI migration logic for block volume
2019-03-28 18:12:14 -07:00
Sean Sullivan
d4d6e19f1e
kubectl: removes pkg/version dependency
2019-03-28 16:08:34 -07:00
Vladimir Vivien
3777514f83
Adds DeviceMountablePlugin.CanDeviceMount check when retrieving plugins
2019-03-28 10:39:32 -04:00
tiffany jernigan
0d63fa4543
Update aws provider build files
2019-03-28 07:15:28 +00:00
tiffany jernigan
11efc01328
Refactors and fixes bugs in AWS credentialprovider
...
Adds caching per registry. Fixes caching of invalid ECR tokens.
2019-03-28 07:15:28 +00:00
Kubernetes Prow Robot
194114e45e
Merge pull request #75513 from cwdsuzhou/fix-incline-csivolume
...
Kubectl: support inline csi volume
2019-03-27 18:40:57 -07:00
Kubernetes Prow Robot
da7af5897c
Merge pull request #75510 from hex108/starttime
...
Pick pods for preemption based on StartTime of pods when priorities a…
2019-03-27 18:40:43 -07:00
Michelle Au
ab6a2530fb
return empty devicepath for csi attach
2019-03-27 17:28:21 -07:00
Kubernetes Prow Robot
81985203bf
Merge pull request #74802 from WanLinghao/zh_bindata_fix
...
Remove 404 link in kubectl help information
2019-03-27 17:22:19 -07:00
Kubernetes Prow Robot
b9dbb458fb
Merge pull request #72384 from zhouhaibing089/quota-crd
...
resourcequota: use dynamic informer
2019-03-27 16:00:49 -07: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
Kubernetes Prow Robot
0f4b55bbf2
Merge pull request #75773 from andrewsykim/credential-provider-owners
...
add @andrewsykim and @mcrute as pkg/credentialprovider reviewers
2019-03-27 11:03:04 -07:00
Kubernetes Prow Robot
a8cbb22506
Merge pull request #74747 from liggitt/quota-deadlock
...
quota controller fixes
2019-03-27 09:04:48 -07:00
Andrew Sy Kim
b8a92e82b2
add @andrewsykim and @mcrute as pkg/credentialprovider revierws
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-03-27 11:03:50 -04:00
Kubernetes Prow Robot
ccc90b2ba6
Merge pull request #75680 from tallclair/psp-refactor
...
Clean up some PodSecurityPolicy code
2019-03-26 21:59:01 -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
ec7a04bd20
Prevent quota controller using unsynced listers
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
wangqingcan
8fd45d8300
clean up func podTimestamp
2019-03-27 11:05:19 +08:00
Kubernetes Prow Robot
2e05cdb7ae
Merge pull request #75739 from Huang-Wei/cleanup-preemption-comments
...
scheduler: correct dated comments on pod preemption
2019-03-26 19:26:47 -07:00
danielqsj
6b2e9e8af3
add completed job status in cronjob event
2019-03-27 09:48:55 +08:00
Kubernetes Prow Robot
4b3eb60081
Merge pull request #75531 from dims/add-new-staging-repository-for-cri-api
...
New staging repository for cri-api
2019-03-26 18:10:49 -07:00
tiffany jernigan
ecbb090f32
Credential provider Provide takes image (clouds)
2019-03-27 01:00:26 +00:00
tiffany jernigan
847cb24aa1
Credential provider Provide takes image (general)
2019-03-27 01:00:26 +00:00
tiffany jernigan
81c4fde489
Remove aws cred provider dep on cloud provider
2019-03-27 01:00:26 +00:00
Kubernetes Prow Robot
4f465f206d
Merge pull request #75737 from logicalhan/metric-errors
...
log out metric registration errors instead of silently ignoring them
2019-03-26 16:58:47 -07:00
Cheng Pan
f7050a04ce
Implement CSI migration logic for block volume
2019-03-26 22:22:03 +00:00
Davanum Srinivas
33081c1f07
New staging repository for cri-api
...
Change-Id: I2160b0b0ec4b9870a2d4452b428e395bbe12afbb
2019-03-26 18:21:04 -04: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
9c973c6d2c
Merge pull request #75515 from dougm/vsphere-token-auth
...
vSphere: add token auth support for tags client
2019-03-26 12:34:17 -07:00
Kubernetes Prow Robot
29566d0a65
Merge pull request #74341 from paulsubrata55/kube_proxy_sctp_fix
...
Issue in kube-proxy when IPVS is enabled and SCTP traffic is sent.
2019-03-26 12:33:33 -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
Wei Huang
6897fda878
scheduler: correct dated comments on pod preemption
...
- correct wordings related with annotations - which hasn't been used since alpha version
2019-03-26 12:10:46 -07:00
Han Kang
8f63657e26
log out metric registration errors instead of silently ignoring them
2019-03-26 11:29:27 -07:00
Kubernetes Prow Robot
7dfcacd1cf
Merge pull request #75700 from logicalhan/reflector-cleanup
...
cleanup of reflector metric code (finish removing unused code)
2019-03-25 23:13:31 -07:00
Jun Gong
042b83ba73
Pick pods for preemption based on StartTime of pods when priorities are equal
2019-03-26 09:04:50 +08:00
Ted Yu
dbdc782412
Simplify the loop for latest start time in pickOneNodeForPreemption
2019-03-25 15:53:03 -07:00
Han Kang
f7c23b1c1d
cleanup of reflector metric code (finish removing unused code)
2019-03-25 15:12:09 -07:00
Kubernetes Prow Robot
428a8e04d4
Merge pull request #75458 from jingxu97/March/raceofActualDesiredState
...
Fix race condition between actual and desired state in kublet volume manager
2019-03-25 13:24:51 -07:00
Kubernetes Prow Robot
f3efd1d0b7
Merge pull request #75036 from bart0sh/PR0065-kubeadm-replace-RequiredIPVSKernelModulesAvailable-check
...
kubeadm: reimplement IPVS check
2019-03-25 13:24:38 -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
Kubernetes Prow Robot
e1f8d1e9ca
Merge pull request #74919 from pivotal-k8s/vsphere-windows-uuid
...
Fix Windows to read VM UUIDs from serial numbers
2019-03-25 12:10:20 -07:00
Tim Allclair
a387409500
Modernize PSP unit test
2019-03-25 11:46:36 -07:00
Tim Allclair
e5d2cad7b9
Refactor PSP provider
2019-03-25 11:46:36 -07:00
Doug MacEachern
85907f6947
vSphere: add token auth support for tags client
...
SAML auth support for the vCenter rest API endpoint came to govmomi
a bit after Zone support came to vSphere Cloud Provider.
Fixes #75511
2019-03-25 10:08:08 -07:00
Doug MacEachern
a2d975e02b
vsphere: govmomi rest API simulator requires authentication
2019-03-25 10:08:08 -07:00
Kubernetes Prow Robot
055061637a
Merge pull request #75062 from Fedosin/openstack_config_from_secrets
...
Allow to read OpenStack config from the secret
2019-03-25 09:01:20 -07:00
Kubernetes Prow Robot
231e372d0c
Merge pull request #75620 from misterikkit/logcleanup
...
Scheduler: Logging cleanup in predicates.go.
2019-03-25 00:03:04 -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
ec64aef25f
Merge pull request #74321 from yastij/signal-undecorated-storage-event
...
use cache size to signal undecorated storage
2019-03-24 03:21:05 -07:00
Kubernetes Prow Robot
9f15368c5c
Merge pull request #75576 from smarterclayton/bad_2
...
Remove use of `%#v` in frequently accessed code
2019-03-22 23:59:05 -07: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
SataQiu
f82fb4059d
fix some failures in pkg/apis
2019-03-23 12:20:49 +08:00
Jonathan Basseri
1b447e8d19
Scheduler: Logging cleanup in predicates.go.
...
This is some light cleanup of logs in predicates.go. In particular, some
log lines have details clarified that will make debugging easier.
I have not touched any VLOG messages, since those usually have plenty of
detail.
2019-03-22 17:33:18 -07:00
Kubernetes Prow Robot
ffd8f3dacb
Merge pull request #73255 from ds-ms/golint
...
Fix linting issues in pkg/kubectl/cmd/version
2019-03-22 17:02:08 -07:00
Kubernetes Prow Robot
994582965d
Merge pull request #75496 from andrewsykim/area-cloudprovider-label
...
add area/cloudprovider label for changes in pkg/cloudprovider & k8s.i…
2019-03-22 15:46:21 -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
265f80eef9
Merge pull request #75176 from mars1024/bugfix/hpa_not_working_in_kubectl_since_v1.13
...
make describers of different versions work properly when autoscaling/v2beta2 is not supported
2019-03-22 05:22:17 -07:00
Kubernetes Prow Robot
057ad6d4ce
Merge pull request #75571 from Huang-Wei/shorten-alias
...
shorten scheduler package alias for better readability
2019-03-22 02:34:17 -07:00
Kubernetes Prow Robot
efaf4f3bdb
Merge pull request #75507 from hex108/skip
...
Avoid unnecessary sort for some cases in selectVictimsOnNode
2019-03-22 00:04:44 -07: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
Clayton Coleman
b28e82ad4a
Avoid using `%#v` for errors when using only a portion of the object
...
`%#v` may have significant performance costs in frequently invoked code.
2019-03-21 22:52:09 -04: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
Wei Huang
49346c1e04
shorten scheduler package alias for better readability
...
- schedulerinternalcache -> internalcache
2019-03-21 18:14:19 -07:00
shinytang6
5c9f4d9dc6
replace time.Now().Sub with time.Since
2019-03-21 18:02:55 +08:00
Kubernetes Prow Robot
3adae6ce2f
Merge pull request #75490 from yastij/azure-lb-idle-timeout
...
skip idleTimeout erros when deleting azure LB
2019-03-21 00:27:36 -07:00