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
2ff98f78
Commit
2ff98f78
authored
Oct 18, 2018
by
Matthew Wong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Promote BlockVolume to beta
parent
d0c3cd18
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
types.go
pkg/apis/core/types.go
+3
-3
kube_features.go
pkg/features/kube_features.go
+2
-1
types.go
staging/src/k8s.io/api/core/v1/types.go
+3
-3
No files found.
pkg/apis/core/types.go
View file @
2ff98f78
...
...
@@ -298,7 +298,7 @@ type PersistentVolumeSpec struct {
MountOptions
[]
string
// volumeMode defines if a volume is intended to be used with a formatted filesystem
// or to remain in raw block state. Value of Filesystem is implied when not included in spec.
// This is a
n alpha feature and may change in the fu
ture.
// This is a
beta fea
ture.
// +optional
VolumeMode
*
PersistentVolumeMode
// NodeAffinity defines constraints that limit what nodes this volume can be accessed from.
...
...
@@ -410,7 +410,7 @@ type PersistentVolumeClaimSpec struct {
StorageClassName
*
string
// volumeMode defines what type of volume is required by the claim.
// Value of Filesystem is implied when not included in claim spec.
// This is a
n alpha feature and may change in the fu
ture.
// This is a
beta fea
ture.
// +optional
VolumeMode
*
PersistentVolumeMode
// This field requires the VolumeSnapshotDataSource alpha feature gate to be
...
...
@@ -1968,7 +1968,7 @@ type Container struct {
// +optional
VolumeMounts
[]
VolumeMount
// volumeDevices is the list of block devices to be used by the container.
// This is a
n alpha feature and may change in the fu
ture.
// This is a
beta fea
ture.
// +optional
VolumeDevices
[]
VolumeDevice
// +optional
...
...
pkg/features/kube_features.go
View file @
2ff98f78
...
...
@@ -217,6 +217,7 @@ const (
// owner: @screeley44
// alpha: v1.9
// beta: v1.13
//
// Enable Block volume support in containers.
BlockVolume
utilfeature
.
Feature
=
"BlockVolume"
...
...
@@ -433,7 +434,7 @@ var defaultKubernetesFeatureGates = map[utilfeature.Feature]utilfeature.FeatureS
CSIDriverRegistry
:
{
Default
:
false
,
PreRelease
:
utilfeature
.
Alpha
},
CSINodeInfo
:
{
Default
:
false
,
PreRelease
:
utilfeature
.
Alpha
},
CustomPodDNS
:
{
Default
:
true
,
PreRelease
:
utilfeature
.
Beta
},
BlockVolume
:
{
Default
:
false
,
PreRelease
:
utilfeature
.
Alph
a
},
BlockVolume
:
{
Default
:
true
,
PreRelease
:
utilfeature
.
Bet
a
},
StorageObjectInUseProtection
:
{
Default
:
true
,
PreRelease
:
utilfeature
.
GA
},
ResourceLimitsPriorityFunction
:
{
Default
:
false
,
PreRelease
:
utilfeature
.
Alpha
},
SupportIPVSProxyMode
:
{
Default
:
true
,
PreRelease
:
utilfeature
.
GA
},
...
...
staging/src/k8s.io/api/core/v1/types.go
View file @
2ff98f78
...
...
@@ -326,7 +326,7 @@ type PersistentVolumeSpec struct {
MountOptions
[]
string
`json:"mountOptions,omitempty" protobuf:"bytes,7,opt,name=mountOptions"`
// volumeMode defines if a volume is intended to be used with a formatted filesystem
// or to remain in raw block state. Value of Filesystem is implied when not included in spec.
// This is a
n alpha feature and may change in the fu
ture.
// This is a
beta fea
ture.
// +optional
VolumeMode
*
PersistentVolumeMode
`json:"volumeMode,omitempty" protobuf:"bytes,8,opt,name=volumeMode,casttype=PersistentVolumeMode"`
// NodeAffinity defines constraints that limit what nodes this volume can be accessed from.
...
...
@@ -455,7 +455,7 @@ type PersistentVolumeClaimSpec struct {
StorageClassName
*
string
`json:"storageClassName,omitempty" protobuf:"bytes,5,opt,name=storageClassName"`
// volumeMode defines what type of volume is required by the claim.
// Value of Filesystem is implied when not included in claim spec.
// This is a
n alpha feature and may change in the fu
ture.
// This is a
beta fea
ture.
// +optional
VolumeMode
*
PersistentVolumeMode
`json:"volumeMode,omitempty" protobuf:"bytes,6,opt,name=volumeMode,casttype=PersistentVolumeMode"`
// This field requires the VolumeSnapshotDataSource alpha feature gate to be
...
...
@@ -2114,7 +2114,7 @@ type Container struct {
// +patchStrategy=merge
VolumeMounts
[]
VolumeMount
`json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"mountPath" protobuf:"bytes,9,rep,name=volumeMounts"`
// volumeDevices is the list of block devices to be used by the container.
// This is a
n alpha feature and may change in the fu
ture.
// This is a
beta fea
ture.
// +patchMergeKey=devicePath
// +patchStrategy=merge
// +optional
...
...
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