Commit Graph

32370 Commits (8060d565946848abe4f67ffffb810dd3505fe4cb)

Author SHA1 Message Date
Michelle Au 2cba4e37c1 Add unit test for UnmountMountPoint 2019-01-04 13:45:07 -08:00
Michelle Au 99a3b4da55 Update doCleanSubpaths to use UnmountMountPoint 2019-01-04 13:45:07 -08:00
Michelle Au a2742e7688 Move unmount volume util from pkg/volume/util to pkg/util/mount 2019-01-04 13:45:07 -08:00
Bobby (Babak) Salamat fc52960d2e autogenerated files 2019-01-03 14:25:17 -08:00
Bobby (Babak) Salamat 67f9528eba Fix race in setting nominated node 2019-01-03 14:15:32 -08:00
Tim Pepper f93284e200 update cloud provider boilerplate
The pull-kubernetes-verify presubmit is failing on
verify-cloudprovider-gce.sh because it is a new year and thus current
test generated code doesn't match the prior committed generated code in
the copyright header.  The verifier is removed in master now, so for
simplicity and rather than fixing the verifier to ignore the header
differences for prior supported branched, this commit is the result of
rerunning hack/update-cloudprovider-gce.sh.

Signed-off-by: Tim Pepper <tpepper@vmware.com>
2019-01-03 09:53:50 -08:00
Richard Kojedzinszky 8916bfabab storage_scheduling: retry operation as intended
Fixes #72163
2018-12-29 12:38:22 +01:00
Laurent Bernaille 228c460e22 Protect Netlink calls with a mutex 2018-12-29 12:37:22 +01:00
Laurent Bernaille 3b3763cb15 Do not try to delete RS already in termination list 2018-12-28 17:16:19 +01:00
Laurent Bernaille 0864fd2f74 Add info message showing the reason for skipping deletion 2018-12-28 17:16:19 +01:00
Laurent Bernaille 9e8b5e9d63 Gofmt 2018-12-28 17:16:18 +01:00
Laurent Bernaille 089c277b6c Avoid unbinding multiple times for multiport svc 2018-12-28 17:16:18 +01:00
Laurent Bernaille d77f3a6795 Update test for new CleanupLegacyServices function 2018-12-28 17:16:18 +01:00
Laurent Bernaille 10beb23c84 Apply graceful termination logic when unbinding addresses 2018-12-28 17:16:18 +01:00
Laurent Bernaille cf42e01b04 Apply graceful termination when deleting a service 2018-12-28 17:16:18 +01:00
Michelle Au c5d9702fa8 Leave refactoring TODO 2018-12-27 13:06:27 -08:00
Michelle Au 97071e08a4 Check for volume-subpaths directory in orpahaned pod cleanup 2018-12-27 13:06:27 -08:00
Jordan Liggitt f248a6e7f4 Fix create secret docker-registry compatibility 2018-12-26 11:16:51 -05:00
wangqingcan b044594e66 Make scheduleinternalcache.PodFilter as public 2018-12-24 15:33:46 +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
andyzhangx 11527d6910 fix race condition when attach azure disk in vmss
fix gofmt issue
2018-12-21 02:58:29 +00:00
Tim Allclair 95e5a13184 Surface selected pod RuntimeHandler in Kubelet logs 2018-12-19 11:01:07 -08:00
saad-ali 6804ad6cba Ensure volume mount err checking done inside op
Ensure volume mount error checking is done inside the operation so that
failures get handled with exponential backoff, etc.
2018-12-18 10:46:14 -08:00
Laurent Bernaille caec159cb0 New sysctls to improve pod termination 2018-12-17 01:54:15 -08:00
andyzhangx 67d27ade0c fix kubelet log flushing issue in azure disk 2018-12-13 02:51:44 +00:00
David Ashpole 207f9308ea fix node and kubelet start times 2018-12-12 13:36:49 -08:00
Kubernetes Prow Robot eec55b9ba9
Merge pull request #71955 from apelisse/automated-cherry-pick-of-#71923-upstream-release-1.13
Automated cherry pick of #71923: diff: Fix overlapping filenames
2018-12-12 05:09:31 -08:00
Micah Hausler f377d6e441 Disable proxy to loopback and linklocal 2018-12-11 21:01:51 -08:00
Antoine Pelisse 4980403d4e diff: Make filename cross-platform compatible 2018-12-11 15:51:12 -08:00
Antoine Pelisse 934a62b8cb diff: Fix overlapping filenames
The filename can overlap when multiple resources have the same name (but
obviously are of a different type). Include the name of the type in the
file name to prevent the overlap.
2018-12-11 15:51:12 -08:00
Kubernetes Prow Robot aa27780442
Merge pull request #71916 from apelisse/automated-cherry-pick-of-#71854-upstream-release-1.13
Automated cherry pick of #71854: apply: fix detection of non-dry-run enabled servers
2018-12-11 13:46:48 -08:00
Kubernetes Prow Robot 83f920791c
Merge pull request #71931 from mlmhl/automated-cherry-pick-of-#71551-upstream-release-1.13
Automated cherry pick of #71551: activate unschedulable pods only if the node became more
2018-12-11 11:07:41 -08:00
Kubernetes Prow Robot 4be3fe4600
Merge pull request #71802 from soltysh/issue71772_1.13
Set delete propagation policy to background when removing jobs and its dependents
2018-12-11 11:07:30 -08:00
andyzhangx d5826fbe0a add VMSize info in attach/detach azure disk 2018-12-11 08:56:17 +00:00
mlmhl 27fcc2fc34 activate unschedulable pods only if the node became more schedulable 2018-12-11 11:09:14 +08:00
Kubernetes Prow Robot 5bcfca321f
Merge pull request #71881 from DataDog/automated-cherry-pick-of-#71515-upstream-release-1.13
Automated cherry pick of #71515 upstream release 1.13
2018-12-10 11:45:09 -08:00
Antoine Pelisse c7ba05ea47 apply: fix detection of non-dry-run enabled servers
Apply only checks that the server supports dry-run in the create path,
not the update path, which is pretty bad.
2018-12-10 10:28:10 -08:00
Kubernetes Prow Robot f61a8dd952
Merge pull request #71586 from harsh-px/automated-cherry-pick-of-#70392-upstream-release-1.13
Automated cherry pick of #70392: Lookup PX api port from k8s service
2018-12-10 07:44:33 -08:00
Kubernetes Prow Robot 190aab48c3
Merge pull request #71776 from feiskyer/automated-cherry-pick-of-#71736-upstream-release-1.13
Automated cherry pick of #71736: Fix Azure node's internal IP address
2018-12-10 05:03:58 -08:00
Laurent Bernaille de95511d4e Generalize handling of InactiveConn to TCP 2018-12-08 17:29:13 +01:00
Laurent Bernaille 437edead27 Handle UDP graceful termination
The current logic is to delete a RS if the number of active connections
is 0. This makes sense for TCP but for UDP the number of active
connections is always 0. This is an issue for DNS queries because the RS
will be deleted but the IPVS connection will remain until it expires
(5mn by default) and if there are a lot of DNS queries, the port will be
reused and queries blackholed. Of course for this to work properly the
service needs to continue to serve queries until the connections expire
(this works fine with the lameduck option of coredns).
2018-12-08 17:29:13 +01:00
Laurent Bernaille 0523ad6239 Fix logic of delete function 2018-12-08 17:29:13 +01:00
Laurent Bernaille 67fee7318d Display RS complete name in logs
Help distinguish UDP and TCP RS (useful for DNS which uses both)
2018-12-08 17:29:13 +01:00
Kubernetes Prow Robot 4abb4523e7
Merge pull request #71820 from liggitt/automated-cherry-pick-of-#71805-upstream-release-1.13
Automated cherry pick of #71805: Fix sort-by regression
2018-12-07 13:36:18 -08:00
Bobby (Babak) Salamat 612b3c9b95 Run old-style priority functions in parallel to the map-reduce style ones 2018-12-06 18:41:24 -08:00
Bobby (Babak) Salamat a2e74f2839 Avoid copying Extender struct while running priority functions 2018-12-06 18:41:24 -08:00
Bobby (Babak) Salamat 9ba01c45df Avoid copying PriorityConfig struct while running priority functions 2018-12-06 18:41:24 -08:00
Jordan Liggitt 2b13dd87af Fix sort-by regression 2018-12-06 16:58:19 -05:00
Maciej Szulik aeb35206be Set delete propagation policy to background when removing jobs and its dependents 2018-12-06 17:23:07 +01:00
Kubernetes Prow Robot ad728da0e6
Merge pull request #71770 from yue9944882/automated-cherry-pick-of-#71744-origin-release-1.13
Automated cherry pick of #71744: fixes autoscaling types conversion
2018-12-06 05:17:48 -08:00
Pengfei Ni f6e8f3b183 Fix Azure node's internal IP address
Only use the first IP address got from instance metadata. This is
because Azure CNI would setup a list of IP addresses in instance metata,
while only the first one is the Node's IP.
2018-12-06 15:18:15 +08:00
zuoxiu.jm ff4c2cd0ed fixes autoscaling types conversion 2018-12-06 12:42:55 +08:00
Bobby (Babak) Salamat 669c5f42bf autogenerated files 2018-12-03 11:34:24 -08:00
Bobby (Babak) Salamat eb31bbb8d2 Change sort function of the scheduling queue to avoid starvation 2018-12-03 11:34:24 -08:00
Harsh Desai 29bea17b39 Update portworx to move from glog to klog
Signed-off-by: Harsh Desai <harsh@portworx.com>
2018-11-29 18:28:07 -08:00
Harsh Desai 41076f175b cache portworx API port
- reused client whenever possible
- refactor get client function into explicit cluster-wide and local functions

