Commit Graph

33789 Commits (750881c0ab62a9f59d53582bc33826caa167aa83)

Author SHA1 Message Date
caiweidong df04523a8d Bugfix: csi raw block that does not need attach mounted failed
Add unit test

fix verify-test-featurefates failed
2019-07-16 11:33:32 +08:00
Sravanth Bangari c5829cd5a4 Fix the creation of load balancer policy for the NodeIp when NodePort specified is same as service Port 2019-07-11 19:45:58 +00:00
andyzhangx 54eccec000 fix: change timeout value in csi plugin 2019-07-04 03:42:01 +00:00
Kubernetes Prow Robot 9f1b2df355
Merge pull request #79571 from SataQiu/automated-cherry-pick-of-#79094-up-release-1.14
Automated cherry pick of #79094: fix kubelet can not delete orphaned pod directory when "/var/lib/kubelet/pods" directory symbolically links to another device's directory
2019-07-03 12:46:13 -07:00
Kubernetes Prow Robot 2d0cf16750
Merge pull request #79664 from odinuge/automated-cherry-pick-of-#79534-upstream-release-1.14
Automated cherry pick of #79534: Fix closing of dirs in doSafeMakeDir
2019-07-03 10:16:40 -07:00
Kubernetes Prow Robot 62a6ddbfd4
Merge pull request #79618 from wongma7/automated-cherry-pick-of-#79446-upstream-release-1.14
Automated cherry pick of #79446: Fix AWS DHCP option set domain names causing garbled
2019-07-03 10:16:32 -07:00
Joseph Burnett d881d48b2c There are various reasons that the HPA will decide not the change the
current scale. Two important ones are when missing metrics might
change the direction of scaling, and when the recommended scale is
within tolerance of the current scale.

The way that ReplicaCalculator signals it's desire to not change the
current scale is by returning the current scale. However the current
scale is from scale.Status.Replicas and can be larger than
scale.Spec.Replicas (e.g. during Deployment rollout with configured
surge). This causes a positive feedback loop because
scale.Status.Replicas is written back into scale.Spec.Replicas,
further increasing the current scale.

