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
Once Anthos is deployed on Equinix Metal, all of the documentation for using Google Anthos is located on the [Anthos Documentation Page](https://cloud.google.com/anthos/docs).
229
229
230
+
## Storage Providers
231
+
232
+
Storage providers are made available through optional storage modules. These storage providers include CSI (Container Native Storage) `StorageClasses`.
233
+
234
+
Changing or disabling a storage provider is not currently supported.
235
+
236
+
To enable a storage module, set the `storage_module` variable to the name of the name of the included module.
237
+
238
+
*`portworx`: To enable the Pure Storage Portworx installation, use the following settings in `terraform.tfvars`:
239
+
240
+
```hcl
241
+
storage_module = "portworx"
242
+
storage_options = {
243
+
# portworx_version = "2.6"
244
+
# portworx_license = "c0ffe-fefe-activation-123"
245
+
}
246
+
```
247
+
248
+
When enabled, Portworx will manage the local disks attached to each worker node, providing a fault tolerant distributed storage solution.
249
+
250
+
[Read more about the Portworx module](modules/portworx/README).
Portworx by Pure Storage is a distributed and high available data storage that takes advantage of the local and attached storage provided on each Equinix Metal device. Portworx includes a [Container Storage Interface (CSI)](https://kubernetes-csi.github.io/docs/) driver.
4
+
5
+
Portworx differentiates between device disks using priority labels that can be applied to create distinct `StorageClasses`. See [Portworx: Dynamic Provisioning](https://docs.portworx.com/portworx-install-with-kubernetes/storage-operations/create-pvcs/dynamic-provisioning/) for more details.
6
+
7
+
Login to any one of the Anthos cluster nodes and run `pxctl status` to check the state of the Portworx services.
8
+
9
+
You can also use the Kubernetes API to check the status:
By default, Portworx 2.6 is installed in the Anthos Cluster. The version of Portworx can be changed using the `portworx_version` variable.
22
+
23
+
## Licensing
24
+
25
+
Portworx is installed with a Trial license. To continue use at the end of the trial period, you will need a Portworx Enterprise Metal license.
26
+
27
+
More information about these licenses, their restrictions and enablement can be found at <https://docs.portworx.com/reference/knowledge-base/px-licensing/>.
28
+
29
+
To active the Portworx license through this module:
30
+
31
+
* Set the `portworx_license` variable to your license key
32
+
* Run `terraform apply`
33
+
34
+
**Note**: The `portworx_license` variable can not be set and defined before the Portworx installation is ready. This takes about 15 minutes today. If you attempt to provide the license too early the `terraform apply` will fail, affecting only this licensing task. A subsequent and successful `terraform apply` will be needed to correct the licensing.
35
+
36
+
Alternatively, `ssh` into any worker node and run `/opt/pwx/bin/pxctl license activate _key_`.
description="The version of Portworx to install (latest_portworx_version will be used if not set)"
4
+
default=""
5
+
}
6
+
7
+
variable"portworx_license" {
8
+
type=string
9
+
description="License key for Portworx. A Trial license is used by default. Setting this value before Portworx is installed and ready will result in a failed `apply` that can be corrected by applying again after the Portworx install has completed."
10
+
default=""
11
+
}
12
+
13
+
variable"latest_portworx_version" {
14
+
type=string
15
+
description="The version of Portworx to install"
16
+
default="2.6"
17
+
}
18
+
19
+
variable"cluster_name" {
20
+
type=string
21
+
description="Name of the cluster"
22
+
}
23
+
24
+
variable"ssh" {
25
+
description="SSH options for the storage provider including SSH details to access the control plane including the remote path to the kubeconfig file and a list of worker addresses"
description="The name of the Storage provider module (ex. \"portworx\")"
3
+
default=""
4
+
}
5
+
6
+
variable"storage_options" {
7
+
type=any
8
+
description="Options for the Storage provider module. Option names can be found in the documentation for each module and are prefixed with the vendor name (\"portworx_version\")"
9
+
default={}
10
+
}
11
+
12
+
variable"cluster_name" {
13
+
type=string
14
+
description="Name of the cluster"
15
+
}
16
+
17
+
variable"ssh" {
18
+
description="SSH options for the storage provider including SSH details to access the control plane including the remote path to the kubeconfig file and a list of worker addresses."
0 commit comments