You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CR name should be that of the associated CSI driver to ensure that only one such
989
-
CR is created for a given driver.
988
+
Instances of the CR are created by a CSI driver installer and named for the
989
+
associated CSI driver, to ensure that only one such CR is created for a given driver.
990
990
991
991
The CR `spec` contains the following fields:
992
992
@@ -1002,7 +1002,11 @@ The CR `spec` contains the following fields:
1002
1002
presented to the [sidecar](#the-external-snapshot-metadata-sidecar) by a Kubernetes client.
1003
1003
The value should be unique to the service if possible; for example, it could be the DNS name of the service.
1004
1004
1005
-
The full Custom Resource Definition is shown below:
1005
+
The `SnapshotMetadataService` Custom Resource Definition should be installed either by the Kubernetes
1006
+
distribution or by the cluster administrator.
1007
+
The specification of this CRD at the time of publication of this KEP is shown below;
1008
+
see [cbt.storage.k8s.io_snapshotmetadataservices.yaml](https://github.com/kubernetes-csi/external-snapshot-metadata/blob/3a139dd44d4ffa01343a91bed40996b1db56fd38/client/config/crd/cbt.storage.k8s.io_snapshotmetadataservices.yaml)
1009
+
in the source code repository for the latest copy.
1006
1010
1007
1011
```yaml
1008
1012
apiVersion: apiextensions.k8s.io/v1
@@ -1022,7 +1026,7 @@ spec:
1022
1026
singular: snapshotmetadataservice
1023
1027
scope: Cluster
1024
1028
versions:
1025
-
- name: v1alpha1
1029
+
- name: v1beta1
1026
1030
schema:
1027
1031
openAPIV3Schema:
1028
1032
description: 'The presence of a SnapshotMetadataService CR advertises the existence of a CSI
@@ -1512,16 +1516,19 @@ rollout. Similarly, consider large clusters and how enablement/disablement
1512
1516
will rollout across nodes.
1513
1517
-->
1514
1518
1515
-
The CSI driver installs the `SnapshotMetadataService` CRD.
1516
-
Since the `SnapshotMetadataService` CRD is shared between CSI drivers, a
1517
-
CSI driver should fail if it finds a pre-existing CRD with an incompatible
1518
-
version and surface the error to the cluster administrator to resolve.
1519
+
The [SnapshotMetadataService CRD](https://github.com/kubernetes-csi/external-snapshot-metadata/blob/3a139dd44d4ffa01343a91bed40996b1db56fd38/client/config/crd/cbt.storage.k8s.io_snapshotmetadataservices.yaml)
1520
+
should be installed either by the Kubernetes distribution or by the cluster administrator.
1521
+
This CRD applies to all the installed CSI drivers that support this feature.
1522
+
1523
+
A CSI driver creates an instance of the `SnapshotMetadataService` CR
1524
+
and deploys the `external-snapshot-metadata` sidecar.
1525
+
The CSI driver may fail to install or may skip the configuration of this feature
1526
+
if it finds that the installed `SnapshotMetadataService` CRD has an incompatible
1527
+
version; it must surface the error for the cluster administrator to resolve
1528
+
in either circumstance.
1519
1529
1520
-
The CSI driver creates an instance
1521
-
of this CR, and deploys the `external-snapshot-metadata` sidecar.
1522
1530
Each CSI driver vendor independently must explicitly handle failure to construct
1523
1531
these objects during rollout or rollback if their driver fails.
1524
-
1525
1532
Any rollback will cause active operations by a backup application to fail.
1526
1533
Such failure is similar to a network failure that the backup client application ought to be
0 commit comments