This PR fixes the feedback loop by plumbing the replica count from
spec through horizontal.go and replica_calculator.go so the calculator
can punt with the right value.
2019-07-03 10:35:42 +02:00
tiffany jernigan 88989d25e2 Update aws provider build files 2019-07-02 21:18:14 -07:00
tiffany jernigan f9bd50bd81 Refactors and fixes bugs in AWS credentialprovider
Adds caching per registry. Fixes caching of invalid ECR tokens.
2019-07-02 21:18:14 -07:00
tiffany jernigan d03853e2b9 Credential provider Provide takes image (clouds) 2019-07-02 21:18:14 -07:00
tiffany jernigan 5224b94282 Credential provider Provide takes image (general) 2019-07-02 21:18:13 -07:00
tiffany jernigan 3211bdad3d Remove aws cred provider dep on cloud provider 2019-07-02 21:18:13 -07:00
Odin Ugedal 5f7e540651
Fix closing of dirs in doSafeMakeDir
This fixes the issue where "childFD" from syscall.Openat is assigned to
a local variable inside the for loop, instead of the correct one in the
function scope. This results in that when trying to close the "childFD"
in the function scope, it will be equal to "-1", instead of the correct
value.
2019-07-02 18:25:15 +02:00
Matthew Wong 34170a18ae Fix AWS DHCP option set domain names causing garbled InternalDNS or Hostname addresses on Node 2019-07-01 12:49:20 -07:00
Rong Gao ea0007dd6d fix kubelet can not delete orphaned pod directory when the kubelet's root directory symbolically links to another device's directory 2019-06-30 13:22:05 +08:00
Kubernetes Prow Robot d5f2096f1a
Merge pull request #79519 from feiskyer/automated-cherry-pick-of-#79514-upstream-release-1.14
Automated cherry pick of #79514: Default resourceGroup should be used when value of annotation
2019-06-29 05:41:23 -07:00
Kubernetes Prow Robot 2fcb57ff05
Merge pull request #79338 from rafatio/automated-cherry-pick-of-#79073-upstream-release-1.14
Automated cherry pick of #79073: Ignore cgroup pid support if related feature gates are
2019-06-29 04:29:25 -07:00
Pengfei Ni 23a7bd5c99 Default resourceGroup should be used when value of annotation azure-load-balancer-resource-group is empty string 2019-06-28 17:18:10 +08:00
Yu-Ju Hong 7782a900f4 kubelet: retry pod sandbox creation when containers were never created
If kubelet never gets past sandbox creation (i.e., never attempted to
create containers for a pod), it should retry the sandbox creation on
failure, regardless of the restart policy of the pod.
2019-06-27 10:22:39 -07:00
rafatio ed402e3629 Ignore cgroup pid support if related feature gates are disabled 2019-06-24 10:53:32 -03:00
Kubernetes Prow Robot 6b360e905b
Merge pull request #79131 from andyzhangx/automated-cherry-pick-of-#75234-upstream-release-1.14
Automated cherry pick of #75234: fix flexvol stuck issue due to corrupted mnt point
2019-06-20 16:14:43 -07:00
Kubernetes Prow Robot 8daa63bd22
Merge pull request #78961 from subramanian-neelakantan/automated-cherry-pick-of-#75187-upstream-release-1.14
Automated cherry pick of #75187: Use any host that mounts the datastore to create Volume
2019-06-20 16:14:36 -07:00
Kubernetes Prow Robot 87de10ed40
Merge pull request #78905 from dougm/automated-cherry-pick-of-#78876-upstream-release-1.14
Automated cherry pick of #78876: vSphere: allow SAML token delegation
2019-06-20 14:31:11 -07:00
Kubernetes Prow Robot 2ff91b0885
Merge pull request #78878 from msau42/automated-cherry-pick-of-#75129-upstream-release-1.14
Automated cherry pick of #75129: Move CSIDriver Lister to the controller
2019-06-20 14:31:03 -07:00
Kubernetes Prow Robot 3df2c60c4d
Merge pull request #78790 from andyzhangx/automated-cherry-pick-of-#78700-upstream-release-1.14
Automated cherry pick of #78700: fix: update vm if detach a non-existing disk
2019-06-20 14:30:54 -07:00
Kubernetes Prow Robot 65de86e72f
Merge pull request #78602 from paulgmiller/release-1.14
cherry pick of #74027: proxy: add some useful metrics
2019-06-20 14:30:38 -07:00
Kubernetes Prow Robot cb7218fac5
Merge pull request #79101 from andrewsykim/automated-cherry-pick-of-#78999-origin-release-1.14
Automated cherry pick of #78999: ipvs: fix string check for IPVS protocol during graceful
2019-06-20 12:46:14 -07:00
Kubernetes Prow Robot 5098719581
Merge pull request #78883 from liggitt/procmount-1.14
1.14: Fix incorrect procMount defaulting
2019-06-20 12:46:02 -07:00
Kubernetes Prow Robot 40238163d1
Merge pull request #78665 from benmoss/automated-cherry-pick-of-#78594-upstream-release-1.14
Automated cherry pick of #78594: Fix memory leak from not closing hcs container handles
2019-06-19 03:34:33 -07:00
andyzhangx e7c82c0250 fix flexvol stuck issue due to corrupted mnt point
fix comments about PathExists

fix comments

