Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
1493e684
Commit
1493e684
authored
Mar 04, 2019
by
Ben Swartzlander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Promote CSI raw blocks to beta
parent
c360bac6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
kube_features.go
pkg/features/kube_features.go
+2
-1
csi.go
test/e2e/storage/drivers/csi.go
+2
-1
csi-hostpathplugin.yaml
...sts/storage-csi/hostpath/hostpath/csi-hostpathplugin.yaml
+8
-1
No files found.
pkg/features/kube_features.go
View file @
1493e684
...
@@ -338,6 +338,7 @@ const (
...
@@ -338,6 +338,7 @@ const (
// owner: @vladimirvivien
// owner: @vladimirvivien
// alpha: v1.11
// alpha: v1.11
// beta: v1.14
//
//
// Enables CSI to use raw block storage volumes
// Enables CSI to use raw block storage volumes
CSIBlockVolume
utilfeature
.
Feature
=
"CSIBlockVolume"
CSIBlockVolume
utilfeature
.
Feature
=
"CSIBlockVolume"
...
@@ -476,7 +477,7 @@ var defaultKubernetesFeatureGates = map[utilfeature.Feature]utilfeature.FeatureS
...
@@ -476,7 +477,7 @@ var defaultKubernetesFeatureGates = map[utilfeature.Feature]utilfeature.FeatureS
VolumeSubpathEnvExpansion
:
{
Default
:
false
,
PreRelease
:
utilfeature
.
Alpha
},
VolumeSubpathEnvExpansion
:
{
Default
:
false
,
PreRelease
:
utilfeature
.
Alpha
},
KubeletPluginsWatcher
:
{
Default
:
true
,
PreRelease
:
utilfeature
.
GA
,
LockToDefault
:
true
},
// remove in 1.16
KubeletPluginsWatcher
:
{
Default
:
true
,
PreRelease
:
utilfeature
.
GA
,
LockToDefault
:
true
},
// remove in 1.16
ResourceQuotaScopeSelectors
:
{
Default
:
true
,
PreRelease
:
utilfeature
.
Beta
},
ResourceQuotaScopeSelectors
:
{
Default
:
true
,
PreRelease
:
utilfeature
.
Beta
},
CSIBlockVolume
:
{
Default
:
false
,
PreRelease
:
utilfeature
.
Alph
a
},
CSIBlockVolume
:
{
Default
:
true
,
PreRelease
:
utilfeature
.
Bet
a
},
RuntimeClass
:
{
Default
:
false
,
PreRelease
:
utilfeature
.
Alpha
},
RuntimeClass
:
{
Default
:
false
,
PreRelease
:
utilfeature
.
Alpha
},
NodeLease
:
{
Default
:
true
,
PreRelease
:
utilfeature
.
Beta
},
NodeLease
:
{
Default
:
true
,
PreRelease
:
utilfeature
.
Beta
},
SCTPSupport
:
{
Default
:
false
,
PreRelease
:
utilfeature
.
Alpha
},
SCTPSupport
:
{
Default
:
false
,
PreRelease
:
utilfeature
.
Alpha
},
...
...
test/e2e/storage/drivers/csi.go
View file @
1493e684
...
@@ -83,7 +83,8 @@ var _ testsuites.SnapshottableTestDriver = &hostpathCSIDriver{}
...
@@ -83,7 +83,8 @@ var _ testsuites.SnapshottableTestDriver = &hostpathCSIDriver{}
// InitHostPathCSIDriver returns hostpathCSIDriver that implements TestDriver interface
// InitHostPathCSIDriver returns hostpathCSIDriver that implements TestDriver interface
func
InitHostPathCSIDriver
()
testsuites
.
TestDriver
{
func
InitHostPathCSIDriver
()
testsuites
.
TestDriver
{
return
initHostPathCSIDriver
(
"csi-hostpath"
,
return
initHostPathCSIDriver
(
"csi-hostpath"
,
map
[
testsuites
.
Capability
]
bool
{
testsuites
.
CapPersistence
:
true
,
testsuites
.
CapDataSource
:
true
,
testsuites
.
CapMultiPODs
:
true
},
map
[
testsuites
.
Capability
]
bool
{
testsuites
.
CapPersistence
:
true
,
testsuites
.
CapDataSource
:
true
,
testsuites
.
CapMultiPODs
:
true
,
testsuites
.
CapBlock
:
true
},
"test/e2e/testing-manifests/storage-csi/driver-registrar/rbac.yaml"
,
"test/e2e/testing-manifests/storage-csi/driver-registrar/rbac.yaml"
,
"test/e2e/testing-manifests/storage-csi/external-attacher/rbac.yaml"
,
"test/e2e/testing-manifests/storage-csi/external-attacher/rbac.yaml"
,
"test/e2e/testing-manifests/storage-csi/external-provisioner/rbac.yaml"
,
"test/e2e/testing-manifests/storage-csi/external-provisioner/rbac.yaml"
,
...
...
test/e2e/testing-manifests/storage-csi/hostpath/hostpath/csi-hostpathplugin.yaml
View file @
1493e684
...
@@ -33,7 +33,7 @@ spec:
...
@@ -33,7 +33,7 @@ spec:
-
mountPath
:
/registration
-
mountPath
:
/registration
name
:
registration-dir
name
:
registration-dir
-
name
:
hostpath
-
name
:
hostpath
image
:
quay.io/k8scsi/hostpathplugin:v1.
0.
1
image
:
quay.io/k8scsi/hostpathplugin:v1.
1.0-rc
1
args
:
args
:
-
"
--v=5"
-
"
--v=5"
-
"
--endpoint=$(CSI_ENDPOINT)"
-
"
--endpoint=$(CSI_ENDPOINT)"
...
@@ -55,6 +55,9 @@ spec:
...
@@ -55,6 +55,9 @@ spec:
-
mountPath
:
/var/lib/kubelet/pods
-
mountPath
:
/var/lib/kubelet/pods
mountPropagation
:
Bidirectional
mountPropagation
:
Bidirectional
name
:
mountpoint-dir
name
:
mountpoint-dir
-
mountPath
:
/var/lib/kubelet/plugins
mountPropagation
:
Bidirectional
name
:
plugins-dir
volumes
:
volumes
:
-
hostPath
:
-
hostPath
:
path
:
/var/lib/kubelet/plugins/csi-hostpath
path
:
/var/lib/kubelet/plugins/csi-hostpath
...
@@ -68,3 +71,7 @@ spec:
...
@@ -68,3 +71,7 @@ spec:
path
:
/var/lib/kubelet/plugins_registry
path
:
/var/lib/kubelet/plugins_registry
type
:
Directory
type
:
Directory
name
:
registration-dir
name
:
registration-dir
-
hostPath
:
path
:
/var/lib/kubelet/plugins
type
:
Directory
name
:
plugins-dir
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment