blob: cfd1c56d37bc25600f8ef99037f3d8e739c0edb7 [file] [log] [blame]
Mohammed Naser90128aa2024-04-29 13:21:58 -04001#################
2CSI Configuration
3#################
4
5This section details how to configure Container Storage Interfaces (CSI) for
6your Kubernetes cluster that Atmosphere runs on. You will need to follow the
7steps below to enable specific CSI drivers based on your storage requirements.
8
Mohammed Naserafcf0a12024-05-19 00:13:27 +02009.. admonition:: Storing secrets securely
10 :class: tip
11
12 When configuring CSI drivers, it is important to store sensitive
13 information securely. You can use Ansible Vault to encrypt your inventory
14 file and store it in a secure location. For more information on how to
15 use Ansible Vault, refer to the `Ansible documentation <https://docs.ansible.com/ansible/latest/user_guide/vault.html>`_.
16
Mohammed Naser90128aa2024-04-29 13:21:58 -040017********
18Ceph RBD
19********
20
21If you are using the Ceph storage solution that Atmosphere deploys out of the
22box, no additional configuration is required. The necessary settings are
23automatically applied during the installation process.
24
25***************
26Dell PowerStore
27***************
28
29For environments requiring the integration of PowerStore for storage,
30configure the PowerStore CSI driver by updating your Ansible inventory as
31follows:
32
33.. code-block:: yaml
34
35 csi_driver: powerstore
36 powerstore_csi_config:
37 arrays:
38 - endpoint: https://<FILL IN>/api/rest
39 globalID: <FILL IN>
40 username: <FILL IN>
41 password: <FILL IN>
42 skipCertificateValidation: true
43 isDefault: true
44 blockProtocol: <FILL IN> # FC or iSCSI
45
46Ensure that you replace ``<FILL IN>`` with actual values relevant to your
47PowerStore configuration. This includes specifying the block protocol, which
48can either be Fibre Channel (FC) or iSCSI, depending on your network
49infrastructure.
50
51********
Mohammed Naserafcf0a12024-05-19 00:13:27 +020052Portworx
53********
54
55If you are using a Pure Storage array for your block storage, you can use the
56Portworx CSI driver to integrate it with your Kubernetes cluster. Portworx
57automatically enables a custom license when integrated with Pure Storage
58arrays (FA/FB edition).
59
60To configure the Portworx CSI driver, update your Ansible inventory as follows:
61
62.. code-block:: yaml
63
64 csi_driver: portworx
65 portworx_pure_flasharray_san_type: <FILL IN> # FC or ISCSI
66 portworx_pure_json:
67 FlaskBlades: []
68 FlashArrays:
69 - MgmtEndPoint: <FILL IN>
70 APIToken: <FILL IN>
71
72For more information about how the ``portworx_pure_json`` variable is used,
73you can refer to the `Pure Storage FlashArray and FlashBlade JSON file reference <https://docs.portworx.com/portworx-enterprise/reference/pure-reference/pure-json-reference>`_.
74
75********
Mohammed Naser90128aa2024-04-29 13:21:58 -040076StorPool
77********
78
79For environments requiring the integration of StorPool for storage, configure
80the StorPool CSI driver by updating your Ansible inventory as follows:
81
82.. code-block:: yaml
83
84 csi_driver: storpool
85 storpool_csi_template: k8s
86
87The ``storpool_csi_template`` variable specifies the StorPool template to use
88for the deployment which is set to ``k8s`` in the example above.