revert change in PathExists func
2019-06-18 08:36:50 +00:00
Andrew Sy Kim a252fb9366 ipvs: fix string check for IPVS protocol during graceful termination
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-06-17 10:15:51 -04:00
Subramanian Neelakantan 11f8744560 Use any host that mounts the datastore to create Volume
Also, This change makes zone to work per datacenter and cleans up dummy vms.
There can be multiple datastores found for a given name. The datastore name is
unique only within a datacenter. So this commit returns a list of datastores
for a given datastore name in FindDatastoreByName() method. The calles are
responsible to handle or find the right datastore to use among those returned.
2019-06-13 14:47:31 +05:30
Doug MacEachern d3e7abab07 vSphere: allow SAML token delegation
Issue #77360
2019-06-11 08:40:34 -07:00
Jordan Liggitt 702f00c2af Fix incorrect procMount defaulting 2019-06-10 22:03:10 -04:00
Xing Yang 4e65976da4 Move CSIDriver Lister to the controller 2019-06-10 17:41:54 -07:00
Paul Miller 85bdd81662
picked up extra unnecessary dep in merge
at least verify build thinks its unnecessary
2019-06-10 08:36:18 -07:00
andyzhangx 04a3e29d7c fix: update vm if detach a non-existing disk
fix gofmt issue
2019-06-07 14:04:43 +00:00
Kubernetes Prow Robot 5e53fd6bc1
Merge pull request #78066 from feiskyer/az-network-2018-07-01-1.14
Automated cherry pick of #78012: Upgrade Azure network API version to 2018-07-01
2019-06-04 11:15:53 -07:00
Ben Moss b9ab369234 Fix memory leak from not closing hcs container handles 2019-06-03 15:00:16 -07:00
Kubernetes Prow Robot 051c16a005
Merge pull request #78567 from DataDog/automated-cherry-pick-of-#77802-upstream-release-1.14
Automated cherry pick of #77802 upstream release 1.14
2019-05-31 21:52:21 -07:00
Casey Callendrello c3da106f31 cherry pick of 017f57a, had to do a very simple merge of BUILD 2019-05-31 14:12:36 -07:00
Kubernetes Prow Robot 02026415cd
Merge pull request #78316 from tallclair/automated-cherry-pick-of-#78261-upstream-release-1.14
Revert "Use consistent imageRef during container startup"
2019-05-31 01:42:29 -07:00
Laurent Bernaille a7a3c7d912
Disable graceful termination for udp 2019-05-31 10:18:49 +02:00
andyzhangx 74a785b925 fix azure retry issue when return 2XX with error
fix comments
2019-05-28 08:08:47 +00:00
Tim Allclair 6c1b3b4f62 Revert "Use consistent imageRef during container startup"
This reverts commit 26e3c8674e.
2019-05-24 13:24:57 -07:00
Kubernetes Prow Robot 4efb32be02
Merge pull request #77947 from tallclair/automated-cherry-pick-of-#77888-upstream-release-1.14
Automated cherrypick of #77888 upstream release 1.14
2019-05-21 11:32:33 -07:00
Kubernetes Prow Robot 098854ae8f
Merge pull request #77236 from apelisse/automated-cherry-pick-of-#76969-upstream-release-1.14
Automated cherry pick of #76969: Fix eviction dry-run
2019-05-21 11:32:15 -07:00
Pengfei Ni 95b2f6a501 Upgrade Azure network API version to 2018-07-01 2019-05-17 13:17:58 +00:00
Tim Allclair 1503be4569 Don't create a RuntimeClassManager without a KubeClient 2019-05-15 11:17:16 -07:00
andyzhangx 59a898670f fix incorrect prometheus metrics
fix left incorrect metrics
2019-05-14 07:54:16 +00:00
Antoine Pelisse c192ba4c1a Fix eviction dry-run 2019-05-10 13:06:48 -07:00
Kubernetes Prow Robot 46d8155f3d
Merge pull request #77729 from yastij/automated-cherry-pick-of-#77656-upstream-release-1.14
Automated cherry pick of #77656: check if Memory is not nil for container stats
2019-05-10 12:44:31 -07:00
Yassine TIJANI 433c2f5f01 check if Memory is not nil for container stats 2019-05-10 10:31:31 +02:00
Lantao Liu 4ecab5ea4a Remove terminated pod from summary api.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-05-08 23:24:53 -07:00
Kubernetes Prow Robot 3a208b6893
Merge pull request #76960 from harsh-px/automated-cherry-pick-of-#76341-upstream-release-1.14
Automated cherry pick of #76341: Fix concurrent map access in Portworx create volume call
2019-05-08 04:34:36 -07:00
Kubernetes Prow Robot 97ef497a85
Merge pull request #77320 from tallclair/automated-cherry-pick-of-#76665-upstream-release-1.14
Automated cherry pick of #76665 upstream release 1.14
2019-05-06 14:27:39 -07:00
Kubernetes Prow Robot 049611bcf3
Merge pull request #77311 from jingxu97/automated-cherry-pick-of-#76977-upstream-release-1.14
Update the dynamic volume limit in GCE PD
2019-05-06 12:55:52 -07:00
Kubernetes Prow Robot 31c8497d61
Merge pull request #76980 from jingxu97/automated-cherry-pick-of-#75458-upstream-release-1.14
Fix race condition between actual and desired state in kublet volume manager
2019-05-06 12:55:39 -07:00
Kubernetes Prow Robot ebf834b434
Merge pull request #77042 from andyzhangx/automated-cherry-pick-of-#76988-upstream-release-1.14
Automated cherry pick of #76988: add shareName param in azure file storage class
2019-05-02 15:54:18 -07:00
Kubernetes Prow Robot 318c9d47e7
Merge pull request #76992 from feiskyer/cherry-pick-76656-to-1.14
Automated cherry pick of #76656: Switch to instance-level update APIs for Azure VMSS loadbalancer operations
2019-05-02 14:00:29 -07:00
Kubernetes Prow Robot 151efe1ca5
Merge pull request #77260 from soltysh/automated-cherry-pick-of-#76788-upstream-release-1.14
Automated cherry pick of #76788: Test kubectl cp escape
2019-05-02 11:58:29 -07:00
Kubernetes Prow Robot 8ffc4b2b97
Merge pull request #76222 from msau42/automated-cherry-pick-of-#75750-upstream-release-1.14
Automated cherry pick of #75750: Improve volume operation metrics
2019-05-02 11:58:20 -07:00
Pengfei Ni f856655b32 Fix issues because of rebase 2019-05-02 08:30:30 +08:00
Pengfei Ni d32c2d5829 Add unit tests 2019-05-02 08:17:25 +08:00
Pengfei Ni 250745452e Cleanup codes that not required any more 2019-05-02 08:17:25 +08:00
Pengfei Ni cd515c85a3 Replace vmss update API with instance-level update API
commit
2019-05-02 08:17:25 +08:00
Pengfei Ni 64accfc925 Upgrade compute API to version 2019-03-01 2019-05-02 08:17:25 +08:00
Tim Allclair 5769863fa0 Use consistent imageRef during container startup 2019-05-01 13:47:12 -07:00
Jing Xu b01e2a387d Update the dynamic volume limit in GCE PD
Currently GCE PD support 128 maximum disks attached to a node for all
machines types except shared-core. This PR updates the limit number to
date.

