Commit Graph

92737 Commits

Author SHA1 Message Date
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
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
Kubernetes Prow Robot
9ad74781c7
Merge pull request #91855 from SataQiu/fix-kubectl-2020060602
kubectl: fix the bug that kubectl autoscale does not honor --name flag
2020-07-09 00:04:10 -07:00
Kubernetes Prow Robot
ebc9b00193
Merge pull request #91851 from SataQiu/fix-kubectl-20200606
kubectl: honor --cache-dir so that server resources and http-cache data are stored in the same location
2020-07-09 00:03:56 -07:00
Kubernetes Prow Robot
1e3eeba9fa
Merge pull request #91577 from knabben/kubelet-bootstrap
kubelet: remove the --bootstrap-checkpoint-path feature
2020-07-09 00:03:41 -07:00
Kubernetes Prow Robot
422e4421f1
Merge pull request #91305 from ankeesler/ankeesler/exec-cred-prov-install-hint
exec credential provider: add install hint
2020-07-09 00:03:27 -07:00
Kubernetes Prow Robot
8d7aaa5e7b
Merge pull request #90094 from aylei/aylei/debug-by-copy
Add debug by copy support for kubectl alpha debug command
2020-07-09 00:03:12 -07:00
Kubernetes Prow Robot
4ee555252c
Merge pull request #83710 from edwardstudy/ed/typo
Fix comment typos in pkg/kubelet/prober
2020-07-09 00:02:58 -07:00
Kubernetes Prow Robot
21953d15ea
Merge pull request #92892 from Huang-Wei/rm-DisablePreemption
Remove DisablePreemption field from KubeSchedulerConfiguration
2020-07-08 14:20:35 -07:00
Ted Yu
a76a959294 Respect grace period when removing mirror pod
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-07-08 13:38:24 -07:00
Wei Huang
d65a97848e
codegen 2020-07-08 09:58:42 -07:00
Wei Huang
4b26ef2217
Remove DisablePreemption field from SchedulerConfig v1beta1
DisablePreemption field can be removed as it can be deduced from PostFilterPlugins.
2020-07-08 09:58:42 -07:00
Kubernetes Prow Robot
bc60bdaded
Merge pull request #91127 from aubm/refactor-command-kubectl-create-clusterrolebinding
Remove the dependency between create clusterrolebinding command and generators
2020-07-08 08:17:08 -07:00
Divyen Patel
e01de65444 setting CSIMigrationvSphere feature gates to beta 2020-07-08 07:36:44 -07:00
Mike Dame
9a32a70fcf Add kubebuilder validation tags to Condition type 2020-07-08 10:21:30 -04:00
David Eads
bd76293647 add validation for metav1 conditions 2020-07-08 10:12:08 -04:00
David Eads
e5fdc77a3d add validation for metav1 conditions 2020-07-08 09:23:44 -04:00
Kubernetes Prow Robot
9eced04014
Merge pull request #91007 from lsytj0413/fix-89443
test(e2e_node): Parallelize prepulling all images in `e2e_node` tests
2020-07-08 04:19:07 -07:00
Maciej Szulik
9e5c533cb6
Strip .meta.managedFields for kubectl edit command 2020-07-08 12:17:19 +02:00
Damien Grisonnet
ceb8c2fbf4 Fix v1beta1 events printing in kubectl
printers: handle series when printing events
printers: handle singleton when printing events

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2020-07-08 12:09:41 +02:00
Alena Varkockova
25f0ebc827 adds dynamic certificate reloading for kube aggregator
Co-authored-by: Lukasz Szaszkiewicz <lukasz.szaszkiewicz@gmail.com>
Co-authored-by: David Eads <deads@redhat.com>
2020-07-08 11:24:21 +02:00
Patrick Ohly
30f93802a7 storage capacity: check pod events to finish negative tests faster
By creating CSIStorageCapacity objects in advance, we get the
FailedScheduling pod event if (and only if!) the test is expected to
fail because of insufficient or missing capacity. We can use that as
indicator that waiting for pod start can be stopped early. However,
because we might not get to see the event under load, we still need
the timeout.
2020-07-08 08:02:26 +02:00
Patrick Ohly
bd0579103a e2e storage: dead code removal and cleanup
Setting testParameters.scName had no effect because
StorageClassTest.StorageClassName isn't used anywhere. Instead, the
storage class name is generated dynamically.
2020-07-08 08:02:26 +02:00
Patrick Ohly
cf735a3bf7 CSIStorageCapacity: integration test
This is similar to the E2E test, it just doesn't need a real cluster.
2020-07-08 08:02:26 +02:00
Patrick Ohly
567ce87aee CSIStorageCapacity: E2E test with mock driver
We can create CSIStorageCapacity objects manually, therefore we don't
need the updated external-provisioner for these tests.
2020-07-08 08:02:26 +02:00
Ciprian Hacman
9a23ee02b3 Use Pause image for DisruptionController tests 2020-07-08 06:40:41 +03:00
Kubernetes Prow Robot
bf94f27e76
Merge pull request #92716 from rajansandeep/removefederation
[kubeadm]: Remove kube-dns translation for federation
2020-07-07 19:55:06 -07:00
Rob Scott
8039cf9bb1
Graduating EndpointSliceProxying to beta for Linux 2020-07-07 14:18:03 -07:00
Kubernetes Prow Robot
7de3f938c8
Merge pull request #92873 from liggitt/admission-flake
Deflake timeout admission test
2020-07-07 13:28:06 -07:00
Kenichi Omichi
e1f4d5b110 Add nodeHasControlPlanePods()
DeprecatedMightBeMasterNode() has been marked as deprecated and we need to
find alternative way for callers of the function.
In NewResourceUsageGatherer(), the function was called for distinguishing
the specified pods are running on master nodes, and the gatherer gathers
those pods' resource usage.
This adds nodeHasControlPlanePods() to gistinguish the specified pods
are running on nodes which are operating control plane pods (kube-scheduler
and kube-controller-manager) and replace callers of DeprecatedMightBeMasterNode()
with this new function as better way.
2020-07-07 18:19:22 +00:00
Andrew Keesler
eefed60e23 Fix typo: authentiction -> authentication
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2020-07-07 13:51:11 -04:00
Andrew Keesler
94e2065df2 exec credential provider: add install hint
This commit adds the ability for users to specify an install hint for
their exec credential provider binary.

