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
* Stop setting GOPROXY in Dockerfile
We're seeing failures in CI related to goproxy.io. There's no need to
set this so simply don't.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* docs: Remove references to the csc tool
This has not seen any updates in a long time and does not appear to be
maintained. Our own doc is out-of-date and references removed options.
Just remove the whole thing.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* manila-csi-plugin: Enable auto-detection of topology, node ID
Same as we do for Cinder. A separate change will deprecate the
respective options.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* manila-csi-plugin: Deprecate --nodeid, --nodeaz flags
These are no longer used or necessary, now that we retrieve this
information from the metadata service.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* cinder-csi-plugin: Trivial variable rename
To clarify their meaning.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
---------
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
iferr:=cmd.PersistentFlags().MarkDeprecated("nodeid", "This flag would be removed in future. Currently, the value is ignored by the driver"); err!=nil {
79
+
iferr:=cmd.PersistentFlags().MarkDeprecated("nodeid", "This option is now ignored by the driver. It will be removed in a future release."); err!=nil {
80
80
klog.Fatalf("Unable to mark flag nodeid to be deprecated: %v", err)
klog.Fatalf("Driver node service initialization failed: %v", err)
114
113
}
@@ -127,9 +126,15 @@ func main() {
127
126
128
127
cmd.PersistentFlags().StringVar(&driverName, "drivername", "manila.csi.openstack.org", "name of the driver")
129
128
130
-
cmd.PersistentFlags().StringVar(&nodeID, "nodeid", "", "this node's ID. This value is required if the node service is provided by this CSI driver instance.")
Copy file name to clipboardexpand all lines: docs/cinder-csi-plugin/using-cinder-csi-plugin.md
+1-3
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ In addition to the standard set of klog flags, `cinder-csi-plugin` accepts the f
56
56
<dl>
57
57
<dt>--nodeid <node id></dt>
58
58
<dd>
59
-
This argument is deprecated, will be removed in future.
59
+
This argument is deprecated. It will be removed in future.
60
60
61
61
An identifier for the current node which will be used in OpenStack API calls. This can be either the UUID or name of the OpenStack server, but note that if using name it must be unique.
62
62
</dd>
@@ -335,8 +335,6 @@ Run sanity tests for cinder CSI driver using:
335
335
$ make test-cinder-csi-sanity
336
336
```
337
337
338
-
Optionally, to test the driver csc tool could be used. please refer, [usage guide](./csc-tool.md) for more info.
339
-
340
338
## In-tree Cinder provisioner to cinder CSI Migration
341
339
342
340
Starting from Kubernetes 1.21, OpenStack Cinder CSI migration is supported as beta feature and is `ON` by default. Cinder CSI driver must be installed on clusters on OpenStack for Cinder volumes to work. If you have persistence volumes that are created with in-tree `kubernetes.io/cinder` plugin, you could migrate to use `cinder.csi.openstack.org` Container Storage Interface (CSI) Driver.
`--drivername` | `manila.csi.openstack.org` | Name of this driver
37
-
`--nodeid` | _none_ | ID of this node
38
-
`--nodeaz` | _none_ | Availability zone of this node
37
+
`--nodeid` | _none_ | **DEPRECATED**ID of this node. This value is now automatically retrieved from the metadata service.
38
+
`--nodeaz` | _none_ | **DEPRECATED**Availability zone of this node. This value is now automatically retrieved from the metadata service.
39
39
`--runtime-config-file` | _none_ | Path to the [runtime configuration file](#runtime-configuration-file)
40
40
`--with-topology` | _none_ | CSI Manila is topology-aware. See [Topology-aware dynamic provisioning](#topology-aware-dynamic-provisioning) for more info
41
41
`--share-protocol-selector` | _none_ | Specifies which Manila share protocol to use for this instance of the driver. See [supported protocols](#share-protocol-support-matrix) for valid values.
@@ -103,7 +103,7 @@ With topology awareness enabled, administrators can specify the mapping between
103
103
Doing so will instruct the CO scheduler to place the workloads+shares only on nodes that are able to reach the underlying storage.
104
104
105
105
CSI Manila uses `topology.manila.csi.openstack.org/zone`_topology key_ to identify node's affinity to a certain compute availability zone.
106
-
Each node of the cluster then gets labeled with a key/value pair of `topology.manila.csi.openstack.org/zone`/ value of [`--nodeaz`](#command-line-arguments) cmd arg.
106
+
Each node of the cluster then gets labeled with the `topology.manila.csi.openstack.org/zone`where the value is the value of the AZ retrieved from the Nova metadata service.
107
107
108
108
This label may be used as a node selector when defining topology constraints for dynamic provisioning.
109
109
Administrators are also free to pass arbitrary labels, and as long as they are valid node selectors, they will be honored by the scheduler.
@@ -258,11 +258,10 @@ To test the deployment further, see `examples/csi-manila-plugin`.
258
258
259
259
If you're deploying CSI Manila with Helm:
260
260
1. Set `csimanila.topologyAwarenessEnabled` to `true`
261
-
2. Set `csimanila.nodeAZ`. This value will be sourced into the [`--nodeaz`](#command-line-arguments) cmd flag. Bash expressions are also allowed.
262
261
263
262
If you're deploying CSI Manila manually:
264
263
1. Run the [external-provisioner](https://github.com/kubernetes-csi/external-provisioner) with `--feature-gates=Topology=true` cmd flag.
265
-
2. Run CSI Manila with [`--with-topology`](#command-line-arguments) and set [`--nodeaz`](#command-line-arguments) to node's availability zone. For Nova, the zone may be retrieved via the Metadata service like so: `--nodeaz=$(curl http://169.254.169.254/openstack/latest/meta_data.json | jq -r .availability_zone)`
264
+
2. Run CSI Manila with [`--with-topology`](#command-line-arguments).
266
265
267
266
See `examples/csi-manila-plugin/nfs/topology-aware` for examples on defining topology constraints.
0 commit comments