Commit Graph

6877 Commits (8060d565946848abe4f67ffffb810dd3505fe4cb)

Author SHA1 Message Date
Darren Shepherd 4c3f32128e Update FindCgroupMountpointAndRoot to be compatible with newer runc 2019-02-22 08:57:02 -07:00
Darren Shepherd 81bf95ba62 Delete systemd cgroup support 2019-02-22 08:57:02 -07:00
Darren Shepherd c3b7ce5f9b Delete cloud provider 2019-02-22 08:57:02 -07:00
Darren Shepherd d4b818cffc Remove KubeletPodResources 2019-02-22 08:57:02 -07:00
Darren Shepherd d35f1abb03 Remove RuntimeClass 2019-02-22 08:57:02 -07:00
Darren Shepherd 77fdca0b30 Remove VolumeSubpathEnvExpansion 2019-02-22 08:57:02 -07:00
Darren Shepherd e4b271a0d0 Remove HyperVContainer 2019-02-22 08:57:02 -07:00
Darren Shepherd 9795791a6f Remove SupportPodPidsLimit 2019-02-22 08:57:02 -07:00
Darren Shepherd bb795a387b Remove MountContainers 2019-02-22 08:57:02 -07:00
Darren Shepherd 581ce05d6e Remove CPUCFSQuotaPeriod 2019-02-22 08:57:02 -07:00
Darren Shepherd 5740ea08ca Remove ExpandInUsePersistentVolumes 2019-02-22 08:57:02 -07:00
Darren Shepherd 9d33f0aca5 Remove QOSReserved 2019-02-22 08:57:02 -07:00
Darren Shepherd a34750991f Remove DebugContainers 2019-02-22 08:57:02 -07:00
Darren Shepherd 3f477b64d7 Remove ExperimentalCriticalPodAnnotation 2019-02-22 08:57:02 -07:00
Darren Shepherd 20baab69dc Remove coordination/v1beta1 2019-02-22 08:57:02 -07:00
Kubernetes Prow Robot 536677693a
Merge pull request #72266 from cofyc/automated-cherry-pick-of-#71509-upstream-release-1.13
Automated cherry pick of #71509: Fix device mountable volume names in DSW
2019-01-07 23:39:35 -08:00
Kubernetes Prow Robot 31c32d75a9
Merge pull request #72379 from msau42/automated-cherry-pick-of-#72291-upstream-release-1.13
Automated cherry pick of #72291: Check for volume-subpaths directory in orpahaned pod
2019-01-05 13:47:29 -08:00
Kubernetes Prow Robot 793fde6d10
Merge pull request #72209 from tallclair/automated-cherry-pick-of-#72135-upstream-release-1.13
cherry pick #72135 to 1.13: Surface selected pod RuntimeHandler in Kubelet logs
2019-01-05 09:44:03 -08:00
Michelle Au 97071e08a4 Check for volume-subpaths directory in orpahaned pod cleanup 2018-12-27 13:06:27 -08:00
Yecheng Fu 455b8d5f62 Add unit test to verify generated volume names. 2018-12-21 11:55:30 +08:00
Yecheng Fu 3b64f902c7 Rename GetUniqueVolumeNameForNonAttachableVolume to GetUniqueVolumeNameFromSpecWithPod 2018-12-21 11:55:30 +08:00
Yecheng Fu 1e44e07c80 Fix device mountable volume names in DSW 2018-12-21 11:55:30 +08:00
Tim Allclair 95e5a13184 Surface selected pod RuntimeHandler in Kubelet logs 2018-12-19 11:01:07 -08:00
David Ashpole 207f9308ea fix node and kubelet start times 2018-12-12 13:36:49 -08:00
Vladimir Vivien e86bdc7989 Forces fsnotify CREATE and REMOVE to occur serially 2018-11-26 22:11:47 -05:00
k8s-ci-robot 205eaee0e5
Merge pull request #71145 from gnufied/test-mounted-detach
Fix volume detach while mount in progress
2018-11-22 23:27:48 -08:00
k8s-ci-robot 12e5eb7dc9
Merge pull request #71011 from sigma/pr/fix-inotify
replace golang.org/x/exp/inotify with standalone library
2018-11-22 18:07:51 -08:00
saad-ali a7c5582bba Permit use of deprecated dir in device plugin. 2018-11-21 18:37:31 -08:00
saad-ali 8f666d9e41 Modify kubelet watcher to support old versions
Modify kubelet plugin watcher to support older CSI drivers that use an
the old plugins directory for socket registration.
Also modify CSI plugin registration to support multiple versions of CSI
registering with the same name.
2018-11-21 18:37:31 -08:00
Hemant Kumar d2b6e30143 Fix bug with volume getting marked as not in-use with pending op
Add test for verifying volume detach
2018-11-20 11:58:47 -05:00
Clayton Coleman 3464222267
Revert "Make bootstrap client cert loading part of rotation"
This reverts commit 0af19875ad.

