Commit Graph

33652 Commits (40238163d119aa938e664e6683b00f60696198ac)

Author SHA1 Message Date
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