Skip to content

Commit 1265a06

Browse files
authored
Merge pull request #21829 from Arhell/upd-style
update to right styling for VolumeSnapshotClass concept
2 parents 859b172 + f8c1f91 commit 1265a06

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

content/en/docs/concepts/storage/volume-snapshot-classes.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ weight: 30
1313

1414
<!-- overview -->
1515

16-
This document describes the concept of `VolumeSnapshotClass` in Kubernetes. Familiarity
16+
This document describes the concept of VolumeSnapshotClass in Kubernetes. Familiarity
1717
with [volume snapshots](/docs/concepts/storage/volume-snapshots/) and
1818
[storage classes](/docs/concepts/storage/storage-classes) is suggested.
1919

@@ -24,30 +24,30 @@ with [volume snapshots](/docs/concepts/storage/volume-snapshots/) and
2424

2525
## Introduction
2626

27-
Just like `StorageClass` provides a way for administrators to describe the "classes"
28-
of storage they offer when provisioning a volume, `VolumeSnapshotClass` provides a
27+
Just like StorageClass provides a way for administrators to describe the "classes"
28+
of storage they offer when provisioning a volume, VolumeSnapshotClass provides a
2929
way to describe the "classes" of storage when provisioning a volume snapshot.
3030

3131
## The VolumeSnapshotClass Resource
3232

33-
Each `VolumeSnapshotClass` contains the fields `driver`, `deletionPolicy`, and `parameters`,
34-
which are used when a `VolumeSnapshot` belonging to the class needs to be
33+
Each VolumeSnapshotClass contains the fields `driver`, `deletionPolicy`, and `parameters`,
34+
which are used when a VolumeSnapshot belonging to the class needs to be
3535
dynamically provisioned.
3636

37-
The name of a `VolumeSnapshotClass` object is significant, and is how users can
37+
The name of a VolumeSnapshotClass object is significant, and is how users can
3838
request a particular class. Administrators set the name and other parameters
39-
of a class when first creating `VolumeSnapshotClass` objects, and the objects cannot
39+
of a class when first creating VolumeSnapshotClass objects, and the objects cannot
4040
be updated once they are created.
4141

42-
Administrators can specify a default `VolumeSnapshotClass` just for VolumeSnapshots
42+
Administrators can specify a default VolumeSnapshotClass just for VolumeSnapshots
4343
that don't request any particular class to bind to.
4444

4545
```yaml
4646
apiVersion: snapshot.storage.k8s.io/v1beta1
4747
kind: VolumeSnapshotClass
4848
metadata:
4949
name: csi-hostpath-snapclass
50-
driver: hostpath.csi.k8s.io
50+
driver: hostpath.csi.k8s.io
5151
deletionPolicy: Delete
5252
parameters:
5353
```
@@ -59,9 +59,9 @@ used for provisioning VolumeSnapshots. This field must be specified.
5959
6060
### DeletionPolicy
6161
62-
Volume snapshot classes have a deletionPolicy. It enables you to configure what happens to a `VolumeSnapshotContent` when the `VolumeSnapshot` object it is bound to is to be deleted. The deletionPolicy of a volume snapshot can either be `Retain` or `Delete`. This field must be specified.
62+
Volume snapshot classes have a deletionPolicy. It enables you to configure what happens to a VolumeSnapshotContent when the VolumeSnapshot object it is bound to is to be deleted. The deletionPolicy of a volume snapshot can either be `Retain` or `Delete`. This field must be specified.
6363

64-
If the deletionPolicy is `Delete`, then the underlying storage snapshot will be deleted along with the `VolumeSnapshotContent` object. If the deletionPolicy is `Retain`, then both the underlying snapshot and `VolumeSnapshotContent` remain.
64+
If the deletionPolicy is `Delete`, then the underlying storage snapshot will be deleted along with the VolumeSnapshotContent object. If the deletionPolicy is `Retain`, then both the underlying snapshot and VolumeSnapshotContent remain.
6565

6666
## Parameters
6767

0 commit comments

Comments
 (0)