In the exec credential provider workflow, if the exec credential binary
does not exist, then the user will see some sort of ugly

  exec: exec: "does-not-exist": executable file not found in $PATH

error message.  If some user downloads a kubeconfig from somewhere, they
may not know that kubectl is trying to use a binary to obtain
credentials to auth to the API, and scratch their head when they see
this error message.  Furthermore, even if a user does know that their
kubeconfig is trying to run a binary, they might not know how to obtain
the binary.  This install hint seeks to ease the above 2 user pains.

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2020-07-07 13:50:48 -04:00
Jordan Liggitt
dcc536097a Deflake timeout admission test 2020-07-07 13:36:07 -04:00
Kubernetes Prow Robot
5afc42de95
Merge pull request #78373 from tedyu/sort-init-container
Sort init container statuses using non-nested loop
2020-07-07 09:13:58 -07:00
Aldo Culquicondor
27ec356d76 Add SIG storage owner aliases
And give ownership to pkg/scheduler/framework/plugins/volumebinding

Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: I4bd89b1745a2be0e458601056ab905bdd6692195
2020-07-07 10:26:16 -04:00
yuzhiquan
8e6a2660a8 fix json log verbose
remove vmodule support; add klog v test case;some refactor

update follow review comment

add enabled test case, and some nit

fix enabled func

fix as review comment
2020-07-07 19:36:16 +08:00
Kubernetes Prow Robot
7e75a5ef43
Merge pull request #87273 from SaranBalaji90/kubelet-log-file
Add support for disabling /logs endpoint in kubelet
2020-07-07 04:09:58 -07:00
Kubernetes Prow Robot
aaf40adcd0
Merge pull request #92461 from Haleygo/001
update static check failed from pkg/volume/rbd
2020-07-07 00:57:58 -07:00
Kevin Klues
26cb650655 Remove unnecessary union after call to GetPreferredAllocation()
There is no need to try and allocate already-allocated devices again.
2020-07-07 06:35:57 +00:00
Kevin Klues
67ecc11c44 Harden callGetPreferredAllocationIfAvailable() return value
Previously, we didn't check the contents of the result after calling out
to the plugin endpoint. This could have resulted in errors if the plugin
returned either 'nil' or an empty result. This patch fixes this.
2020-07-07 06:35:57 +00:00
Kevin Klues
d87365494a Fix bug in call to callGetPreferredAllocationIfAvailable()
Previously, we were passing the variable 'devices' to this function,
when we should have been passing 'allocated'. This bug crept in due to a
variable name change that didn't propogate its way through the entire
function. The tests added in the previous commit would have caught this.
2020-07-07 06:35:57 +00:00
Kevin Klues
d551ab1e78 Add tests to check paramaters passed to GetPreferredAllocation()
These tests uncovered some small bugs that will be fixed in a subsequent
set of commits.
2020-07-07 06:35:57 +00:00