Signed-off-by: Harsh Desai <harsh@portworx.com>
2018-11-29 18:28:07 -08:00
Harsh Desai 40cf4b75ea Lookup PX api port from k8s service
Fixes #70033

Signed-off-by: Harsh Desai <harsh@portworx.com>
2018-11-29 18:28:07 -08:00
saad-ali 18050e308c Allow CSI Drivers suporting 0.x/1.x to use old dir
Allow drivers implmenting both CSI 0.x and 1.x to use the old volume
plugin directory in addition to the the new volume plugin directory.
2018-11-28 11:11:37 -08:00
andyzhangx cd2930258c fix detch azure disk issue by clean vm cache 2018-11-28 06:25:09 +00:00
Vladimir Vivien e86bdc7989 Forces fsnotify CREATE and REMOVE to occur serially 2018-11-26 22:11:47 -05:00
k8s-ci-robot 1e50c57113
Merge pull request #70740 from mfpierre/fix-kubectl-get-sort-out-of-range
Fix index out of range error when sorting kubectl get
2018-11-24 12:19:06 -08:00
andyzhangx 7b14a5a2a0 should return error when attach/detach failed 2018-11-23 12:42:13 +00: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
k8s-ci-robot 20e1ab6744
Merge pull request #71314 from saad-ali/csi03Compat
Reintroduce CSI 0.3.x support in CSI Volume Plugin
2018-11-21 19:58:33 -08:00
saad-ali a7c5582bba Permit use of deprecated dir in device plugin. 2018-11-21 18:37:31 -08:00
saad-ali aa8244beb5 Modify CSI to handle both 0.3 and 1.0
Modify the CSI volume plugin to handle CSI version 0.x as well as 1.x
2018-11-21 18:37:31 -08:00
saad-ali d1b44857ad Add missing feature gate to CSI driver uninstall 2018-11-21 18:37:31 -08:00
saad-ali 2b44ec5e9c Reduce csipb dependencies
Remove csipb dependency from everywhere except the CSI client in
preperation for supporting multiple CSI clients.
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
k8s-ci-robot 9801572181
Merge pull request #71212 from cofyc/fix71068
Clear pod binding cache
2018-11-21 05:58:10 -08:00
k8s-ci-robot 28182b6606
Merge pull request #71156 from apelisse/race-condition-diff
Optimistic-locking on diff
2018-11-21 03:35:04 -08:00
Yecheng Fu 8fc00ebda6 Clear pod binding cache. 2018-11-21 11:24:53 +08:00
Antoine Pelisse a889f37505 Optimistic-locking on diff
There is currently a race-condition when diffing, where we get the
object and then run a server-side dry-run patch and compare the two
results. If something changes the object on the server between the get
and the patch, the diff is going to show unrelated changes. We can now
specify the exact revisionversion that we want to patch, and that will
return a conflict, and we can retry multiple times to get a
non-conflicting diff. Eventually (after 3 times), we diff without
checking the version and throw a warning that the diff might be
partially wrong.
2018-11-20 14:34:37 -08:00
Antoine Pelisse 89daa462ff Allow kubectl patcher to patch specific version
Give a new "ResourceVersion" option to the patch so that the patch can
be forced against a specific version. Also there is no way to customize
how many retries the patcher should do on conflicts, so also add a
"Retries" option that let's one customize it.
2018-11-20 14:34:08 -08:00
k8s-ci-robot 514a5b8f16
Merge pull request #70878 from jingxu97/Nov/repd
Remove useBetaAPI option from getReplicaZoneURI
2018-11-20 11:40:51 -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
k8s-ci-robot 7e621ccb08
Merge pull request #71063 from Huang-Wei/nodeinfo-clone-panic
fix a scheduler panic due to internal cache inconsistency
2018-11-16 20:27:44 -08:00
k8s-ci-robot 1f3057b7fb
Merge pull request #70898 from Huang-Wei/preemption-issue
ensure scheduler preemptor behaves in an efficient/correct path
2018-11-16 20:27:35 -08:00
k8s-ci-robot f38cc95505
Merge pull request #62692 from mikedanese/trev2
authn: extend authenticator.Token to support audience validation
2018-11-16 20:27:25 -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 4821291398
Merge pull request #71095 from msau42/csi-devicepath
Remove devicePath dependency for CSI volumes
2018-11-16 18:22:24 -08: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
k8s-ci-robot b6bbb01f04
Merge pull request #71058 from verult/nodeinfomanager-retry
Augmenting API call retry in nodeinfomanager; Revert #70891
2018-11-16 16:31:40 -08:00
Michelle Au 18453b01e6 Tolerate apiserver being older than controller-manager 2018-11-16 16:31:27 -08:00
Mike Danese effad15ecc patch webhook authenticator to support token review with arbitrary audiences 2018-11-16 19:30:42 -05:00
Mike Danese ed17876e52 plumb apiAudience to TokenReview registry 2018-11-16 19:30:42 -05:00
Lantao Liu 59e80cdac3 Fix kubelet panic.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-11-16 16:21:57 -08:00
Michelle Au 974d47ecf8 Remove devicePath dependency for CSI volumes 2018-11-16 15:40:35 -08:00
Mike Danese 162699ca30 autogenerated 2018-11-16 17:54:33 -05:00
Mike Danese 04837fdef1 authn: add Audiences to TokenReview 2018-11-16 17:54:33 -05:00
Wei Huang b4fd11512a
ensure scheduler preemptor behaves in an efficient/correct path
- don't update nominatedMap cache when Pop() an element from activeQ
- instead, delete the nominated info from cache when it's "assumed"
- unit test behavior adjusted
- expose SchedulingQueue in factory.Config
2018-11-16 14:22:15 -08:00
k8s-ci-robot 9878253c3c
Merge pull request #70998 from deads2k/client-07-listwatchtimeout
update the client generator to set a client-side timeout
2018-11-16 13:19:57 -08:00
Wei Huang a86ba8b3c4
fix a scheduler panic due to internal cache inconsistency 2018-11-16 13:02:13 -08:00
Cheng Xing ca18690ceb Augmenting API call retry in nodeinfomanager 2018-11-16 13:00:22 -08:00
k8s-ci-robot 4e9c2a7a9b
Merge pull request #71114 from Lion-Wei/ipvs-reuse
fix IPVS low throughput issue
2018-11-16 12:04:00 -08:00
k8s-ci-robot e26b730143
Merge pull request #71103 from Pingan2017/autoscale-sts-kubectl
support statefulset in kubectl autoscale command
2018-11-16 12:03:51 -08:00
k8s-ci-robot 1b059e577c
Merge pull request #71101 from seans3/qos-resource-fix
kubectl: small internal to external type fix
2018-11-16 12:03:41 -08:00
Matthew Wong 9bbf768ad6 Fix BlockVolume feature gate toggling in validation & defaults unit tests 2018-11-16 13:38:59 -05:00
Matthew Wong dd517c9ff2 Update all tests to account for BlockVolume enabled by default 2018-11-16 13:38:59 -05:00
Matthew Wong 2ff98f7832 Promote BlockVolume to beta 2018-11-16 13:38:59 -05:00
David Eads 8f7edec615 generated 2018-11-16 12:41:17 -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
Jordan Liggitt 358c092abe fix storage unit tests leaking feature flag changes 2018-11-16 10:52:52 -05:00
Michelle Au fd64c08240 Fix storage feature gate test setting 2018-11-16 10:49:40 -05:00
k8s-ci-robot 7c4d097faf
Merge pull request #71104 from yue9944882/chore/follow-up-cli-describer-externalization
Follow-up of #70950: Duplicated versioned client in describer
2018-11-16 07:34:39 -08: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 666739ac0c
Merge pull request #70580 from tsmetana/check-pvc-binding-again
PV Controller: fix recycling
2018-11-16 03:56:33 -08:00
k8s-ci-robot 6fc60428a7
Merge pull request #71020 from saad-ali/updateCSI10
Bump CSI Spec to 1.0.0 and gRPC to 1.13.0
2018-11-16 01:53:21 -08:00
k8s-ci-robot 1cdc918e11
Merge pull request #70728 from Pingan2017/remove-kubectl-run-container
Remove deprecated kubectl command aliases 'run-container'
2018-11-16 01:53:11 -08:00
k8s-ci-robot a856c7ab1d
Merge pull request #70973 from ping035627/k8s-181113
Refactor New function
2018-11-15 23:52:54 -08:00
liangwei f39060c604 set net/ipv4/vs/conn_reuse_mode to 0 2018-11-16 15:17:24 +08:00
k8s-ci-robot cde4c9ebe1
Merge pull request #68635 from mkimuram/issue/68424
CSI block volume refactor to fix target path
2018-11-15 21:35:42 -08:00
zuoxiu.jm 5ede82cdc7 fixes duplicated describer client 2018-11-16 11:30:05 +08:00
Pingan2017 c3bb1c4601 support statefulset in kubectl autoscale command 2018-11-16 10:42:39 +08:00
Sean Sullivan 6a57de315d kubectl: small internal to external type fix 2018-11-15 16:45:17 -08:00
saad-ali 09d3dce38a Update CSI client to pick up CSI v1.0.0 changes 2018-11-15 16:39:59 -08:00
Masaki Kimura 9c56b53390 Fix the comment for csi block pathes to make look the same to filesystem 2018-11-15 23:26:19 +00:00
k8s-ci-robot e615df9d23
Merge pull request #70950 from yue9944882/chore/prune-cli-describer-internal
Use versioned types in kubectl describer
2018-11-15 15:00:12 -08: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
k8s-ci-robot 7cf211d7de
Merge pull request #69196 from CaoShuFeng/job.yaml
fix kubectl wait with no resource name provided
2018-11-15 14:59:42 -08:00
Vladimir Vivien b195396154 Kubelet Plugin Registration v1 update fix 2018-11-15 17:40:35 -05:00
k8s-ci-robot 7b4d4bc8ac
Merge pull request #70508 from dashpole/pod_resources_socket
Add socket-based kubelet pod resources API.
2018-11-15 13:43:44 -08:00
k8s-ci-robot 504466c4e6
Merge pull request #68267 from liggitt/node-label-update
Limit kubelets from updating their own labels when NodeRestriction is enabled
2018-11-15 11:11:02 -08:00
David Ashpole 630cb53f82 add kubelet grpc server for pod-resources service 2018-11-15 09:43:20 -08:00
David Ashpole 288667f436 add KubeletPodResources feature-gate 2018-11-15 09:38:59 -08:00
David Ashpole aa9ba976ac generate go client for kubelet podresources API 2018-11-15 09:38:59 -08:00
David Ashpole 3ece501f6b add kubelet pod-resources API definition 2018-11-15 09:38:59 -08:00
zuoxiu.jm da9387131e prune internal clients from kubectl describer 2018-11-16 00:11:10 +08:00
Tomas Smetana f9c9ef6ec0 PV Controller: fix recycling
In the situation when a PVC is deleted and a new one with the same name
bound to a different PV the "old" PV may fail to recycle since it's
associaded with a PVC that is detected as being in use. This may cause
the recycler processes to hang.
2018-11-15 16:38:25 +01:00
k8s-ci-robot b1a52a38e9
Merge pull request #67257 from pbarker/audit
dynamic audit configuration
2018-11-15 02:42:59 -08:00
PingWang 9e760732c3 Refactor New function
Signed-off-by: PingWang <wang.ping5@zte.com.cn>

add comments for InitPolicyFromFile

Signed-off-by: PingWang <wang.ping5@zte.com.cn>

make the methods package private

Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2018-11-15 14:30:19 +08:00
k8s-ci-robot 843a67b215
Merge pull request #70559 from vladimirvivien/kubelet-plugin-watcher-ga
Graduate Kubelet plugin registration/watcher to GA
2018-11-14 20:35:08 -08:00
k8s-ci-robot 726c07eb26
Merge pull request #69929 from jsafrane/csi-ga
Promote CSIPersistentVolume feature to GA
2018-11-14 20:34:58 -08:00
k8s-ci-robot 012a438dbe
Merge pull request #68655 from goodluckbot/kubectl-cordon-drain-uncordon
Support multiple arguments for cordon and drain
2018-11-14 20:34:48 -08:00
Masaki Kimura 6d7b5f1d1b Delegate creation of publishPath to driver and allow creating device file directly 2018-11-15 01:14:12 +00:00
Patrick Barker 5cb70e369f adds dynamic audit configuration generated 2018-11-15 01:03:45 +00:00