-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IBM block storage CSI Integration with IBM Cloud Satellite Storage #83
Conversation
{ | ||
"key": "support-description", | ||
"value": "For support contact IBM: https://www.ibm.com/support/home/" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make it . This will enable UI to display URL as a hyperlink
{
"key": "support_URL",
"value": "https://www.ibm.com/support/home/"
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
"displayname": "Secret name", | ||
"name": "secret-name", | ||
"required": "true", | ||
"category": "text" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace "category": "text"
to "category": "config"
We have 2 categories config
and secret
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in every "category": "text"
in file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in custom_parameters.json
too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left comments & commit suggestions - also had a few questions about the parameters and where to find them/examples
|
||
IBM block storage CSI driver is based on an open-source IBM project, included as a part of IBM Storage orchestration for containers. IBM Storage orchestration for containers enables enterprises to implement a modern container-driven hybrid multicloud environment that can reduce IT costs and enhance business agility, while continuing to derive value from existing systems. | ||
|
||
For full release notes, compatiblity, installation, and user information, see the IBM block storage CSI driver documentation: https://www.ibm.com/support/knowledgecenter/SSRQ8T_1.4.0/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For full release notes, compatiblity, installation, and user information, see the IBM block storage CSI driver documentation: https://www.ibm.com/support/knowledgecenter/SSRQ8T_1.4.0/ | |
For full release notes, compatiblity, installation, and user information, see the [IBM block storage CSI driver](documentation: https://www.ibm.com/support/knowledgecenter/SSRQ8T_1.4.0/). | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
||
## Prerequisites | ||
|
||
For full prerequisite instructions, see the following documentation, referred to in the introductory paragraph. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For full prerequisite instructions, see the following documentation, referred to in the introductory paragraph. | |
- Review the [compatibility and requirements documentation](https://www.ibm.com/support/knowledgecenter/SSRQ8T_1.4.0/csi_ug_requirements.html). | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which steps do they need to complete on this page or others? It would be good to have a list of prereqs with links like
- Review the compatibility and requirements
- [Install the required packages](link)
- etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
I think the documentation is good enough, if we will right it again here we could miss or change things that will cause issues.
they need to go over all of it.
## Prerequisites | ||
|
||
For full prerequisite instructions, see the following documentation, referred to in the introductory paragraph. | ||
**Installation** > **Compatibility and requirements**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**Installation** > **Compatibility and requirements**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
| Parameter | Required? | Description | Default value if not provided | | ||
| --- | --- | --- | --- | | ||
| `namespace` | Optional | Deployment namespace. | `default` | | ||
| `sc-name` | Required | Storage class name to be created | N/A | | ||
| `space-efficiency` | Optional | Space efficiency of volume to be created | N/A | | ||
| `pool` | Required | Pool ID of volume to be created in | N/A | | ||
| `secret-name` | Required | Existing secret name | N/A | | ||
| `secret-namespace` | Required | Existing secret name namespace | N/A | | ||
| `fstype` | Optional | File system type | `ext4` | | ||
| `prefix` | Optional | Prefix name of volume to be created | N/A | | ||
| `VolumeExpansion` | Optional | Is volume expansion allowed? | `false` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Parameter | Required? | Description | Default value if not provided | | |
| --- | --- | --- | --- | | |
| `namespace` | Optional | Deployment namespace. | `default` | | |
| `sc-name` | Required | Storage class name to be created | N/A | | |
| `space-efficiency` | Optional | Space efficiency of volume to be created | N/A | | |
| `pool` | Required | Pool ID of volume to be created in | N/A | | |
| `secret-name` | Required | Existing secret name | N/A | | |
| `secret-namespace` | Required | Existing secret name namespace | N/A | | |
| `fstype` | Optional | File system type | `ext4` | | |
| `prefix` | Optional | Prefix name of volume to be created | N/A | | |
| `VolumeExpansion` | Optional | Is volume expansion allowed? | `false` | | |
| Parameter | Required? | Description | Default value if not provided | | |
| --- | --- | --- | --- | | |
| `namespace` | Optional | The namespace where you want to create the deployment. | `default` | | |
| `sc-name` | Required | The name of the storage class name that is created. | N/A | | |
| `space-efficiency` | Optional | The space efficiency of the volume that is created. Example: | N/A | | |
| `pool` | Required | The ID of the worker pool where you want to create the volume. Example: | N/A | | |
| `secret-name` | Required | The name of your existing Kubernetes secret. | N/A | | |
| `secret-namespace` | Required | The namespace that your Kubernetes secret is in. | N/A | | |
| `fstype` | Optional | The file system type. Specify... | `ext4` | | |
| `prefix` | Optional | The prefix name of the volume that is created. Example: | N/A | | |
| `VolumeExpansion` | Optional | Specify `true` to allow volume expansion or `false` to disallow volume expansion. | `false` | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Do the secret & deployment namespace need to be the same?
- What are some examples of the
space-effeciency
parameter? Or a link to review examples. - Is pool the worker pool id?
- What are possible fstypes
- What are possible prefixes or examples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
instead of adding examples (that eventually mislead due to other options that will not be included in them) I added a link for this step in our documentation that include explanation on all fields.
"category": "config" | ||
}, | ||
{ | ||
"description": "Existing secret name", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"description": "Existing secret name", | |
"description": "The name of your existing Kubernetes secret.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
"category": "config" | ||
}, | ||
{ | ||
"description": "Existing secret name namespace", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"description": "Existing secret name namespace", | |
"description": "The namespace that your Kubernetes secret is in.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
"category": "config" | ||
}, | ||
{ | ||
"description": "File system type", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"description": "File system type", | |
"description": "The file system type.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
"category": "config" | ||
}, | ||
{ | ||
"description": "Prefix name of volume to be created", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"description": "Prefix name of volume to be created", | |
"description": "The prefix name of the volume that is created.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
"category": "config" | ||
}, | ||
{ | ||
"description": "Is volume expansion allowed?", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"description": "Is volume expansion allowed?", | |
"description": "Specify 'true' to allow volume expansion or 'false' to disallow volume expansion.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
can you also provide example pvc / pv and app pods per the readme - https://github.com/IBM/ibm-satellite-storage/blob/develop/.github/README_TEMPLATE.md#deploying-an-app-that-uses-your-storage-configuration |
``` | ||
|
||
ibmcloud sat storage template get --name ibm-csi-block --version 1.4.0 | ||
|
||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | |
ibmcloud sat storage template get --name ibm-csi-block --version 1.4.0 | |
``` |
ibmcloud sat storage template get --name ibm-csi-block --version 1.4.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the fix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed, hope it what you meant
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing the extra linebreaks on L19 & 21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, done
All pvc / pv/ app pods/ storageclass/ secret/ snapshot ect. examples with commands and outputs can be found in our Documentation. objects examples, using examples |
{ | ||
"description": "The name of the storage class that is created.", | ||
"displayname": "Storage Class name", | ||
"name": "sc-name", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "sc-name" to "name" . we have some checks over it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also add new variable for is-default-class
eg
"description": "Specify 'true' or 'false' to make the created storage class the default class.",
"displayname": "Default",
"name": "is-default-class",
"default": "false",
"required": "false",
"category": "config",
"type": "text"
},
```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
name: "{{ sc-name }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "sc-name" to "name"
and add add new variable for is-default-class
. Please refer https://github.com/IBM/ibm-satellite-storage/blob/develop/config-templates/netapp/netapp-ontap-san/20.07/storage-class-template.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added couple of comments
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
name: "{{ name }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add annotation for is-default-class in storageclass-template ?
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: "{{ name }}"
annotations:
storageclass.kubernetes.io/is-default-class: "{{ is-default-class }}"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
tested (through API with storageclass) and working. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
* parameters (#79) * parameters * Update custom-parameters.json * Update custom-parameters.json * Update custom-parameters.json * Update custom-parameters.json * Update AWS EBS SC doc (#80) * Made changes to create the COS secret from the template * Added command to fetch endpoints from CLI * Addressed README review comments * Addressed review comments * Updated to get COS location and endpoint from UI * Update max volume limit for AWS EBS gold Storageclass (#81) * Update README.md * Added the ocs-remote template * Fix AWS template's metadata (#87) * Updated the readme according to review comments * Addressed review comments * Addressed review comments * Updated ocs-local template with disk path changes * Update README.md * fixed parameter mismatch for netapp (#88) * fixed parameter mismatch for netapp Signed-off-by: Neeraj K Kashyap <[email protected]> * fixed parameter mismatch for netapp Signed-off-by: Neeraj K Kashyap <[email protected]> * fixed parameter mismatch for netapp Signed-off-by: Neeraj K Kashyap <[email protected]> * update logo images (#90) Signed-off-by: Neeraj K Kashyap <[email protected]> * Added regex and placeholder (#89) * IBM block storage CSI Integration with IBM Cloud Satellite Storage (#83) * adding first testing files * add diver to template list * temp metadata.json * type -> category * add default ext4 to Fstype parameter in StorageClass * remove sc files * new README.md * 2 README.md * 3 README.md * remove line * add info from template and running deployment * new line * fixes * add sc * remove "" in boolean * add storageclass to README.md * refactoring * PR - support_URL, text to config * change order * PR fixes * pool parameter description change * minor fixes * PR storageclass name parameter and default sc * PR added annotations is-default-class * Added regex and placeholder- updated name (#94) * update netapp templates Signed-off-by: Neeraj K Kashyap <[email protected]> * PR added annotations is-default-class * Fix devicePath issue in local-volume-file template (#92) * Fix devicePath issue in local-volume-file template * Update deployment.yaml * add regex and update description (#97) * add regex and update description Signed-off-by: Neeraj K Kashyap <[email protected]> * add regex and update description Signed-off-by: Neeraj K Kashyap <[email protected]> * add regex and update description Signed-off-by: Neeraj K Kashyap <[email protected]> * disable a template for prod promotion (#99) Signed-off-by: Neeraj K Kashyap <[email protected]> Co-authored-by: derekpoindexter <[email protected]> Co-authored-by: Mayank Sachan <[email protected]> Co-authored-by: Shirisha.S.Rao1 <[email protected]> Co-authored-by: Shirisha-S-Rao-1 <[email protected]> Co-authored-by: Pramod Gavali <[email protected]> Co-authored-by: Arbel Nathan <[email protected]>
GHE issue: #26