Commit Graph

93232 Commits

Author SHA1 Message Date
andyzhangx
a552c7640f fix: license issue in blob disk feature 2020-07-10 01:10:10 +00:00
wfender
22dafd9406 Adding cheftako to pkg/controller/OWNERS 2020-07-09 16:10:59 -07:00
Kubernetes Prow Robot
dd649bb7ef
Merge pull request #91342 from mgugino-upstream-stage/evict-deleted-ok
Eviction: ignore PDBs if pods with DeletionTimestamp
2020-07-09 15:30:33 -07:00
Patrick Ohly
c1178bd925 GenericEphemeralVolume: kubectl describe
This reuses the code for describing a PVC, except that the output gets
indented more and some fields are skipped.
2020-07-09 23:29:24 +02:00
Patrick Ohly
2468a24b7a GenericEphemeralVolume: E2E test
This extends the existing "ephemeral volume" tests to also cover
generic ephemeral inline volumes. They get instantiated for all
drivers (CSI and others) which support persistent volume provisioning,
for several different filesystems.

Configuring the number of inline volumes via a flag with a computed
name had been identified as problematic before and now gets removed
because re-using the tests as a stress test with a higher number of
volumes should be added and configured separately.
2020-07-09 23:29:24 +02:00
Patrick Ohly
ff3e5e06a7 GenericEphemeralVolume: initial implementation
The implementation consists of
- identifying all places where VolumeSource.PersistentVolumeClaim has
  a special meaning and then ensuring that the same code path is taken
  for an ephemeral volume, with the ownership check
- adding a controller that produces the PVCs for each embedded
  VolumeSource.EphemeralVolume
- relaxing the PVC protection controller such that it removes
  the finalizer already before the pod is deleted (only
  if the GenericEphemeralVolume feature is enabled): this is
  needed to break a cycle where foreground deletion of the pod
  blocks on removing the PVC, which waits for deletion of the pod

The controller was derived from the endpointslices controller.
2020-07-09 23:29:24 +02:00
Stephen Heywood
9520a87488 Fix metadata formatting 2020-07-09 21:16:22 +00:00
Tim Allclair
1f991f8a2f Don't return proxied redirects to the client 2020-07-09 11:43:17 -07:00
Jing Xu
31db94c848 Fix subPath tests for Windows
Windows test for subPath is failing due to an issue related to
removeUnusedContainers calls. After image is changed to Agnhost, it
automatically has a args by default. However, there are places to use
container commands instead of args and causing issues.

This is the first step to fix this issue. Next plan to replace
busybox used in Linux with Agnhost which can work for both linux and
windows.

I also mark two subPath tests as LinuxOnly. I think they are not ready
for windows yet. Before they were passing due to wrong reason. The tests
checks failed container status but the contain fails due to other
reasons than what we expected.
2020-07-09 11:14:17 -07:00
David Ashpole
1f70708f6c update cAdvisor to v0.37.0 2020-07-09 10:23:10 -07:00
Andi Li
b64f05b70a Change expected content to string constant. Cleanup DeleteAndWaitSnapshot
Use the correct format specifier
2020-07-09 16:30:16 +00:00
Kubernetes Prow Robot
82baa26905
Merge pull request #92753 from QianChenglong/fix/kubeadm-altnames
kubeadm: remove duplicate DNS names and IP addresses from generated certificates
2020-07-09 09:10:20 -07:00
Kubernetes Prow Robot
3a5e7ea986
Merge pull request #92752 from chendave/skip_preemption
Cut off the cost to run filter plugins when no victim pods are found
2020-07-09 09:10:10 -07:00
Kubernetes Prow Robot
1b4e904183
Merge pull request #92745 from hakman/disruption-image-busybox
Use Pause image for DisruptionController tests
2020-07-09 09:10:00 -07:00
Kubernetes Prow Robot
10aeb93e07
Merge pull request #92736 from robscott/endpointslice-proxying-beta
Graduating EndpointSliceProxying to beta for Linux
2020-07-09 09:09:48 -07:00
Kubernetes Prow Robot
a9ce8c4fed
Merge pull request #92717 from deads2k/condition-helpers-00
add helpers for managing conditions
2020-07-09 09:09:38 -07:00
Kubernetes Prow Robot
026cd0e2d7
Merge pull request #92709 from knabben/e2e-kubelet-config
Fetching Kubelet address from Kubelet configuration for e2e test
2020-07-09 09:09:28 -07:00
Kubernetes Prow Robot
cf87ecff9b
Merge pull request #92687 from yue9944882/bugfix/suggested-global-default-rule
Fixes suggested global-default flow-schema rules
2020-07-09 09:09:18 -07:00
Kubernetes Prow Robot
1e360540f8
Merge pull request #92681 from ArchangelSDY/fix-vmss-cache
Fix a condition when expiring nil VM entry in VMSS cache
2020-07-09 09:08:06 -07:00
Kubernetes Prow Robot
cada2eb74d
Merge pull request #92660 from damemi/condition-validation
Add kubebuilder tags to Condition type
2020-07-09 09:07:55 -07:00
Kubernetes Prow Robot
883e4eb487
Merge pull request #92627 from oomichi/remove-Deprecated
Add nodeHasControlPlanePods()
2020-07-09 09:07:45 -07:00
Kubernetes Prow Robot
1f89f42602
Merge pull request #92621 from spiffxp/simplify-configmap-lifecycle-test
Simplify ConfigMap lifecycle e2e test
2020-07-09 09:07:31 -07:00
Kubernetes Prow Robot
9a343edd1f
Merge pull request #92519 from deads2k/condition-validation
add validation functions for metav1.Conditions
2020-07-09 09:07:15 -07:00
Kubernetes Prow Robot
fe43b104ba
Merge pull request #91745 from Bisnode/gh-87369
Presence of bearer token should cancel exec action
2020-07-09 09:07:00 -07:00
Kubernetes Prow Robot
6dd8d7131f
Merge pull request #91529 from bart0sh/PR0090-remove-benchmark.yaml
Remove unused e2e test image config
2020-07-09 09:06:46 -07:00
Kubernetes Prow Robot
d9b084a9d1
Merge pull request #89629 from fatedier/subpath
Modified subpath configmap mount fails when container restarts
2020-07-09 09:06:32 -07:00
Sandeep Rajan
2d574a647e update the corefile-migration library to v1.0.10 which includes support for coredns up to v1.7.0 2020-07-09 11:09:13 -04:00
Sandeep Rajan
04038fc791 update coredns version to 1.7.0 2020-07-09 11:01:45 -04:00
Joe Betz
3c2842fbc6 Add ownership transfer test 2020-07-09 06:18:59 -07:00
Joe Betz
ec136db9ce Add server side apply unsetting field tests 2020-07-09 06:18:58 -07:00
Joe Betz
11c38a9c70 Bump to sigs.k8s.io/structured-merge-diff 43c19b to pick up unsetting fields changes PR#166 2020-07-09 06:18:00 -07:00
David Eads
1233a6f63e generated 2020-07-09 08:14:55 -04:00
David Eads
e88fecf26b allow setting different certificates for kube-controller-managed CSR signers 2020-07-09 08:14:55 -04:00
Kubernetes Prow Robot
70e09f2c24
Merge pull request #88842 from angao/fit-arg
add args for NodeResourcesFit plugin
2020-07-09 05:04:10 -07:00
Lee Verberne
7e63cc8b9d kubectl debug: add support for debugging nodes
When called with a node target, `kubectl debug` will create a run-once
pod in the target node's namespaces.
2020-07-09 11:27:53 +02:00
Patrick Ohly
af91e76df8 e2epod: use foreground deletion
This is useful in case that the pod owns some resources, because then
waiting for the pod ensures that those resources also were removed.