Revert "Ensure the bootstrap rotation code is tested by forcing rotation"

This reverts commit de293b2d7d.
2018-11-17 10:24:39 -05:00
k8s-ci-robot e3420cc46f
Merge pull request #70494 from RenaudWasTaken/pluginwatcher
Ignore non socket files in the kubelet plugin watcher
2018-11-16 22:46:42 -08:00
k8s-ci-robot 3be3510814
Merge pull request #69890 from smarterclayton/bootstrap_retry
Make bootstrap client cert loading part of rotation
2018-11-16 22:46:33 -08:00
k8s-ci-robot ec2e767e59
Merge pull request #71167 from msau42/block-beta
Promote raw block volume support to beta
2018-11-16 20:28:03 -08:00
k8s-ci-robot df8ad8eae1
Merge pull request #71166 from Random-Liu/fix-kubelet-panic
Fix kubelet panic.
2018-11-16 20:27:53 -08:00
Clayton Coleman de293b2d7d
Ensure the bootstrap rotation code is tested by forcing rotation
Expose both a Stop() method (for cleanup) and a method to force
cert rotation, but only expose Stop() on the interface.

Verify that we choose the correct client.
2018-11-16 21:50:52 -05:00
Clayton Coleman 0af19875ad
Make bootstrap client cert loading part of rotation
Ensure that bootstrap+clientcert-rotation in the Kubelet can:

1. happen in the background so that static pods aren't blocked by bootstrap
2. collapse down to a single call path for requesting a CSR
3. reorganize the code to allow future flexibility in retrieving bootstrap creds

Fetching the first certificate and later certificates when the kubelet
is using client rotation and bootstrapping should share the same code
path. We also want to start the Kubelet static pod loop before
bootstrapping completes. Finally, we want to take an incremental step
towards improving how the bootstrap credentials are loaded from disk
(potentially allowing for a CLI call to get credentials, or a remote
plugin that better integrates with cloud providers or KSMs).

Reorganize how the kubelet client config is determined. If rotation is
off, simplify the code path. If rotation is on, load the config
from disk, and then pass that into the cert manager. The cert manager
creates a client each time it tries to request a new cert.

Preserve existing behavior where:

1. bootstrap kubeconfig is used if the current kubeconfig is invalid/expired
2. we create the kubeconfig file based on the bootstrap kubeconfig, pointing to
   the location that new client certs will be placed
3. the newest client cert is used once it has been loaded
2018-11-16 21:50:26 -05:00
k8s-ci-robot f877b2257a
Merge pull request #71074 from jsafrane/volume-manager-races
Fix race between MountVolume and UnmountDevice
2018-11-16 18:22:14 -08:00
Renaud Gaubert 1a3fbf1f13 Update e2e tests to include CSI 2018-11-17 01:52:57 +01:00
Renaud Gaubert 229418f261 Update pluginwatcher to ignore CSI metadata dir and non socket files 2018-11-17 01:51:00 +01:00
Lantao Liu 59e80cdac3 Fix kubelet panic.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-11-16 16:21:57 -08:00
Matthew Wong dd517c9ff2 Update all tests to account for BlockVolume enabled by default 2018-11-16 13:38:59 -05:00
Jordan Liggitt 733dd9dfd7 Add tests to ensure feature gate changes don't escape kubelet/scheduler packages 2018-11-16 10:52:53 -05:00
Jordan Liggitt de8bf9b63d fix scheduler and kubelet unit tests leaking feature flag changes 2018-11-16 10:52:53 -05:00
Jordan Liggitt 248d661327 Add tests to ensure storage feature gate changes don't escape packages 2018-11-16 10:52:53 -05:00
Michelle Au fd64c08240 Fix storage feature gate test setting 2018-11-16 10:49:40 -05:00
k8s-ci-robot 92fe9d9491
Merge pull request #71081 from vladimirvivien/kubelet-plugin-watcher-ga-fix
Kubelet Plugin Registration GA migration fix
2018-11-16 05:13:18 -08:00
Jan Safranek 5283537401 Fixed clearing of devicePath after UnmountDevice
UnmountDevice must not clear devicepath, because such devicePath
may come from node.status (e.g. on AWS) and subsequent MountDevice
operation (that may be already enqueued) needs it.
2018-11-16 13:24:42 +01:00
k8s-ci-robot e4ee887121
Merge pull request #69303 from appian/host_aliases_on_same_line
Write HostAliases aliases on same line per host IP
2018-11-15 14:59:52 -08:00
Vladimir Vivien b195396154 Kubelet Plugin Registration v1 update fix 2018-11-15 17:40:35 -05:00