Change-Id: Id9dfdbd24763b6b4138935842c246b1803838b78
2019-05-01 10:38:14 -07:00
Kubernetes Prow Robot ba432573fc
Merge pull request #76886 from andyzhangx/automated-cherry-pick-of-#76573-upstream-release-1.14
Automated cherry pick of #76573: refactor detach azure disk retry operation
2019-04-30 17:27:09 -07:00
Kubernetes Prow Robot f747e39e51
Merge pull request #76753 from feiskyer/automated-cherry-pick-of-#76691-upstream-release-1.14
Automated cherry pick of #76691: Fix Azure SLB support for multiple backend pools
2019-04-30 17:26:56 -07:00
Kubernetes Prow Robot d88be4d966
Merge pull request #77199 from andyzhangx/automated-cherry-pick-of-#77187-upstream-release-1.14
Automated cherry pick of #77187: fix disk list corruption issue
2019-04-30 15:39:09 -07:00
Kubernetes Prow Robot 8c00490d9b
Merge pull request #76223 from frankgreco/automated-cherry-pick-of-#76216-upstream-release-1.14
Automated cherry pick of #76216: ensuring that logic is checking for differences in listener
2019-04-30 15:38:56 -07:00
Maciej Szulik 8db8423eea Properly handle links in tar 2019-04-30 13:58:27 +02:00
Tim Allclair fe44df8bd4 Test kubectl cp escape 2019-04-30 13:58:27 +02:00
Kubernetes Prow Robot c72a5b2c10
Merge pull request #75719 from DataDog/automated-cherry-pick-of-#75295-upstream-release-1.14
Automated cherry pick of #75295 upstream release 1.14
2019-04-30 00:05:36 -07:00
andyzhangx c01eca5802 fix disk list corruption issue 2019-04-29 06:55:25 +00:00
andyzhangx 3e1553ee6c add shareName param in azure file storage class
skip create azure file if it exists
2019-04-25 02:50:10 +00:00
Jing Xu 31a70b8598 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-04-23 19:22:59 -07:00
Harsh Desai 9141812ee6 Fix concurrent map access in Portworx create volume call
Fixes #76340

Signed-off-by: Harsh Desai <harsh@portworx.com>
2019-04-23 12:15:48 -07:00
andyzhangx 77d1d3f3bb move disk lock process to azure cloud provider
fix comments

fix import keymux check error