This should not matter at the moment because pods typically are not
owners of any other object, but that will change with the introduction
of generic ephemeral inline
volumes (https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1698-generic-ephemeral-volumes).
2020-07-09 11:03:03 +02:00
Patrick Ohly
32fdf688b3 GenericEphemeralVolume: 'make update' for API 2020-07-09 11:03:03 +02:00
Patrick Ohly
c05c8e915b GenericEphemeralVolume: feature gate, API, documentation
As explained in
https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1698-generic-ephemeral-volumes,
CSI inline volumes are not suitable for more "normal" kinds of storage
systems. For those a new approach is needed: "generic ephemeral inline
volumes".
2020-07-09 11:02:59 +02:00
Maciej Szulik
6c6cd2deeb
Setup cache dirs properly based on --cache-dir value 2020-07-09 10:41:51 +02:00
Giuseppe Scrivano
0d2a493a8f
kubelet: skip setting the devices cgroup
use the new libcontainer feature of skipping setting the devices
cgroup.  This is necessary on cgroup v2 to avoid leaking a eBPF
program every time the cgroup is re-configured.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-07-09 09:37:46 +02:00
Giuseppe Scrivano
c655a5b636
vendor: update github.com/opencontainers/runc
when the systemd cgroup manager is used, controllers not handled by
systemd are created manually afterwards.
libcontainer didn't correctly cleanup these cgroups that were leaked
on cgroup v1.

Closes: https://github.com/kubernetes/kubernetes/issues/92766

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-07-09 09:37:45 +02:00
Kubernetes Prow Robot
896da2253c
Merge pull request #92611 from liggitt/go1.13
Tolerate go 1.13 builds
2020-07-09 00:05:50 -07:00
Kubernetes Prow Robot
a28e807c83
Merge pull request #92546 from liggitt/list-meta
Reference listmeta in CR openapi
2020-07-09 00:05:40 -07:00
Kubernetes Prow Robot
83f50ba0e8
Merge pull request #92542 from dgrisonnet/cli-fix-event-series
Fix v1beta1.Event printing in kubectl
2020-07-09 00:05:30 -07:00
Kubernetes Prow Robot
55d77ade67
Merge pull request #92489 from alculquicondor/sig-storage-ownership
Add SIG storage owner aliases
2020-07-09 00:05:20 -07:00
Kubernetes Prow Robot
2e6d06c13a
Merge pull request #92479 from ii/heyste-delete-core-v1-collection-namespaced-pod-test
Create deleteCoreV1CollectionNamespacedPod test - +1 endpoint coverage
2020-07-09 00:05:10 -07:00
Kubernetes Prow Robot
94a08e159a
Merge pull request #92387 from pohly/csi-storage-capacity
CSI storage capacity check
2020-07-09 00:04:59 -07:00
Kubernetes Prow Robot
c2e6e147be
Merge pull request #92160 from YuikoTakada/add_deprecated_description_scheduling_duration_seconds
Add Deprecated description to metrics scheduling_duration_seconds
2020-07-09 00:04:48 -07:00
Kubernetes Prow Robot
f861a04ee7
Merge pull request #91946 from soltysh/strip_managed_fields
Strip .meta.managedFields for kubectl edit command
2020-07-09 00:04:39 -07:00
Kubernetes Prow Robot
7fc3d9771b
Merge pull request #91858 from SataQiu/fix-kubectl-2020060603
kubectl: fix the bug that kubectl scale does not honor --timeout flag
2020-07-09 00:04:24 -07:00