Mike Fedosin
bac2291141
Allow to define kubeconfig file for OpenStack cloud provider
...
Now, to build a kubernetes client, provider uses only in-cluster config,
but if kubelet is not running as a pod, then it doesn't work.
This commit adds an ability to specify a path to the kubeconfig file if
necessary. If no value was provided, then the provider falls back to
in-cluster config.
2019-05-05 00:31:14 +02:00
caiweidong
62fe5fe7b8
add common func for NewAttacher and NewDetacher
2019-05-04 11:08:28 +08:00
caiweidong
5d89ab26e9
Add detacher assert for csiAttacher
2019-05-04 10:43:46 +08:00
Jordan Liggitt
63ddfc1db9
Lock GCERegionalPersistentDisk feature on
2019-05-03 14:21:34 -04:00
Humble Chirammal
427df38c6b
Avoid duplicate error reporting in glusterfs
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-05-03 13:42:36 +05:30
Kubernetes Prow Robot
ca21efd1c5
Merge pull request #76983 from humblec/rotate
...
Shuffle addresslist for random mount server and cleanup error messages.
2019-05-03 01:02:47 -07:00
Humble Chirammal
745f12837f
Rename createEndpointService() to createOrGetEndpointService()
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-05-02 21:06:54 +05:30
Kubernetes Prow Robot
b07f311322
Merge pull request #76882 from SataQiu/fix-golint-controller-20190422
...
Fix golint failures of pkg/controller/certificates/approver, etc
2019-05-02 03:16:18 -07:00
Kubernetes Prow Robot
9e52832c52
Merge pull request #77317 from gnufied/fix-block-volume-resizing
...
Fix block volume expansion
2019-05-01 20:42:56 -07:00
SataQiu
d76f1a8fd6
fix golint failures of pkg/volume/util/recyclerclient
2019-05-02 10:27:56 +08:00
Kubernetes Prow Robot
b5c34d0c43
Merge pull request #74734 from codenrhoden/move-mountspath
...
Move MountsInGlobalPDPath from mount pkg to volume
2019-05-01 17:28:18 -07:00
Hemant Kumar
0eb68c5a22
Fix blockvolume expansion
2019-05-01 18:25:54 -04:00
Kubernetes Prow Robot
2b561456ce
Merge pull request #77101 from davidz627/feature/migrationTest
...
Add testing infra for checking whether an in-tree plugin is using backend that is shimmed to CSI
2019-05-01 14:32:30 -07:00
David Zhu
1271237d23
Add migration metrics checking to all test suites
2019-05-01 11:24:03 -07:00
Humble Chirammal
a3c1a6da02
Error message corrections
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-05-01 13:36:52 +05:30
Kubernetes Prow Robot
9466118e8f
Merge pull request #77229 from tedyu/csi-node-expansion
...
Return early when node expansion is determined
2019-04-30 17:31:25 -07:00
Kubernetes Prow Robot
55a052481d
Merge pull request #76944 from SataQiu/fix-golint-volume-20190423
...
Fix golint failures of pkg/volume/nfs
2019-04-30 17:31:12 -07:00
Kubernetes Prow Robot
a69702e83a
Merge pull request #76755 from ping035627/k8s-190418
...
delete some unused code for awsebs
2019-04-30 07:05:39 -07:00
Ted Yu
ebe499ec80
Remove variable nodeExpandSet
2019-04-30 06:44:29 -07:00
Kubernetes Prow Robot
1a52d4f6fe
Merge pull request #76977 from jingxu97/April/volumelimit
...
Update the dynamic volume limit in GCE PD
2019-04-29 22:49:47 -07:00
Ted Yu
565c88de14
Return early when node expansion is determined
2019-04-29 14:05:08 -07:00
Travis Rhoden
78d109e201
Always use filepath.Join instead of path.Join
...
This patch cleans up pkg/util/mount/* and pkg/util/volume/* to always
use filepath.Join instead of path.Join. filepath.Join is preferred
because path.Join can have issues on Windows.
2019-04-29 09:56:05 -06:00
Travis Rhoden
12b7f1450c
Move MountsInGlobalPDPath from mount pkg to volume
...
Since pkg/util/mount is going to move out of k/k, this exported constant
that is Kubernetes specific needed to move somewhere else. Made sense to
move it to pkg/volume/util.
Update GetDeviceNameFromMount in the mount interface to now take a
pluginMountDir argument, which is volume plugin dir with the global
mount path appended to it already.
2019-04-29 09:56:00 -06:00
Stephen Augustus
2f74c90480
Staging the legacy Azure Cloud Provider
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com >
2019-04-25 20:03:45 -04:00
David Zhu
213cc99ead
Operation generator migration metric fixes and test metrics retrieval code
2019-04-25 16:27:45 -07:00
Jing Xu
9926815246
Update the dynamic volume limit in GCE PD
...
Currently GCE PD support 128 maximum disks attached to a node for all
machines types except shared-core. This PR updates the limit number to
date.
Change-Id: Id9dfdbd24763b6b4138935842c246b1803838b78
2019-04-25 11:08:19 -07:00
Kubernetes Prow Robot
88992ba185
Merge pull request #75986 from mucahitkurt/improvement/reduce-event-spam-for-GenerateAttachVolumeFunc
...
Reduce event spam for function GenerateAttachVolumeFunc
2019-04-24 18:12:44 -07:00
Kubernetes Prow Robot
e4a57b77ec
Merge pull request #76719 from bertinatto/fix_vsphere_size
...
Fix Vsphere rouding up of volume size
2019-04-24 16:50:46 -07:00
yameiwang
f130e48deb
fix golint errors in pkg/volume/host_path
2019-04-25 06:46:47 +08:00
Kubernetes Prow Robot
2e96bf597e
Merge pull request #76988 from andyzhangx/azurefile-create
...
specify azure file share name in azure file plugin
2019-04-24 14:21:09 -07:00
Kubernetes Prow Robot
e53118df1b
Merge pull request #76945 from SataQiu/fix-golint-volume-2019042302
...
Fix golint failures of pkg/volume/portworx
2019-04-24 14:20:58 -07:00
Mucahit Kurt
1c1da755dc
reduce event spam for function GenerateAttachVolumeFunc
...
Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com >
2019-04-24 23:45:28 +03:00
andyzhangx
ad9d033e50
add shareName param in azure file storage class
...
skip create azure file if it exists
2019-04-24 05:48:58 +00:00
Humble Chirammal
f30b14a408
Shuffle addresslist for random mount server and cleanup error messages.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
Signed-off-by: Niels de Vos <ndevos@redhat.com >
2019-04-24 09:08:15 +05:30
Andrew Sy Kim
a58942625d
staging the vsphere cloud provider under k8s.io/legacy-cloud-providers/vsphere
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com >
2019-04-23 22:17:59 -05:00
SataQiu
a37adceadf
fix golint failures of pkg/volume/portworx
2019-04-23 23:26:41 +08:00
SataQiu
d6d329b0eb
fix golint failures of pkg/volume/nfs
2019-04-23 22:25:46 +08:00
Shintaro Murakami
f8e81337da
Do not generate unnecessary goroutine
2019-04-23 16:22:14 +09:00
Kubernetes Prow Robot
b9606bef8d
Merge pull request #76860 from SataQiu/fix-golint-volume-20190420
...
Fix golint failures of pkg/volume/local
2019-04-22 20:44:07 -07:00
Pengfei Ni
c27ff9a11e
Upgrade compute API to version 2019-03-01
2019-04-21 18:12:29 +08:00
SataQiu
1f40880615
fix golint failures of pkg/volume/local
2019-04-20 18:18:25 +08:00
Kubernetes Prow Robot
29163600fe
Merge pull request #76796 from dims/remove-unused-methods
...
Remove unused code
2019-04-19 11:09:55 -07:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
Kubernetes Prow Robot
64a0441c2b
Merge pull request #76573 from andyzhangx/disk-backoff-refactor
...
fix detach azure disk back off issue which has too big lock in failure retry condition
2019-04-18 23:39:54 -07:00
Kubernetes Prow Robot
10fc2a11a0
Merge pull request #76089 from vladimirvivien/csi-device-mount-skip
...
CSI - Skips deviceMounter.MountDevice for ephemeral volumes
2019-04-18 19:36:09 -07:00
Kubernetes Prow Robot
fc545587e4
Merge pull request #76540 from ialidzhikov/glusterfs-uneffectual-assignment
...
Remove ineffectual assignment
2019-04-18 17:17:55 -07:00
Vladimir Vivien
d564d2e74d
CSI - Prevents unsupported device mount with CanMountDevice(spec) check
2019-04-18 19:54:28 -04:00
Davanum Srinivas
22ffdc6063
typo - extra space - in Fatalf format string
...
Change-Id: Ifeff0ee29aa6ccdc4c3ebdd2a071cebfafaf937e
2019-04-18 14:42:21 -04:00
PingWang
64c84aa610
delete some unused code for awsebs
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
2019-04-18 16:51:29 +08:00
Kubernetes Prow Robot
7e02769736
Merge pull request #75926 from cwdsuzhou/operation_generator_add_attach_detach
...
Add operation name for other volume operations
2019-04-18 00:26:08 -07:00