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
Kubernetes Prow Robot
ed4258e5c0
Merge pull request #75264 from smarterclayton/optimize_rbac_visit
...
Avoid allocating when performing VisitRulesFor on service accounts
2019-03-20 19:19:35 -07:00
Minhan Xia
47bc948fe3
reconcile pod ready condition when message is not expected
2019-03-20 14:05:40 -07:00
Kubernetes Prow Robot
79b0fcc703
Merge pull request #75397 from WanLinghao/equivalence_clean
...
Clean empty package import by #69504
2019-03-20 13:31:25 -07:00
Kubernetes Prow Robot
26fea2361a
Merge pull request #75166 from qingsenLi/k8s190308-fix-heatbeat
...
spelling error 'heatbeat'
2019-03-20 13:30:59 -07:00
Sean Sullivan
2345831b82
kubectl: Removes dependency on util/interrupt by copying this code into kubectl
2019-03-20 11:39:57 -07:00
Kubernetes Prow Robot
9feb23e5f5
Merge pull request #75343 from Huang-Wei/scheduler-cleanup
...
scheduler: cleanup unused parameters in unschedulableQ
2019-03-20 11:08:27 -07:00
Kubernetes Prow Robot
068daa54b0
Merge pull request #73970 from droslean/better-errors
...
kubectl: error logging as string instead of []byte
2019-03-20 11:08:01 -07:00
Kubernetes Prow Robot
795c96aa9d
Merge pull request #71822 from houjun41544/20181207-event
...
Remove unused kubelet event reasons
2019-03-20 11:07:47 -07:00
Kubernetes Prow Robot
6dc73a88d5
Merge pull request #75321 from ymlong/fix-2019031302
...
Correcting some spelling errors
2019-03-20 09:53:37 -07:00
Kubernetes Prow Robot
2f298724e2
Merge pull request #75083 from chi-xu/fix-20190307
...
change an to a
2019-03-20 09:52:58 -07:00
caiweidong
af5d6518ff
Kubectl: support inline csi volume
2019-03-20 23:56:25 +08:00
Kubernetes Prow Robot
155688b2f3
Merge pull request #75309 from cwdsuzhou/remove_unused_variable
...
Remove the unused variabe: syncDuration in volumemanager
2019-03-20 07:42:08 -07:00
Kubernetes Prow Robot
59140d6474
Merge pull request #75295 from DataDog/lbernail/strict-arp-flag
...
[kube-proxy/ipvs] Add flag to enable strict ARP
2019-03-20 07:41:51 -07:00
Kubernetes Prow Robot
88dc966a8a
Merge pull request #75283 from DataDog/lbernail/graceful-restart
...
[kube-proxy/ipvs] Do not delete existing VS and RS when starting
2019-03-20 07:41:36 -07:00
Kubernetes Prow Robot
8da0c4af29
Merge pull request #75213 from gnufied/allow-different-operation-names-storage
...
Allow different operation names
2019-03-20 07:41:07 -07: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
Yassine TIJANI
f457179289
skip idleTimeout erros when deleting azure LB
2019-03-20 12:32:45 +01:00
Jun Gong
2755373470
Avoid unnecessary sort for some cases in selectVictimsOnNode
2019-03-20 17:52:37 +08:00
Nikolaos Moraitis
45ac899894
error logging as string instead of []byte
2019-03-20 10:30:52 +01:00
Kubernetes Prow Robot
4bd421502e
Merge pull request #75211 from wongma7/csi-attacher-test-flake
...
Fix unit test volumeattachments watch not working
2019-03-20 00:55:14 -07:00
Kubernetes Prow Robot
11ee8244ff
Merge pull request #75150 from qingsenLi/k8s190308-fix-faild
...
fix typo 'Faild'
2019-03-20 00:54:35 -07:00
Kubernetes Prow Robot
6f9bf5fe98
Merge pull request #71548 from smarterclayton/watch_converted
...
Support Table and PartialObjectMetadata on watch
2019-03-19 22:42:22 -07:00
Kubernetes Prow Robot
d7103187a3
Merge pull request #75054 from leakingtapan/ebs-wait
...
Remove the condition for only wait for KMS key is used
2019-03-19 21:27:14 -07:00
Kubernetes Prow Robot
8592098e60
Merge pull request #74974 from goodluckbot/pick-node-preempt-start-time
...
Pick node for preemption based on start time of pods
2019-03-19 21:26:49 -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
16b5f7d3c5
Merge pull request #67487 from tianshapjq/validate-system-kube-reserved
...
validate systemReservedCgroup and kubeReservedCgroup
2019-03-19 21:26:22 -07:00
Andrew Sy Kim
e2ad79a302
add area/cloudprovider label for changes in pkg/cloudprovider & k8s.io/cloud-provider
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-03-19 21:16:20 -07:00
Kubernetes Prow Robot
9c5be7aa5f
Merge pull request #74686 from zhouhaibing089/add-trailing-period
...
validation: allow trailing period in dns search
2019-03-19 20:15:06 -07:00
Kubernetes Prow Robot
0c0bd8a4cb
Merge pull request #74528 from droslean/gce-cleanup
...
gce: remove unused constants
2019-03-19 20:14:28 -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
Yassine TIJANI
8261d3d9a6
use cache size to signal undecorated storage
2019-03-19 23:48:07 +01: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
Kubernetes Prow Robot
1d441c1f93
Merge pull request #75451 from liggitt/kubectl-username
...
Restore username and password kubectl flags
2019-03-18 23:44:20 -07:00
Jing Xu
7cb5df6728
Fix race condition between actual and desired state in kublet volume
...
manager
This PR fixes the issue #75345 . This fix modified the checking volume in
actual state when validating whether volume can be removed from desired state or not. Only if volume status is already mounted in actual state, it can be removed from desired state.
For the case of mounting fails always, it can still work because the
check also validate whether pod still exist in pod manager. In case of
mount fails, pod should be able to removed from pod manager so that
volume can also be removed from desired state.
2019-03-18 17:08:48 -07:00
Jordan Liggitt
a6034e511c
Restore username and password kubectl flags
2019-03-18 17:16:49 -04:00
Kubernetes Prow Robot
a4f2590bd8
Merge pull request #75371 from andyzhangx/smb-mount-win-lock
...
fix race condition issue for smb mount on windows
2019-03-18 13:40:21 -07:00
Kubernetes Prow Robot
aa9cbd112c
Merge pull request #75265 from JacobTanenbaum/ClearExternalIPs
...
Clear conntrack entries on 0 -> 1 endpoint transition with externalIPs
2019-03-18 11:06:23 -07:00
Bruce Ma
183247ca5c
change bandwidth units from Kb to b
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2019-03-18 21:22:34 +08:00
Kubernetes Prow Robot
364b18cb9e
Merge pull request #75375 from frapposelli/GH-75236
...
Stop vsphere cloud provider from spamming logs with `failed to patch IP`
2019-03-18 03:45:12 -07:00
WanLinghao
f510f49955
Remove dead code about failure-domains option in kube-scheduler
2019-03-18 14:25:04 +08:00
caiweidong
e9c13409a8
Move protection common func to protectionutil
2019-03-17 22:24:42 +08:00
Kubernetes Prow Robot
1a24040447
Merge pull request #74781 from liggitt/http2-watch
...
kubelet watch-manager test, restore watch-based manager default
2019-03-16 12:52:56 -07:00
Kubernetes Prow Robot
3512757882
Merge pull request #75416 from tallclair/local-redirects
...
Don't follow non-local redirects from HTTP probes
2019-03-16 09:14:57 -07:00
Kubernetes Prow Robot
0f6196878d
Merge pull request #75367 from feiskyer/fix-dockershim-panic
...
Fix panic when removing docker images
2019-03-16 01:08:56 -07:00
Tim Allclair
e6ea4f0538
Don't follow non-local redirects for http probes
2019-03-15 11:04:30 -07:00
Jacob Tanenbaum
c3548165d5
Clear conntrack entries on 0 -> 1 endpoint transition with externalIPs
...
As part of the endpoint creation process when going from 0 -> 1 conntrack entries
are cleared. This is to prevent an existing conntrack entry from preventing traffic
to the service. Currently the system ignores the existance of the services external IP
addresses, which exposes that errant behavior
This adds the externalIP addresses of udp services to the list of conntrack entries that
get cleared. Allowing traffic to flow
Signed-off-by: Jacob Tanenbaum <jtanenba@redhat.com>
2019-03-15 11:18:51 -04:00
WanLinghao
a0a8ea4829
Clean empty package import by #69504
2019-03-15 14:32:20 +08:00
caiweidong
92aee22646
Remove the unused variabe: syncDuration in volumemanager
2019-03-15 10:04:41 +08:00
Kubernetes Prow Robot
d5a3db0039
Merge pull request #74311 from hpedrorodrigues/fix-lb-sg-deletion
...
Ensure ownership when deleting a load balancer security group
2019-03-14 18:10:58 -07:00
Kubernetes Prow Robot
b3ec6c17f1
Merge pull request #75144 from Huang-Wei/followup-74222
...
kubelet: updated logic of verifying a static critical pod
2019-03-14 14:41:00 -07:00
Fabio Rapposelli
d22a39db8a
stop vsphere cloud provider from spamming logs with `failed to patch IP`
...
Fixes : #75236
2019-03-14 22:39:13 +01:00
Hemant Kumar
a3a93c560b
Add more volume types and unbound pvcs etc
2019-03-14 17:07:36 -04:00
andyzhangx
4b4b6cdcab
fix race condition issue for smb mount on windows
...
change var name
2019-03-14 15:02:15 +00:00
Ed Bartosh
2914171ed4
kubeadm: reimplement IPVS check
...
Used existing IPVS Proxier API CanUseIPVSProxier instead
of custom implementation.
Fixes kubernetes/kubeadm#975
2019-03-14 16:52:21 +02:00
Pengfei Ni
a304297c99
Fix panic when removing docker images
2019-03-14 18:53:02 +08:00
Jordan Liggitt
f2a0c0342c
Revert "Revert kubelet to default to ttl cache secret/configmap behavior"
...
This reverts commit cd1c9f9018
.
2019-03-13 15:12:26 -07:00
Clayton Coleman
4c87a14e6b
Avoid allocating when performing VisitRulesFor on service accounts
...
Service account authorization checks are done frequently and were
observed to perform 7% of allocations on a system running e2e tests.
The allocation comes from when we walk the authorization rules to
find matching service accounts.
Optimize the check for service account names to avoid allocating.
2019-03-13 17:40:21 -04:00
Wei Huang
2b554b4286
scheduler: cleanup unused parameters in unschedulableQ
2019-03-13 11:54:16 -07:00
Hemant Kumar
97ec61561a
Allow different operation names
2019-03-13 14:20:45 -04:00
Kubernetes Prow Robot
517922f31a
Merge pull request #75308 from msau42/csi-beta-e2e
...
ignore kubeclient nil in csi plugin init
2019-03-13 05:49:46 -07:00
ymlong
58f8c0207d
Correcting some spelling errors
2019-03-13 15:00:32 +08:00
Wei Huang
d67e7fd47f
kubelet: updated logic of verifying a static critical pod
...
- check if a pod is static by its static pod info
- meanwhile, check if a pod is critical by its corresponding mirror pod info
2019-03-12 23:40:20 -07:00
caiweidong
5fa000e5ed
Change log: avoid to print raw json response too frequently
2019-03-13 13:07:01 +08:00
Pengfei Ni
84617c8b51
Allow disable outbound snat when Azure standard load balancer is used
2019-03-13 10:29:41 +08:00
Michelle Au
398777f261
ignore kubeclient nil in csi plugin init
2019-03-12 16:29:08 -07:00
Kubernetes Prow Robot
cc8afb25fc
Merge pull request #74040 from ajatprabha/issue_73648
...
add ResourceVersion to DeleteOptions.Preconditions
2019-03-12 15:44:38 -07:00
Kubernetes Prow Robot
f33e5e8f7a
Merge pull request #74394 from thockin/proxy-reject-lb-no-endpoints
...
Kube-proxy: ICMP reject via LBs when no endpoints
2019-03-12 13:18:40 -07:00
Laurent Bernaille
09f821ddb5
[kube-proxy/ipvs] Add flag to enable strict ARP
2019-03-12 15:56:22 +01:00
ajatprabha
4ddc198c39
pin ResourceVersion precondition only when specified
2019-03-12 17:00:41 +05:30
ajatprabha
42f0a36f44
check for ResourceVersion conflict in separate if block
2019-03-12 17:00:39 +05:30
ajatprabha
8f48d76271
add ResourceVersion to DeleteOptions.Preconditions
2019-03-12 17:00:39 +05:30
Kubernetes Prow Robot
9cbccd3859
Merge pull request #75256 from feiskyer/fix-75198
...
Ensure Azure load balancer cleaned up on 404 or 403
2019-03-12 02:52:40 -07:00
Laurent Bernaille
96818ea31e
[kube-proxy/ipvs] Do not delete existing VS and RS when starting
2019-03-12 09:40:55 +01:00
Nathan Essex
394c581a56
Fix label on UpdateContainerResources operation
2019-03-12 14:18:53 +09:00
Kubernetes Prow Robot
eb6a1b651c
Merge pull request #72942 from caesarxuchao/expose-storage-version-hash
...
Populate the storage version hash
2019-03-11 21:36:36 -07:00
goodluckbot
8d991e6ee2
Pick node for preemption based on start time of pods
2019-03-12 12:30:15 +08:00
Tim Hockin
de25d6cb95
Kube-proxy: REJECT LB IPs with no endpoints
...
We REJECT every other case. Close this FIXME.
To get this to work in all cases, we have to process service in
filter.INPUT, since LB IPS might be manged as local addresses.
2019-03-11 20:33:45 -07: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
43b6ddf3c6
Merge pull request #75087 from andyzhangx/unmount-issue-windows
...
fix smb unmount issue on Windows
2019-03-11 17:58:37 -07:00
Kubernetes Prow Robot
243e740885
Merge pull request #74809 from oxddr/secrets-and-maps
...
Fix secret/configmap management for terminated pods
2019-03-11 16:42:36 -07:00
Daniel Lipovetsky
ab6d901497
Update kubectl taint usage
...
- Explain that the value is optional.
- Add example of adding a taint with no value to kubectl taint usage.
2019-03-11 14:20:59 -07:00
Daniel Lipovetsky
f5ac239289
Copy changes from `pkg/util/taints` to `pkg/kubectl/cmd/taint`
2019-03-11 14:20:59 -07:00
Daniel Lipovetsky
653c710b0d
Update v1.Taint parser to accept `key:effect`, `key=:effect-`, `key`, and `key-` forms
...
Also add missing tests for `key=:value` form.
2019-03-11 14:20:59 -07:00
Chao Xu
887cb93d8d
generated BUILD
...
generated proto
2019-03-11 10:26:56 -07:00
Chao Xu
3b618af0d4
Expose storage version hash
2019-03-11 10:26:56 -07:00
Kubernetes Prow Robot
8477c486a8
Merge pull request #74652 from cofyc/fix72500
...
Delay CSI client initialization
2019-03-11 09:39:27 -07:00
Kubernetes Prow Robot
cd9e590178
Merge pull request #74520 from casusbelli/fix-qb-usermapping
...
Adds missing user mapping option for Quobyte mounts
2019-03-11 02:45:26 -07:00
Pengfei Ni
88907da9a4
Ensure Azure load balancer cleaned up on 404 or 403
2019-03-11 16:40:23 +08:00
andyzhangx
720a5e20d8
fix smb unmount issue on Windows
...
fix log warning
use IsCorruptedMnt in GetMountRefs on Windows
use errorno in IsCorruptedMnt check
fix comments: add more error code
add more error no checking
change year
fix comments
2019-03-10 02:13:16 +00:00
Kubernetes Prow Robot
0b4275b6c7
Merge pull request #74760 from apelisse/add-mangerfield-flag
...
Add "fieldManager" to flag to PATCH/CREATE/UPDATE
2019-03-08 22:27:29 -08:00
Yecheng Fu
fa926ed6e0
Delay CSI client initialization
2019-03-09 13:45:03 +08:00
Kubernetes Prow Robot
b150560107
Merge pull request #74441 from Random-Liu/pod-log-directory
...
Add namespace and name into the CRI pod log directory
2019-03-08 20:43:30 -08:00
Lantao Liu
0ac651bfc3
Include pod logs in the pod ephemeral storage.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-08 16:42:14 -08:00
Lantao Liu
f14c6c95d6
New pod log directory /var/log/pods/NAMESPACE_NAME_UID.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-08 16:42:14 -08:00
Antoine Pelisse
eb904d8fa8
Add "fieldManager" to flag to PATCH/CREATE/UPDATE
...
And add a corresponding flag in kubectl (for apply), even though the
value is defaulted in kubectl with "kubectl".
The flag is required for Apply patch-type, and optional for other PATCH,
CREATE and UPDATE (in which case we fallback on the user-agent).
2019-03-08 16:03:03 -08:00
Tim Allclair
bc01f97055
Promote RuntimeClass to beta
2019-03-08 13:21:52 -08:00