Commit Graph

33789 Commits (750881c0ab62a9f59d53582bc33826caa167aa83)

Author SHA1 Message Date
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
Kubernetes Prow Robot 535064773a
Merge pull request #73946 from dashpole/prometheus_core_metrics
Add kubelet resource metrics v1alpha1 endpoint
2019-03-07 22:43:28 -08:00
Kubernetes Prow Robot d5e4973a32
Merge pull request #74544 from gnufied/deprecate-cloudprovider-predicates
Deprecate cloudprovider specific volume limit predicates
2019-03-07 21:20:11 -08:00
Kubernetes Prow Robot 9103186489
Merge pull request #74442 from yujuhong/reconcile-node-labels
nodelifecycle controller: reconcile node OS/arch labels
2019-03-07 21:19:57 -08:00
Kubernetes Prow Robot 1fc2396e2e
Merge pull request #74434 from freehan/pod-ready-ga
promote PodReadinessGate feature to GA
2019-03-07 21:19:43 -08:00
Kubernetes Prow Robot 183e6cc190
Merge pull request #74433 from tallclair/runtimeclass-internal
Migrate RuntimeClass from a CRD to an internal API
2019-03-07 21:19:30 -08:00
Mehdy Bohlool cbe00023c0 Update generated files 2019-03-07 21:00:29 -08:00
Kubernetes Prow Robot ad27abde62
Merge pull request #74835 from davidz627/feature/adcFallback
Add logic for initializing CSINode on Node startup for CSI Migration [Replaces #70909]
2019-03-07 18:39:25 -08:00
David Zhu 41b3579345 Address review comments 2019-03-07 17:17:09 -08:00
Kubernetes Prow Robot a6d8dbcaef
Merge pull request #74913 from yastij/explicit-restart-policy
explicit the restartPolicy on the dockershim
2019-03-07 16:12:39 -08:00
Kubernetes Prow Robot fbc5150c7d
Merge pull request #74788 from feiskyer/windows-network-stats
Add network stats for Windows nodes and containers
2019-03-07 16:12:24 -08:00
David Ashpole 6051664c0f add kubelet prometheus resource metrics endpoint 2019-03-07 15:39:37 -08:00
Pedro Rodrigues eb4087d5b5
Using lower case letter on the error message 2019-03-07 20:36:48 -03:00
Pedro Rodrigues 09a47d2bc0
Fix typo and format logs 2019-03-07 20:34:07 -03:00
Pedro Rodrigues 014cb38ecb
Check for ownership when deleting a load balancer security group
Co-authored-by: Marcus Fonseca <marcus.080196@gmail.com>
2019-03-07 20:34:07 -03:00
Mehdy Bohlool f7dff4725f Add AdmissionReviewVersions to admissionregistration and default it 2019-03-07 15:02:16 -08:00
Ilya Dmitrichenko 6d7a9048b6
Move printers & resources packages
These packages deserve to live at the top level of `k8s.io/cli-runtime`,
as they are potentially of wider use than genericclioptions.
2019-03-07 23:00:24 +00:00
David Zhu 7d2f4e97b8 Add ADC Fallback if Node doesn't have driver installed 2019-03-07 14:47:38 -08:00
David Zhu 34d9ee5b9b Add CSINode initialization for CSIMigration on node startup before pod ready 2019-03-07 14:47:38 -08:00
Tim Allclair 428e9fa329 generated files 2019-03-07 11:57:12 -08:00
Tim Allclair 222988bdda Migrate to internal node.k8s.io client 2019-03-07 11:57:12 -08:00
Tim Allclair 820a1dc96b Add node.k8s.io/v1beta1 API 2019-03-07 11:57:12 -08:00
Wei Huang c5a96b63f4
Revert "kubelet: return mirror pod in GetActivePods()"
This reverts commit c0c93f4a52.
2019-03-07 11:22:27 -08:00
Tim Allclair 63f61a6714 Migrate RuntimeClass to internal API 2019-03-07 11:07:54 -08:00
Janek Łukaszewicz 52913c59d1 Test with 2 pods, to make it more reliable. 2019-03-07 17:02:51 +01:00
Kubernetes Prow Robot 0b48018a39
Merge pull request #71192 from roycaihw/crd-publish-openapi
Publish CRD openapi
2019-03-07 03:54:58 -08:00
Tomas Nozicka d9e511e261 Generated: Update Bazel 2019-03-07 11:13:10 +01:00
Tomas Nozicka 2e7242aac8 Fix `kubectl run` watches in waitForPod 2019-03-07 11:12:13 +01:00
Kubernetes Prow Robot 2f930306a4
Merge pull request #74936 from rjaini/rj_1.14
Adding a check to make sure Metadata is read only if flag value is true.
2019-03-07 01:07:13 -08:00
Kubernetes Prow Robot 14b671b24b
Merge pull request #71651 from Pingan2017/cronjob-add
add subcommand `kubectl create cronjob`
2019-03-07 01:07:00 -08:00
Kubernetes Prow Robot 6dbe98980f
Merge pull request #74909 from NetApp/csi-raw-block-to-beta2
Promote CSI raw blocks to beta
2019-03-06 22:55:46 -08:00
Kubernetes Prow Robot b7bf26abc1
Merge pull request #74713 from WanLinghao/duplicate_package
Remove duplicate package import
2019-03-06 22:54:57 -08:00
Kubernetes Prow Robot a8492d74ec
Merge pull request #74688 from ksubrmnn/overlay_dsr
Allow Overlay loadbalancing to Public IP in Windows
2019-03-06 20:35:52 -08:00
Kubernetes Prow Robot 8dd60281ff
Merge pull request #74653 from cofyc/fix74650-CheckVolumeExistenceOperation
Distinguish between volume path and mount path
2019-03-06 20:35:40 -08:00
Kubernetes Prow Robot 59ee7353e8
Merge pull request #74625 from davidz627/fix/xfsUnmount
GetMountRefs fixed to handle corrupted mounts by treating it like an unmounted volume
2019-03-06 20:35:26 -08:00
Kubernetes Prow Robot 752d18d2b0
Merge pull request #74510 from SataQiu/fix-golint-2019022502
Fix some golint failures for pkg/kubelet/apis/...
2019-03-06 17:59:25 -08:00
Pengfei Ni d690037571 Run hack/update-bazel.sh 2019-03-07 09:55:58 +08:00
Pengfei Ni 1220025e86 Add network stats for node interfaces 2019-03-07 09:55:39 +08:00
Pengfei Ni 84a7f48cf7 Add network stats for Windows containers 2019-03-07 09:54:50 +08:00
Yu-Ju Hong bd2301a628 nodelifecycle controller: reconcile node OS/arch labels 2019-03-06 17:26:23 -08:00
Haowei Cai 11cf3101e3 apiextensions-apiserver: serve openapi spec
Co-authored-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2019-03-06 16:32:15 -08:00
Kubernetes Prow Robot c80e45f892
Merge pull request #73840 from adisky/cinder-intree-migration
Add CSI Migration feature flags for Cinder In tree Driver
2019-03-06 14:45:16 -08:00
David Zhu 5bf970f848 GetMountRefs fixed to handle corrupted mounts by treating it like an
unmounted volume
2019-03-06 14:34:16 -08:00
Kubernetes Prow Robot 47063891dd
Merge pull request #75037 from soltysh/cp_bug
Fix panic in kubectl cp command
2019-03-06 12:54:59 -08:00
Kubernetes Prow Robot 752f5668cc
Merge pull request #74737 from wk8/wk8/gmsa_bug_fix
Fixing a small bug with GMSA support
2019-03-06 11:20:49 -08:00
Ben Swartzlander 1493e684d3 Promote CSI raw blocks to beta 2019-03-06 13:43:52 -05:00
Kubernetes Prow Robot b82868bb7e
Merge pull request #74787 from jianglingxia/fixbugiscsi
fix bug iscsi volume attach failed of /sys/class/iscsi_host dir not e…
2019-03-06 09:50:51 -08:00
Rohit Jaini e0f51bcc2e Adding a check to make sure UseInstanceMetadata flag is true to get data from metadata. 2019-03-06 09:31:33 -08:00
Maciej Szulik ee7edb7765
Fix panic in kubectl cp command 2019-03-06 15:43:15 +01:00
Kubernetes Prow Robot bcbbb98f78
Merge pull request #70265 from jingyih/use_chunking_when_list_in_cronjob_controller
Retrieve list in chunks in cronjob controller
2019-03-06 04:45:59 -08:00
Kubernetes Prow Robot 997c981d3b
Merge pull request #74789 from cwdsuzhou/kubectl_invalid
Bugfix: kubectl shows last<invalid> if pv, pod or pvc is terminating using kubectl describe xxxx
2019-03-06 00:44:28 -08:00
Kubernetes Prow Robot 7bcdbc5a51
Merge pull request #74446 from yanghaichao12/comm0223
Fix typos
2019-03-05 23:24:00 -08:00
danielqsj 10ab3fb832 clean the deprecated metrics which introduced recently 2019-03-06 15:23:46 +08:00
Pingan2017 41536d7d02 add subcommand kubectl create cronjob 2019-03-06 15:12:21 +08:00
Kubernetes Prow Robot 5a89793f8e
Merge pull request #74612 from jingxu97/windows
Add GcePD windows support
2019-03-05 21:42:22 -08:00
Kubernetes Prow Robot 8b052158c7
Merge pull request #74477 from liggitt/webhook-admission-scope
Webhook admission scope
2019-03-05 21:42:11 -08:00
Cheng Pan 001d9c694e Add CSI migration logic for EBS Volume ID format 2019-03-05 23:11:43 +00:00
Kubernetes Prow Robot 4d1b830578
Merge pull request #74933 from yujuhong/fix-cpu-nano-cores
Fix computing of cpu nano core usage
2019-03-05 14:54:34 -08:00
Kubernetes Prow Robot d31427637b
Merge pull request #74926 from ddebroy/csiprov2
Add new CSI translation APIs required by CSI sidecars and unit tests
2019-03-05 14:54:21 -08:00
Kubernetes Prow Robot 5bc1e9b8ea
Merge pull request #74830 from msau42/lock-csi-ga
lock csi and plugin watcher GA feature gates
2019-03-05 14:54:10 -08:00
Kubernetes Prow Robot 98fa2c7d32
Merge pull request #74222 from Huang-Wei/kubelet-mirrorpod
kubelet: return mirror pod in GetActivePods()
2019-03-05 13:22:02 -08:00
Michelle Au 08330c37ca lock csi and plugin watcher GA feature gates 2019-03-05 09:59:05 -08:00
Kubernetes Prow Robot b033f0c1d1
Merge pull request #74907 from bsalamat/num_cpu
Revert "Use runtime.NumCPU() instead of a fixed value for parallel scheduler threads"
2019-03-05 09:50:36 -08:00
Kubernetes Prow Robot 0a4308f641
Merge pull request #74529 from liggitt/kubelet-service-links-error
Kubelet service links error
2019-03-05 09:49:59 -08:00
Yu-Ju Hong 191666d6a3 Fix computing of cpu nano core usage
CRI runtimes do not supply cpu nano core usage as it is not part of CRI
stats. However, there are upstream components that still rely on such
stats to function. The previous fix was faulty because the multiple
callers could compete and update the stats, causing
inconsistent/incoherent metrics. This change, instead, creates a
separate call for updating the usage, and rely on eviction manager,
which runs periodically, to trigger the updates. The caveat is that if
eviction manager is completley turned off, no one would compute the
usage.
2019-03-05 09:25:40 -08:00
Kubernetes Prow Robot e330c0120e
Merge pull request #74882 from feiskyer/convert-rg-to-lower
Convert resource group name in Azure provider ID to lower cases
2019-03-05 08:17:01 -08:00
Kubernetes Prow Robot dccb8ab5b0
Merge pull request #74615 from andrewsykim/delete-pvl-controller
Delete the out-of-tree PV labeler controller
2019-03-05 08:16:03 -08:00
Kubernetes Prow Robot 6c31101257
Merge pull request #74283 from xing-yang/csi_crd_controller
CSINodeInfo and CSIDriver Controller Changes
2019-03-05 04:44:42 -08:00
Kubernetes Prow Robot 43616fc920
Merge pull request #74033 from bart0sh/PR0060-kubeadm-975-RequiredIPVSKernelModulesAvailable-warning-seems-confusing
kubeadm: fix RequiredIPVSKernelModulesAvailable warning message
2019-03-05 02:04:03 -08:00
yanghaichao12 b475cdf7fc Fix typos
change SupportsPreemption

change comment again
2019-03-05 02:12:55 -05:00
adisky 3090b63414 Add CSI Migration feature flags for Cinder In tree Driver 2019-03-05 06:21:36 +00:00
caiweidong bdfd420c6d Bugfix: kubectl shows last<invalid> if pv, pod, pvc is terminating
fix describe ut
2019-03-05 14:03:34 +08:00
Pengfei Ni 1d61d8d4a4 Convert resource group name in Azure provider ID to lower cases 2019-03-05 11:22:17 +08:00
Deep Debroy 1fb4290c4e Update API names and references
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-03-04 19:13:05 -08:00
root b6e8f71fe0 fix bug iscsi volume attach failed of /sys/class/iscsi_host dir not exist 2019-03-05 10:46:47 +08:00
Xing Yang 6265f4f78c CSINodeInfo/CSIDriver controller changes
This is the 2nd PR to move CSINodeInfo/CSIDriver APIs to
v1beta1 core storage APIs. It includes controller side changes.
It depends on the PR with API changes:
https://github.com/kubernetes/kubernetes/pull/73883
2019-03-04 16:41:58 -08:00
Deep Debroy 1da91ad39a Add GetIntreeNameFromCSIName and SupersedesInTreePlugin APIs and unit tests
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-03-04 16:36:45 -08:00
Jordan Liggitt 1d4655c8ef generated files
Change-Id: I5a43a4e1a601b85d21b551fcfc9fdbd16a095d06
2019-03-05 00:30:12 +00:00
Jordan Liggitt 0797d81222 Add scope restrictions to webhook admission rules 2019-03-05 00:30:12 +00:00
Yassine TIJANI 5f7c60859c explicit the restartPolicy on the dockershim
This change explicits the restart policy, as on some docker version
(e.g. 11.07-ce) the default for this field is "". which seems to be not
respected by dockerd
2019-03-04 23:11:20 +01:00
Bobby (Babak) Salamat a1b8777d42 Revert "Merge pull request #73934 from bsalamat/num_cpu"
This reverts commit cfe4ca8012, reversing
changes made to f16035600a.
2019-03-04 13:14:25 -08:00
Kubernetes Prow Robot b1d4d40679
Merge pull request #74668 from sttts/sttts-kube-apiserver-endpoints-when-ready
kube-apiserver: don't create endpoints before being ready
2019-03-04 01:57:41 -08:00
Xing Yang ba4ccfa8b1 Add review comments in the APIs 2019-03-02 18:40:22 -08:00
andyzhangx 38f0908597 make funcs in azure cloud provider as public 2019-03-03 01:58:59 +00:00
Xing Yang 743d3a26e9 Add generated files 2019-03-02 12:31:05 -08:00
Xing Yang bb45b8ee34 Make CSINodeInfo and CSIDriver Core APIs
This PR is the first step to transition CSINodeInfo and CSIDriver
CRD's to in-tree APIs. It adds them to the existing API group
“storage.k8s.io” as core storage APIs.
2019-03-02 12:31:05 -08:00
Kubernetes Prow Robot cfe4ca8012
Merge pull request #73934 from bsalamat/num_cpu
Use runtime.NumCPU() instead of a fixed value for parallel scheduler threads
2019-03-01 23:04:17 -08:00
Kubernetes Prow Robot f16035600a
Merge pull request #73807 from dekkagaijin/discovery-hardening
harden the default RBAC discovery clusterrolebindings
2019-03-01 21:49:30 -08:00
Kubernetes Prow Robot cb89d8028a
Merge pull request #74769 from msau42/local-pv-ga
move local PV to GA
2019-03-01 19:14:34 -08:00
Kubernetes Prow Robot d8d260a09d
Merge pull request #74755 from liggitt/kubelet-watch
Revert kubelet to default to ttl cache secret/configmap behavior
2019-03-01 19:14:14 -08:00
Kubernetes Prow Robot ced9e30990
Merge pull request #74576 from datuanmac/trivial_fix_typos
Trivial fix typo
2019-03-01 19:14:03 -08:00
Jake Sanders 9c7d31928d harden the default RBAC discovery clusterrolebindings 2019-03-01 18:45:05 -08:00
Kubernetes Prow Robot 9b8c58644a
Merge pull request #74418 from danielqsj/duration
convert latency/latencies in metrics name to duration
2019-03-01 17:58:12 -08:00
Jean Rouge 5e3f3b35e0 Review comments
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-03-01 17:57:39 -08:00
Michelle Au 5f0847b515 move local PV to GA 2019-03-01 12:51:25 -08:00
Lubomir I. Ivanov e29c6e1b38 go-1.12: fix 'go vet' failures 2019-03-01 18:48:17 +02:00
Kubernetes Prow Robot 8c95a07b4b
Merge pull request #73007 from krmayankk/runasgroup
Promote RunAsGroup to Beta
2019-03-01 03:46:55 -08:00
Kubernetes Prow Robot a5ba825b1b
Merge pull request #74715 from andyzhangx/acr-public-access
fix Azure Container Registry anonymous repo image pull error
2019-03-01 02:29:40 -08:00
Dr. Stefan Schimanski 2a9a9fa155 kube-apiserver: first remove endpoints, then add when ready 2019-03-01 10:46:18 +01:00
Kubernetes Prow Robot caaad1be26
Merge pull request #72526 from justinsb/testdata_should_not_be_executable
Remove executable permission from testdata
2019-02-28 20:35:56 -08:00
Kubernetes Prow Robot 4f01eb528e
Merge pull request #74336 from littleroad/exited_container
cri_stats_provider: Implement removeTerminatedContainer correctly
2019-02-28 19:12:07 -08:00