add unit test for attach/detach disk funcs
2019-04-22 05:28:27 +00:00
andyzhangx 5376b645e3 refactor detach azure disk retry operation 2019-04-22 05:28:27 +00:00
Pengfei Ni 9f8ceb05ed Fix Azure SLB support for multiple backend pools
Azure VM and vmssVM support multiple backend pools for the same SLB, but
not for different LBs.
2019-04-18 16:12:50 +08:00
Igor German dc734edb3c proxy: Take into account exclude CIDRs while deleting legacy real servers 2019-04-11 18:13:13 +03:00
Krzysztof Jastrzebski 319930fe97 Delete only unscheduled pods if node doesn't exist anymore. 2019-04-08 19:31:57 +02:00
GRECO, FRANK 6a45dd9a22 ensuring that logic is checking for differences in listener 2019-04-05 18:20:23 -07:00
Michelle Au 0b0d332349 Improve volume operation metrics 2019-04-05 17:49:04 -07:00
Kubernetes Prow Robot 7fc21ccf92
Merge pull request #76102 from vllry/automated-cherry-pick-of-#75772-upstream-release-1.14
Automated cherry pick of #75772: Avoid panic in cronjob sorting
2019-04-05 14:29:52 -07:00
Kubernetes Prow Robot b5e1ea4a5e
Merge pull request #75742 from rhockenbury/automated-cherry-pick-of-#75515-upstream-release-1.14
Automated cherry pick of #75515: godeps: update vmware/govmomi to v0.20 release
2019-04-05 13:11:22 -07:00
Kubernetes Prow Robot 8465371a09
Merge pull request #75734 from rhockenbury/automated-cherry-pick-of-#74919-upstream-release-1.14
Automated cherry pick of #74919: Fix Windows to read VM UUIDs from serial numbers
2019-04-03 23:46:49 -07:00
Tom Wanielista ae13b88a76 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-04-03 12:44:01 -07:00
Doug MacEachern fdd0a45232 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-26 16:02:06 -04:00
Doug MacEachern d35c86fd8a vsphere: govmomi rest API simulator requires authentication 2019-03-26 16:02:06 -04:00
Ben Moss 3acb81c767 Fix Windows to read VM UUIDs from serial numbers
Certain versions of vSphere do not have the same value for product_uuid
and product_serial. This mimics the change in #59519.

Fixes #74888
2019-03-26 11:22:23 -04:00
Laurent Bernaille 66d2fe9a9b
Do not delete existing VS and RS when starting 2019-03-26 10:19:25 +01:00
Laurent Bernaille a20735141c
Add flag to enable strict ARP 2019-03-26 10:13:17 +01: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
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
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
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
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
andyzhangx 4b4b6cdcab fix race condition issue for smb mount on windows
change var name
2019-03-14 15:02:15 +00: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
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
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
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
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
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
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
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
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
Vladimir Vivien 923ad369c8 CSI Inline Volume - Kubelet/Driver code impl 2019-03-08 12:40:09 -05:00
Vladimir Vivien d998fc8f0f CSI Inline Volume - Generated files 2019-03-08 12:39:58 -05:00
Vladimir Vivien 4ec7d2305d CSI Inline Volume - API changes 2019-03-08 12:35:07 -05:00
Hemant Kumar a8f318779b Add CSI volume resizing tests
Add some tests for checking node expansion
Add new tests for expander
2019-03-08 09:23:18 -05:00
Hemant Kumar 529cd7119b Move resize function parameters to a new ResizeOptions type
This enables us to pass CSI volume phase
2019-03-08 09:21:44 -05:00
Hemant Kumar 63eb25eb4b Introduce feature gate for volume expansion
Update CSI library version
2019-03-08 09:21:44 -05:00
Hemant Kumar 89d1de9eb9 Rename ExandFS to NodeExpand
Handle resize error in online resizing
Use NodeExpandable plugin to mark volumes that require node expansion
2019-03-08 09:21:44 -05:00
Kubernetes Prow Robot f229aa0ad6
Merge pull request #75044 from errordeveloper/move-cli-runtime-subpackages
Move printers & resources packages
2019-03-08 05:43:26 -08:00
Kubernetes Prow Robot e318642946
Merge pull request #74998 from mbohlool/pippin
Webhook configurations can choose which version of Review request they accept
2019-03-08 03:01:26 -08:00
Kubernetes Prow Robot 2e64704425
Merge pull request #75096 from tnozicka/fix-kubectl-run-watches
Fix kubectl run watches
2019-03-07 22:44:18 -08:00
Kubernetes Prow Robot 56c74635e2
Merge pull request #75023 from danielqsj/metrics-1
clean the deprecated metrics which introduced recently
2019-03-07 22:43:55 -08:00