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
# Denotes whether or not to create new backends after deploying trident
12
-
# For more info, refer to: https://netapp-trident.readthedocs.io/en/stable-v20.04/kubernetes/operator-install.html#creating-a-trident-backend
13
-
create_backends: true
19
+
# For more info, refer to: https://docs.netapp.com/us-en/trident/trident-use/ontap-nas-examples.html
20
+
create_backends: false
21
+
trident_hide_backend_details: true
14
22
15
23
# List of backends to create
16
-
# For more info on parameter values, refer to: https://netapp-trident.readthedocs.io/en/stable-v20.04/kubernetes/operations/tasks/backends/ontap.html
17
-
# Note: Parameters other than those listed below are not avaible when creating a backend via DeepOps
24
+
# For more info on parameter values, refer to: https://docs.netapp.com/us-en/trident/trident-use/ontap-nas-examples.html
25
+
# Note: Parameters other than those listed below are not available when creating a backend via DeepOps
18
26
# If you wish to use other parameter values, you must create your backend manually.
19
27
backends_to_create:
20
28
- backendName: ontap-flexvol
21
29
storageDriverName: ontap-nas # only 'ontap-nas' and 'ontap-nas-flexgroup' are supported when creating a backend via DeepOps
22
-
managementLIF: 10.61.188.40
23
-
dataLIF: 192.168.200.41
24
-
svm: ai221_data
25
-
username: admin
26
-
password: NetApp!23
30
+
managementLIF: ontap-mgmt.example.com
31
+
dataLIF: ontap-nfs.example.com
32
+
svm: svm_nfs
33
+
username: vsadmin
27
34
storagePrefix: trident
28
35
limitAggregateUsage: ""
29
36
limitVolumeSize: ""
@@ -41,11 +48,10 @@ backends_to_create:
41
48
tieringPolicy: none
42
49
- backendName: ontap-flexgroup
43
50
storageDriverName: ontap-nas-flexgroup # only 'ontap-nas' and 'ontap-nas-flexgroup' are supported when creating a backend via DeepOps
44
-
managementLIF: 10.61.188.40
45
-
dataLIF: 192.168.200.41
46
-
svm: ai221_data
47
-
username: admin
48
-
password: NetApp!23
51
+
managementLIF: ontap-mgmt.example.com
52
+
dataLIF: ontap-nfs.example.com
53
+
svm: svm_nfs
54
+
username: vsadmin
49
55
storagePrefix: trident
50
56
limitAggregateUsage: ""
51
57
limitVolumeSize: ""
@@ -64,12 +70,12 @@ backends_to_create:
64
70
# Add additional backends as needed
65
71
66
72
# Denotes whether or not to create new StorageClasses for your NetApp storage
67
-
# For more info, refer to: https://netapp-trident.readthedocs.io/en/stable-v20.04/kubernetes/operator-install.html#creating-a-storage-class
68
-
create_StorageClasses: true
73
+
# For more info, refer to: https://docs.netapp.com/us-en/trident/trident-use/create-stor-class.html
74
+
create_StorageClasses: false
69
75
70
76
# List of StorageClasses to create
71
77
# Note: Each item in the list should be an actual K8s StorageClass definition in yaml format
72
-
# For more info on StorageClass definitions, refer to https://netapp-trident.readthedocs.io/en/stable-v20.04/kubernetes/concepts/objects.html#kubernetes-storageclass-objects.
78
+
# For more info on StorageClass definitions, refer to https://docs.netapp.com/us-en/trident/trident-use/create-stor-class.html
73
79
storageClasses_to_create:
74
80
- apiVersion: storage.k8s.io/v1
75
81
kind: StorageClass
@@ -90,30 +96,30 @@ storageClasses_to_create:
90
96
# Add additional StorageClasses as needed
91
97
92
98
# Denotes whether or not to enable volume snapshots in your Kubernetes cluster
93
-
# For more info, refer to: https://netapp-trident.readthedocs.io/en/stable-v21.01/kubernetes/operations/tasks/volumes/snapshots.html
94
-
enable_volume_snapshots: true
99
+
# For more info, refer to: https://docs.netapp.com/us-en/trident/trident-use/vol-snapshots.html
@@ -124,23 +124,26 @@ Run the following script to create an administrative user and print out the dash
124
124
125
125
#### NFS Client Provisioner
126
126
127
-
The default behavior of DeepOps is to setup an NFS server on the first `kube_control_plane` node. This temporary NFS server is used by the `nfs-client-provisioner` which is installed as the default StorageClass of a standard DeepOps deployment.
127
+
The default DeepOps Kubernetes storage path is the `nfs-subdir-external-provisioner` chart, backed by an NFS export on the first `kube_control_plane` node. This is a convenience default for examples, smoke tests, and small internal clusters. It is not a highly available production storage design.
128
128
129
-
To use an existing nfs server server update the `k8s_nfs_server` and `k8s_nfs_export_path` variables in `config/group_vars/k8s-cluster.yml` and set the `k8s_deploy_nfs_server` to false in `config/group_vars/k8s-cluster.yml`. Additionally, the`k8s_nfs_mkdir` variable can be set to `false` if the export directory is already configured on the server.
129
+
To use an existing NFS server, update the `k8s_nfs_server` and `k8s_nfs_export_path` variables in `config/group_vars/k8s-cluster.yml` and set `k8s_deploy_nfs_server` to `false`. Additionally, set`k8s_nfs_mkdir` to `false` if the export directory is already configured on the server.
130
130
131
131
To manually install or re-install the `nfs-client-provisioner` run:
To skip this installation set `k8s_nfs_client_provisioner` to `false`.
137
+
To skip this installation, set `k8s_nfs_client_provisioner` to `false`.
138
138
139
139
#### Ceph Cluster (deprecated)
140
140
141
-
For a non-nfs based alternative, deploy a Ceph cluster running on Kubernetes for services that require persistent storage (such as Kubeflow):
141
+
The Rook/Ceph helper is deprecated and community-supported. It predates the current Rook Helm chart layout and should not be used as a new production storage path without a site-owned Rook/Ceph design and validation plan.
142
+
143
+
For legacy environments that still use this helper, deploy a Ceph cluster running on Kubernetes with:
142
144
143
145
```bash
146
+
export DEEPOPS_ENABLE_DEPRECATED_ROOK=true
144
147
./scripts/k8s/deploy_rook.sh
145
148
```
146
149
@@ -150,17 +153,19 @@ Poll the Ceph status by running (this script will return when Ceph initializatio
150
153
./scripts/k8s/deploy_rook.sh -w
151
154
```
152
155
153
-
#### NetApp Astra Trident
156
+
#### NetApp Trident
154
157
155
-
Deploy NetApp Astra Trident for services that require persistent storage (such as Kubeflow). Note that you must have a supported NetApp storage system/instance/service in order to use Astra Trident to provision persistent storage.
158
+
The Trident role is optional and community-supported in DeepOps. Use it only when the site already has a supported NetApp storage system or service and a storage owner who can validate the backend, StorageClass, and snapshot policy against current NetApp documentation.
156
159
157
160
1. Set configuration parameters.
158
161
159
162
```bash
160
163
vi config/group_vars/netapp-trident.yml
161
164
```
162
165
163
-
2. Deploy Astra Trident using Ansible.
166
+
By default, the example configuration installs Trident but does not create a backend, StorageClass, or snapshot controller. Set `create_backends`, `create_StorageClasses`, or `enable_volume_snapshots` to `true` only after replacing the example backend values with site-specific storage details and auth values.
167
+
168
+
2. Deploy Trident using Ansible.
164
169
165
170
```bash
166
171
# NOTE: If SSH requires a password, add: `-k`
@@ -169,7 +174,7 @@ Deploy NetApp Astra Trident for services that require persistent storage (such a
Copy file name to clipboardExpand all lines: docs/k8s-cluster/kubeflow.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ As part of the Kubeflow installation, the MPI Operator will also be installed. T
29
29
30
30
Deploy Kubernetes by following the [DeepOps Kubernetes Deployment Guide](README.md)
31
31
32
-
Kubeflow requires a DefaultStorageClass to be defined. By default DeepOps installs the `nfs-client-provisioner` using the [nfs-client-provisioner.yml playbook](../../playbooks/k8s-cluster/nfs-client-provisioner.yml). This playbook can re run manually. As an NFS alternative [Ceph](../../scripts/k8s/deploy_rook.sh), [Trident](../../playbooks/k8s-cluster/netapp-trident.yml)or an alternative StorageClass can be used.
32
+
Kubeflow requires a DefaultStorageClass to be defined. By default DeepOps installs the `nfs-client-provisioner` using the [nfs-client-provisioner.yml playbook](../../playbooks/k8s-cluster/nfs-client-provisioner.yml). This playbook can be rerun manually. For production or HA storage, use a site-owned StorageClass. The legacy [Ceph](../../scripts/k8s/deploy_rook.sh) helper is deprecated, and [Trident](../../playbooks/k8s-cluster/netapp-trident.yml)is optional and community-supported unless a site storage owner validates it.
Copy file name to clipboardExpand all lines: roles/netapp-trident/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@ netapp-trident
3
3
4
4
Ansible role that can be used to deploy NetApp Trident within a Kubernetes cluster.
5
5
6
+
This role is optional and community-supported in DeepOps. Use it only when a site storage owner can validate the NetApp backend, StorageClass, and snapshot policy against current NetApp documentation.
7
+
6
8
Requirements
7
9
------------
8
10
@@ -15,7 +17,7 @@ Requirements
15
17
Role Variables
16
18
--------------
17
19
18
-
See defaults/main.yml, vars/main.yml
20
+
See defaults/main.yml and `config.example/group_vars/netapp-trident.yml`.
0 commit comments