├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── generated └── scale │ ├── README.md │ ├── cr │ ├── cachevolumeoperation │ │ ├── cachevolumeoperation.download.yaml │ │ └── cachevolumeoperation.evict.yaml │ ├── callhome │ │ └── callhome.yaml │ ├── cluster │ │ ├── cluster-gke.yaml │ │ ├── cluster-k8s.yaml │ │ ├── cluster.nvidia.yaml │ │ └── cluster.yaml │ ├── encryptionconfig │ │ └── encryptionconfig.remote.yaml │ ├── filesystem │ │ ├── filesystem.local-kubernetes.yaml │ │ ├── filesystem.local.yaml │ │ ├── filesystem.remote-kubernetes.yaml │ │ └── filesystem.remote.yaml │ ├── localdisk │ │ └── localdisk.yaml │ └── remotecluster │ │ └── remotecluster.yaml │ ├── gke │ └── buildgpl.yaml │ ├── install-k8s.yaml │ ├── install.yaml │ ├── mco │ ├── ocp4.16 │ │ ├── mco_ppc64le.yaml │ │ ├── mco_s390x.yaml │ │ └── mco_x86_64.yaml │ ├── ocp4.17 │ │ ├── mco_ppc64le.yaml │ │ ├── mco_s390x.yaml │ │ └── mco_x86_64.yaml │ └── ocp4.18 │ │ ├── mco_ppc64le.yaml │ │ ├── mco_s390x.yaml │ │ └── mco_x86_64.yaml │ ├── redhat │ └── buildgpl.yaml │ ├── support │ └── kthreads.yaml │ └── ubuntu │ └── buildgpl.yaml └── kustomization.yaml /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to making participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, sex characteristics, gender identity and expression, 9 | level of experience, education, socio-economic status, nationality, personal 10 | appearance, race, religion, or sexual identity and orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | * Using welcoming and inclusive language 18 | * Being respectful of differing viewpoints and experiences 19 | * Gracefully accepting constructive criticism 20 | * Focusing on what is best for the community 21 | * Showing empathy towards other community members 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | * The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances 27 | * Trolling, insulting/derogatory comments, and personal or political attacks 28 | * Public or private harassment 29 | * Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission 31 | * Other conduct which could reasonably be considered inappropriate in a 32 | professional setting 33 | 34 | ## Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or 41 | reject comments, commits, code, wiki edits, issues, and other contributions 42 | that are not aligned to this Code of Conduct, or to ban temporarily or 43 | permanently any contributor for other behaviors that they deem inappropriate, 44 | threatening, offensive, or harmful. 45 | 46 | ## Scope 47 | 48 | This Code of Conduct applies both within project spaces and in public spaces 49 | when an individual is representing the project or its community. Examples of 50 | representing a project or community include using an official project e-mail 51 | address, posting via an official social media account, or acting as an appointed 52 | representative at an online or offline event. Representation of a project may be 53 | further defined and clarified by project maintainers. 54 | 55 | ## Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by contacting the project team at aspalazz@us.ibm.com. All 59 | complaints will be reviewed and investigated and will result in a response that 60 | is deemed necessary and appropriate to the circumstances. The project team is 61 | obligated to maintain confidentiality with regard to the reporter of an incident. 62 | Further details of specific enforcement policies may be posted separately. 63 | 64 | Project maintainers who do not follow or enforce the Code of Conduct in good 65 | faith may face temporary or permanent repercussions as determined by other 66 | members of the project's leadership. 67 | 68 | ## Attribution 69 | 70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 71 | available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 72 | 73 | [homepage]: https://www.contributor-covenant.org 74 | 75 | For answers to common questions about this code of conduct, see 76 | https://www.contributor-covenant.org/faq 77 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Work on the `ibm-spectrum-scale-container-native` project should always be performed in a forked copy of the repo, incorporated into the main project using a pull request against the Development (dev) branch. 4 | 5 | When adding features the following process should be followed: 6 | 7 | 1. Make sure you have been approved to contribute code 8 | 2. Fork the repo, create a branch for you feature 9 | 3. Run changes through appropriate linters 10 | 4. Create a Pull Request for your feature 11 | 5. [Sign your work](#sign-your-work-for-submittal) (required) 12 | 13 | ### Sign your work for submittal 14 | 15 | The sign-off is a simple line at the end of the explanation for the patch. Your signature certifies that you wrote the patch or otherwise have the right to pass it on as an open-source patch. The rules are pretty simple: if you can certify the below (from developercertificate.org): 16 | 17 | Developer Certificate of Origin 18 | Version 1.1 19 | 20 | Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 21 | 1 Letterman Drive 22 | Suite D4700 23 | San Francisco, CA, 94129 24 | 25 | Everyone is permitted to copy and distribute verbatim copies of this 26 | license document, but changing it is not allowed. 27 | 28 | Developer's Certificate of Origin 1.1 29 | 30 | By making a contribution to this project, I certify that: 31 | 32 | (a) The contribution was created in whole or in part by me and I 33 |     have the right to submit it under the open source license 34 |     indicated in the file; or 35 | 36 | (b) The contribution is based upon previous work that, to the best 37 |     of my knowledge, is covered under an appropriate open source 38 |     license and I have the right under that license to submit that 39 |     work with modifications, whether created in whole or in part 40 |     by me, under the same open source license (unless I am 41 |     permitted to submit under a different license), as indicated 42 |     in the file; or 43 | 44 | (c) The contribution was provided directly to me by some other 45 |     person who certified (a), (b) or (c) and I have not modified 46 |     it. 47 | 48 | (d) I understand and agree that this project and the contribution 49 |     are public and that a record of the contribution (including all 50 |     personal information I submit with it, including my sign-off) is 51 |     maintained indefinitely and may be redistributed consistent with 52 |     this project or the open source license(s) involved. 53 | Then you just add a line to every git commit message: 54 | 55 | Signed-off-by: Joe Smith 56 | Use your real name (sorry, no pseudonyms or anonymous contributions.) 57 | 58 | If you set your user.name and user.email git configs, you can sign your commit automatically with git commit -s. 59 | 60 | Note: If your git config information is set properly then viewing the git log information for your commit will look something like this: 61 | 62 | Author: Joe Smith 63 | Date:   Thu Feb 2 11:41:15 2018 -0800 64 | 65 |     docs: Update README 66 | 67 |     Signed-off-by: Joe Smith 68 | Notice the Author and Signed-off-by lines match. If they don't your PR will be rejected. 69 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # IBM Storage Scale container native 2 | 3 | IBM Storage Scale in containers allows the deployment of the cluster file system in a Red Hat® OpenShift® cluster. Using a remote mount attached file system, the IBM Storage Scale solution provides a persistent data store to be accessed by the applications via the [IBM Storage Scale Container Storage Interface (CSI) driver](https://www.ibm.com/docs/en/spectrum-scale-csi) using Persistent Volumes (PVs). 4 | 5 | This project contains a golang-based operator to run and manage the deployment of an IBM Storage Scale container native cluster. Entitlement is required to access Spectrum Scale images required to created a container native Spectrum Scale cluster. 6 | 7 | If you are looking to deploy released versions of the IBM Storage Scale container native, please refer to the [Official IBM Documentation - IBM Storage Scale Container Native](https://www.ibm.com/docs/en/scalecontainernative). 8 | 9 | ## Support 10 | 11 | IBM Storage Scale container native is part of the IBM Storage Scale offering. Please follow the IBM support procedure for any issues with the deployment or creation of a container native Spectrum Scale cluster. 12 | 13 | ## Report Bugs 14 | 15 | For help with urgent situations, please use the IBM PMR process. All Spectrum Scale customers using Spectrum Scale container native, who also have ongoing support contracts, are entitled to the PMR process. Feature requests through the official RFE channels are also encouraged. 16 | 17 | ## Licensing 18 | 19 | Copyright 2022 IBM Corp. 20 | 21 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 22 | 23 | http://www.apache.org/licenses/LICENSE-2.0 24 | 25 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 26 | -------------------------------------------------------------------------------- /generated/scale/README.md: -------------------------------------------------------------------------------- 1 | 2 | # Container image list for IBM Storage Scale container native 3 | 4 | ## IBM Storage Scale images acquired from nonentitled IBM Container Repository 5 | 6 | The images that are listed in the following table are the container images that are obtained through the IBM Container Repository that do not require entitlement. These images can be anonymously pulled. 7 | 8 | | Pod | Container | Repository | Image | 9 | |-----|-----------|------------|---------------------| 10 | | ibm-spectrum-scale-controller-manager-XXXXXXXXX-XXXXX | manager | icr.io/cpopen | ibm-spectrum-scale-operator@sha256:d2f9ebc3bb196ad85b931f2dabdce13aed2e6598227b8fc2434d6df9f840f696 | 11 | | ibm-spectrum-scale-csi-operator | operator | icr.io/cpopen | ibm-spectrum-scale-csi-operator@sha256:8d74a489683d33a2e21d2b00b774d08b51861213fcd0a93ad93a1a1658595439 | 12 | | must-gather-XXXXX | must-gather | icr.io/cpopen | ibm-spectrum-scale-must-gather@sha256:4ce047b7b8f81652fd6c2c0a6682d92c08b5e99e1f31dcdde196e01267f58cc9 | 13 | 14 | ## IBM Storage Scale images that are acquired from entitled IBM Container Repository 15 | 16 | The images that are listed in the following table are the container images that are obtained through entitlement to the IBM Container Repository. 17 | 18 | | Pod | Container | Repository | Image | 19 | |-----|-----------|------------|---------------------| 20 | | workerX/masterX* | mmbuildgpl | cp.icr.io/cp/gpfs | ibm-spectrum-scale-core-init@sha256:8bd2d8d1663d5a709327561d92e962ed1e6fb4925df9925701a637cadc22be2b | 21 | | workerX/masterX* | config | cp.icr.io/cp/gpfs | ibm-spectrum-scale-core-init@sha256:8bd2d8d1663d5a709327561d92e962ed1e6fb4925df9925701a637cadc22be2b | 22 | | workerX/masterX* | gpfs (if using Data Access Edition) | cp.icr.io/cp/gpfs/data-access | ibm-spectrum-scale-daemon@sha256:72c607d9288093b3e18fda25bb9ae608c931343254987a2b3bfc7c647afeea5c | 23 | | workerX/masterX* | gpfs (if using Data Management Edition) | cp.icr.io/cp/gpfs/data-management | ibm-spectrum-scale-daemon@sha256:e287f6538f619dd1b06884fc7c3ca957366b8e365782539addb83bfa13a92be1 | 24 | | workerX/masterX* | logs | cp.icr.io/cp/gpfs | ibm-spectrum-scale-logs@sha256:ef767949384ffdf4f2067496051961a7b2c75e52d9255991ce0152072bfb9d2d | 25 | | ibm-spectrum-scale-gui-X | liberty | cp.icr.io/cp/gpfs | ibm-spectrum-scale-gui@sha256:179fd0f462c15f303c7a006b1a8ad71f01cd4215bcac99ac46722e37a56dba93 | 26 | | ibm-spectrum-scale-gui-X | sysmon | cp.icr.io/cp/gpfs | ibm-spectrum-scale-monitor@sha256:9543dfe369c3d1d4bd93f7c7743f990ae652e9bc2256a0ba6ed1d03e6924afd0 | 27 | | ibm-spectrum-scale-gui-X | postgres | cp.icr.io/cp/gpfs | postgres@sha256:0bcc5bbbb2aa9c9b4c6505845918c7eb55d783cf5c1f434fac33012579fb149d | 28 | | ibm-spectrum-scale-gui-X | logs | cp.icr.io/cp/gpfs | ibm-spectrum-scale-logs@sha256:ef767949384ffdf4f2067496051961a7b2c75e52d9255991ce0152072bfb9d2d | 29 | | ibm-spectrum-scale-pmcollector-X | pmcollector | cp.icr.io/cp/gpfs | ibm-spectrum-scale-pmcollector@sha256:f4c3d343e92a9931830b2693bc274136a14f6f497e7da92c199a957b9c0a0c7a | 30 | | ibm-spectrum-scale-pmcollector-X | sysmon | cp.icr.io/cp/gpfs | ibm-spectrum-scale-monitor@sha256:9543dfe369c3d1d4bd93f7c7743f990ae652e9bc2256a0ba6ed1d03e6924afd0 | 31 | | ibm-spectrum-scale-csi-snapshotter | csi-snapshotter | cp.icr.io/cp/gpfs/csi | csi-snapshotter@sha256:5f4bb469fec51147ce157329dab598c758da1b018bad6dad26f0ff469326d769 | 32 | | ibm-spectrum-scale-csi-attacher | ibm-spectrum-scale-csi-attacher | cp.icr.io/cp/gpfs/csi | csi-attacher@sha256:69888dba58159c8bc0d7c092b9fb97900c9ca8710d088b0b7ea7bd9052df86f6 | 33 | | ibm-spectrum-scale-csi-provisioner | csi-provisioner | cp.icr.io/cp/gpfs/csi | csi-provisioner@sha256:d5e46da8aff7d73d6f00c761dae94472bcda6e78f4f17b3802dc89d44de0111b | 34 | | ibm-spectrum-scale-csi-driver-XXXXX | liveness-probe | cp.icr.io/cp/gpfs/csi | livenessprobe@sha256:2c5f9dc4ea5ac5509d93c664ae7982d4ecdec40ca7b0638c24e5b16243b8360f | 35 | | ibm-spectrum-scale-csi-driver-XXXXX | driver-registrar | cp.icr.io/cp/gpfs/csi | csi-node-driver-registrar@sha256:d7138bcc3aa5f267403d45ad4292c95397e421ea17a0035888850f424c7de25d | 36 | | ibm-spectrum-scale-csi-resizer-X | ibm-spectrum-scale-csi-resizer | cp.icr.io/cp/gpfs/csi | csi-resizer@sha256:8ddd178ba5d08973f1607f9b84619b58320948de494b31c9d7cd5375b316d6d4 | 37 | | ibm-spectrum-scale-csi-driver-XXXXX | ibm-spectrum-scale-csi | cp.icr.io/cp/gpfs/csi | ibm-spectrum-scale-csi-driver@sha256:4856f2904c1893e8893f6d8e6775c23fe0871f0547c5d24984d70bbbbb7b3580 | 38 | | ibm-spectrum-scale-grafana-bridge-X | grafanabridge | cp.icr.io/cp/gpfs | ibm-spectrum-scale-grafana-bridge@sha256:b05cf7a8f6e1be3aa576f237075757fb318c9d3174f54410dbc17365176ce121 | 39 | | coredns-XXXXX | coredns | cp.icr.io/cp/gpfs | ibm-spectrum-scale-coredns@sha256:6a317b23fee629c0b07eb95d34ab7593bb38d41bffc5d1cd4cb2870539c66cd4 | 40 | 41 | *Pod names that contain the mmbuildgpl, config, and gpfs containers may vary. The pod name is based on the shortname of the node that it was scheduled to. 42 | 43 | >**NOTE:** This list is for information only. 44 | 45 | ## Air gapped 46 | 47 | For air-gapped support, a production-grade Docker V2 registry that is available and accessible from the Red Hat OpenShift Container Platform cluster nodes is required. This might be such registry as Quay Enterprise, JFrog Artifactory, or Docker Registry. The Red Hat OpenShift Internal Registry is not supported. 48 | 49 | When setting up your environment to be air-gapped, use `skopeo` to copy the following images from the IBM Entitled Container Registry to your internal production-grade image registry. For more information, see [Skopeo Copy to the Rescue](https://www.redhat.com/en/blog/skopeo-copy-rescue). 50 | 51 | ```bash 52 | # IBM Storage Scale container native images 53 | icr.io/cpopen/ibm-spectrum-scale-operator@sha256:d2f9ebc3bb196ad85b931f2dabdce13aed2e6598227b8fc2434d6df9f840f696 54 | cp.icr.io/cp/gpfs/data-access/ibm-spectrum-scale-daemon@sha256:72c607d9288093b3e18fda25bb9ae608c931343254987a2b3bfc7c647afeea5c 55 | cp.icr.io/cp/gpfs/data-management/ibm-spectrum-scale-daemon@sha256:e287f6538f619dd1b06884fc7c3ca957366b8e365782539addb83bfa13a92be1 56 | cp.icr.io/cp/gpfs/ibm-spectrum-scale-core-init@sha256:8bd2d8d1663d5a709327561d92e962ed1e6fb4925df9925701a637cadc22be2b 57 | cp.icr.io/cp/gpfs/ibm-spectrum-scale-coredns@sha256:6a317b23fee629c0b07eb95d34ab7593bb38d41bffc5d1cd4cb2870539c66cd4 58 | cp.icr.io/cp/gpfs/ibm-spectrum-scale-grafana-bridge@sha256:b05cf7a8f6e1be3aa576f237075757fb318c9d3174f54410dbc17365176ce121 59 | cp.icr.io/cp/gpfs/ibm-spectrum-scale-gui@sha256:179fd0f462c15f303c7a006b1a8ad71f01cd4215bcac99ac46722e37a56dba93 60 | cp.icr.io/cp/gpfs/ibm-spectrum-scale-logs@sha256:ef767949384ffdf4f2067496051961a7b2c75e52d9255991ce0152072bfb9d2d 61 | cp.icr.io/cp/gpfs/ibm-spectrum-scale-monitor@sha256:9543dfe369c3d1d4bd93f7c7743f990ae652e9bc2256a0ba6ed1d03e6924afd0 62 | cp.icr.io/cp/gpfs/ibm-spectrum-scale-pmcollector@sha256:f4c3d343e92a9931830b2693bc274136a14f6f497e7da92c199a957b9c0a0c7a 63 | cp.icr.io/cp/gpfs/ibm-spectrum-scale-pmsensors@sha256:c9270e17334eba8fd77733282bb78866fa7266e87d86bcb19146a116d4e83483 64 | cp.icr.io/cp/gpfs/postgres@sha256:0bcc5bbbb2aa9c9b4c6505845918c7eb55d783cf5c1f434fac33012579fb149d 65 | icr.io/cpopen/ibm-spectrum-scale-must-gather@sha256:4ce047b7b8f81652fd6c2c0a6682d92c08b5e99e1f31dcdde196e01267f58cc9 66 | # IBM Container Storage Interface (CSI) images 67 | icr.io/cpopen/ibm-spectrum-scale-csi-operator@sha256:8d74a489683d33a2e21d2b00b774d08b51861213fcd0a93ad93a1a1658595439 68 | cp.icr.io/cp/gpfs/csi/csi-attacher@sha256:69888dba58159c8bc0d7c092b9fb97900c9ca8710d088b0b7ea7bd9052df86f6 69 | cp.icr.io/cp/gpfs/csi/csi-node-driver-registrar@sha256:d7138bcc3aa5f267403d45ad4292c95397e421ea17a0035888850f424c7de25d 70 | cp.icr.io/cp/gpfs/csi/csi-provisioner@sha256:d5e46da8aff7d73d6f00c761dae94472bcda6e78f4f17b3802dc89d44de0111b 71 | cp.icr.io/cp/gpfs/csi/csi-resizer@sha256:8ddd178ba5d08973f1607f9b84619b58320948de494b31c9d7cd5375b316d6d4 72 | cp.icr.io/cp/gpfs/csi/csi-snapshotter@sha256:5f4bb469fec51147ce157329dab598c758da1b018bad6dad26f0ff469326d769 73 | cp.icr.io/cp/gpfs/csi/ibm-spectrum-scale-csi-driver@sha256:4856f2904c1893e8893f6d8e6775c23fe0871f0547c5d24984d70bbbbb7b3580 74 | cp.icr.io/cp/gpfs/csi/livenessprobe@sha256:2c5f9dc4ea5ac5509d93c664ae7982d4ecdec40ca7b0638c24e5b16243b8360f 75 | ``` 76 | -------------------------------------------------------------------------------- /generated/scale/cr/cachevolumeoperation/cachevolumeoperation.download.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1alpha1 2 | kind: CacheVolumeOperation 3 | metadata: 4 | name: cvo-sample 5 | namespace: ns1 6 | spec: 7 | action: Download 8 | cacheVolume: pvc-a1d91618-1c9d-4773-92a5-1492f6b0736e 9 | contentFilter: 10 | - data01 11 | - data02 12 | contentType: DataAndMetadata 13 | -------------------------------------------------------------------------------- /generated/scale/cr/cachevolumeoperation/cachevolumeoperation.evict.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1alpha1 2 | kind: CacheVolumeOperation 3 | metadata: 4 | name: cvo-sample 5 | namespace: ns1 6 | spec: 7 | action: Evict 8 | cacheVolume: pvc-a1d91618-1c9d-4773-92a5-1492f6b0736e 9 | contentFilter: 10 | - data01 11 | - data02 12 | contentType: DataAndMetadata 13 | -------------------------------------------------------------------------------- /generated/scale/cr/callhome/callhome.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1beta1 2 | kind: Callhome 3 | metadata: 4 | labels: 5 | app.kubernetes.io/instance: ibm-spectrum-scale 6 | app.kubernetes.io/name: cluster 7 | name: callhome 8 | namespace: ibm-spectrum-scale 9 | spec: 10 | # companyEmail address of the system administrator who can be contacted by the IBM Support. 11 | # Usually this e-mail address is directed towards a group or task e-mail address. For example, itsupport@mycompanyname.com. 12 | companyEmail: null 13 | # companyName of the company to which the contact person belongs. 14 | # This name can consist of any alphanumeric characters and these non-alphanumeric characters: '-', '_', '.', ' ', ','. 15 | companyName: null 16 | # countryCode two-letter upper-case country codes as defined in ISO 3166-1 alpha-2. 17 | countryCode: null 18 | # customerID of the system administrator who can be contacted by the IBM Support. 19 | # This can consist of any alphanumeric characters and these non-alphanumeric characters: '-', '_', '.'. 20 | customerID: "" 21 | license: 22 | # By accepting this request, you agree to allow IBM and its subsidiaries to store and use your contact information 23 | # and your support information anywhere they do business worldwide. For more information, please refer to the Program 24 | # license agreement and documentation. If you agree, please respond with "true" for acceptance, else with "false" to 25 | # decline. If callhome is already enabled, it will be disabled if you change this to "false". 26 | accept: true | false 27 | # Marks the cluster as a "test" or a "production" system. In case this parameter is not explicitly set, the value is 28 | # set to "production" by default. 29 | type: test | production 30 | # Leave the proxy block commented if a proxy should not be used for uploads 31 | # proxy: 32 | # # host of proxy server as hostname or IP address 33 | # host: 34 | # # port of proxy server 35 | # port: 36 | # # secretName of a basic-auth secret, which contains username and password for proxy server 37 | # # Remove the secretName if no authentication to the proxy server is needed. 38 | # secretName: 39 | -------------------------------------------------------------------------------- /generated/scale/cr/cluster/cluster-gke.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1beta1 2 | kind: Cluster 3 | metadata: 4 | labels: 5 | app.kubernetes.io/instance: ibm-spectrum-scale 6 | app.kubernetes.io/name: cluster 7 | name: ibm-spectrum-scale 8 | namespace: ibm-spectrum-scale 9 | spec: 10 | daemon: 11 | # ------------------------------------------------------------------------------- 12 | # hostAliases is optional 13 | # ------------------------------------------------------------------------------- 14 | # hostAliases is used in an environment where DNS cannot resolve the remote (storage) cluster 15 | # hostAliases: 16 | # - hostname: example.com 17 | # ip: 10.0.0.1 18 | clusterProfile: 19 | controlSetxattrImmutableSELinux: "yes" 20 | enforceFilesetQuotaOnRoot: "yes" 21 | ignorePrefetchLUNCount: "yes" 22 | initPrefetchBuffers: "128" 23 | maxblocksize: 16M 24 | prefetchPct: "25" 25 | prefetchTimeout: "30" 26 | # ------------------------------------------------------------------------------- 27 | # roles is required 28 | # ------------------------------------------------------------------------------- 29 | # roles is used to set the cluster configuration parameters 30 | # applied to all nodes 31 | # - during initial cluster creation 32 | # - and when changing these parameters at later time 33 | roles: 34 | - name: client 35 | resources: 36 | cpu: "2" 37 | memory: 4Gi 38 | # ------------------------------------------------------------------------------- 39 | # grafana bridge is optional 40 | # ------------------------------------------------------------------------------- 41 | # Uncomment the grafanaBridge field to enable 42 | # grafanaBridge: {} 43 | # ------------------------------------------------------------------------------- 44 | # User must accept the Spectrum Scale license to deploy a CNSA cluster. 45 | # By specifying "accept: true" below, user agrees to the terms and conditions set 46 | # forth by the IBM Spectrum Scale Container Native Data Access/Data Management license located 47 | # at https://www.ibm.com/support/customer/csol/terms/?id=L-WWVS-K7K7DR 48 | # 49 | # Enter either data-access or data-management to the license.license field. Customers entitled to 50 | # the Data Management Edition can use either data-management or data-access. Customers entitled to 51 | # the Data Access Edition can only use data-access. 52 | # ------------------------------------------------------------------------------- 53 | license: 54 | accept: false 55 | license: data-access 56 | -------------------------------------------------------------------------------- /generated/scale/cr/cluster/cluster-k8s.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1beta1 2 | kind: Cluster 3 | metadata: 4 | labels: 5 | app.kubernetes.io/instance: ibm-spectrum-scale 6 | app.kubernetes.io/name: cluster 7 | name: ibm-spectrum-scale 8 | namespace: ibm-spectrum-scale 9 | spec: 10 | daemon: 11 | # ------------------------------------------------------------------------------- 12 | # hostAliases is optional 13 | # ------------------------------------------------------------------------------- 14 | # hostAliases is used in an environment where DNS cannot resolve the remote (storage) cluster 15 | # hostAliases: 16 | # - hostname: example.com 17 | # ip: 10.0.0.1 18 | clusterProfile: 19 | controlSetxattrImmutableSELinux: "yes" 20 | enforceFilesetQuotaOnRoot: "yes" 21 | ignorePrefetchLUNCount: "yes" 22 | initPrefetchBuffers: "128" 23 | maxblocksize: 16M 24 | prefetchPct: "25" 25 | prefetchTimeout: "30" 26 | # ------------------------------------------------------------------------------- 27 | # nodeSelector is a User Configurable field. 28 | # ------------------------------------------------------------------------------- 29 | # In conjunction with the nodeSelector configuration, the operator also 30 | # applies node affinity according to supported architectures and OS. 31 | # More info on node selectors: 32 | # https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector 33 | nodeSelector: 34 | scale.spectrum.ibm.com/daemon-selector: "" 35 | # ------------------------------------------------------------------------------- 36 | # roles is required 37 | # ------------------------------------------------------------------------------- 38 | # roles is used to set the cluster configuration parameters 39 | # applied to all nodes 40 | # - during initial cluster creation 41 | # - and when changing these parameters at later time 42 | roles: 43 | - name: client 44 | resources: 45 | cpu: "2" 46 | memory: 4Gi 47 | # ------------------------------------------------------------------------------- 48 | # grafana bridge is optional 49 | # ------------------------------------------------------------------------------- 50 | # Uncomment the grafanaBridge field to enable 51 | # grafanaBridge: {} 52 | # ------------------------------------------------------------------------------- 53 | # User must accept the Spectrum Scale license to deploy a CNSA cluster. 54 | # By specifying "accept: true" below, user agrees to the terms and conditions set 55 | # forth by the IBM Spectrum Scale Container Native Data Access/Data Management license located 56 | # at https://www.ibm.com/support/customer/csol/terms/?id=L-WWVS-K7K7DR 57 | # 58 | # Enter either data-access or data-management to the license.license field. Customers entitled to 59 | # the Data Management Edition can use either data-management or data-access. Customers entitled to 60 | # the Data Access Edition can only use data-access. 61 | # ------------------------------------------------------------------------------- 62 | license: 63 | accept: false 64 | license: data-access 65 | -------------------------------------------------------------------------------- /generated/scale/cr/cluster/cluster.nvidia.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1beta1 2 | kind: Cluster 3 | metadata: 4 | labels: 5 | app.kubernetes.io/instance: ibm-spectrum-scale 6 | app.kubernetes.io/name: cluster 7 | name: ibm-spectrum-scale 8 | namespace: ibm-spectrum-scale 9 | spec: 10 | daemon: 11 | # ------------------------------------------------------------------------------- 12 | # hostAliases is optional 13 | # ------------------------------------------------------------------------------- 14 | # hostAliases is used in an environment where DNS cannot resolve the remote (storage) cluster 15 | # hostAliases: 16 | # - hostname: example.com 17 | # ip: 10.0.0.1 18 | clusterProfile: 19 | controlSetxattrImmutableSELinux: "yes" 20 | enforceFilesetQuotaOnRoot: "yes" 21 | ignorePrefetchLUNCount: "yes" 22 | initPrefetchBuffers: "128" 23 | maxblocksize: 16M 24 | prefetchPct: "25" 25 | prefetchTimeout: "30" 26 | # ------------------------------------------------------------------------------- 27 | # RDMA specific configuration. 28 | # Change verbsPort to value based on your configuration. This value should match the 29 | # network interface name for the InfiniBand device. For example: "mlx5_2", "ibs5f0", etc. 30 | # ------------------------------------------------------------------------------- 31 | # verbsPorts: mlx5_2 32 | # For mixed config scenario, uncomment this next line and delete the line above 33 | # verbsPorts: "mlx5_3/1 mlx5_2/1" 34 | # verbsRdma: enable 35 | # verbsRdmaSend: "yes" 36 | # Only enable `verbsRdmaCm` when deploying RoCE - RDMA over Converged Ethernet 37 | # verbsRdmaCm: disabled 38 | # ------------------------------------------------------------------------------- 39 | # nodeSelector is a User Configurable field. 40 | # ------------------------------------------------------------------------------- 41 | # In conjunction with the nodeSelector configuration, the operator also 42 | # applies node affinity according to supported architectures and OS. 43 | # More info on node selectors: 44 | # https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector 45 | nodeSelector: 46 | scale.spectrum.ibm.com/daemon-selector: "" 47 | # ------------------------------------------------------------------------------- 48 | # roles is required 49 | # ------------------------------------------------------------------------------- 50 | # roles is used to set the cluster configuration parameters 51 | # applied to all nodes 52 | # - during initial cluster creation 53 | # - and when changing these parameters at later time 54 | roles: 55 | - name: client 56 | resources: 57 | cpu: "4" 58 | memory: 32Gi 59 | # ------------------------------------------------------------------------------- 60 | # grafana bridge is optional 61 | # ------------------------------------------------------------------------------- 62 | # Uncomment the grafanaBridge field to enable 63 | # grafanaBridge: {} 64 | # ------------------------------------------------------------------------------- 65 | # User must accept the Spectrum Scale license to deploy a CNSA cluster. 66 | # By specifying "accept: true" below, user agrees to the terms and conditions set 67 | # forth by the IBM Spectrum Scale Container Native Data Access/Data Management license located 68 | # at https://www.ibm.com/support/customer/csol/terms/?id=L-ZWQM-AL9LU6 69 | # 70 | # Enter either data-access or data-management to the license.license field. Customers entitled to 71 | # the Data Management Edition can use either data-management or data-access. Customers entitled to 72 | # the Data Access Edition can only use data-access. 73 | # ------------------------------------------------------------------------------- 74 | license: 75 | accept: false 76 | license: data-access 77 | # ------------------------------------------------------------------------------- 78 | # networkPolicy enabled by default 79 | # ------------------------------------------------------------------------------- 80 | networkPolicy: {} 81 | -------------------------------------------------------------------------------- /generated/scale/cr/cluster/cluster.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1beta1 2 | kind: Cluster 3 | metadata: 4 | labels: 5 | app.kubernetes.io/instance: ibm-spectrum-scale 6 | app.kubernetes.io/name: cluster 7 | name: ibm-spectrum-scale 8 | namespace: ibm-spectrum-scale 9 | spec: 10 | daemon: 11 | # ------------------------------------------------------------------------------- 12 | # hostAliases is optional 13 | # ------------------------------------------------------------------------------- 14 | # hostAliases is used in an environment where DNS cannot resolve the remote (storage) cluster 15 | # hostAliases: 16 | # - hostname: example.com 17 | # ip: 10.0.0.1 18 | clusterProfile: 19 | controlSetxattrImmutableSELinux: "yes" 20 | enforceFilesetQuotaOnRoot: "yes" 21 | ignorePrefetchLUNCount: "yes" 22 | initPrefetchBuffers: "128" 23 | maxblocksize: 16M 24 | prefetchPct: "25" 25 | prefetchTimeout: "30" 26 | # ------------------------------------------------------------------------------- 27 | # nodeSelector is a User Configurable field. 28 | # ------------------------------------------------------------------------------- 29 | # In conjunction with the nodeSelector configuration, the operator also 30 | # applies node affinity according to supported architectures and OS. 31 | # More info on node selectors: 32 | # https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector 33 | nodeSelector: 34 | scale.spectrum.ibm.com/daemon-selector: "" 35 | # ------------------------------------------------------------------------------- 36 | # roles is required 37 | # ------------------------------------------------------------------------------- 38 | # roles is used to set the cluster configuration parameters 39 | # applied to all nodes 40 | # - during initial cluster creation 41 | # - and when changing these parameters at later time 42 | roles: 43 | - name: client 44 | resources: 45 | cpu: "2" 46 | memory: 4Gi 47 | # ------------------------------------------------------------------------------- 48 | # grafana bridge is optional 49 | # ------------------------------------------------------------------------------- 50 | # Uncomment the grafanaBridge field to enable 51 | # grafanaBridge: {} 52 | # ------------------------------------------------------------------------------- 53 | # User must accept the Spectrum Scale license to deploy a CNSA cluster. 54 | # By specifying "accept: true" below, user agrees to the terms and conditions set 55 | # forth by the IBM Spectrum Scale Container Native Data Access/Data Management license located 56 | # at https://www.ibm.com/support/customer/csol/terms/?id=L-WWVS-K7K7DR 57 | # 58 | # Enter either data-access or data-management to the license.license field. Customers entitled to 59 | # the Data Management Edition can use either data-management or data-access. Customers entitled to 60 | # the Data Access Edition can only use data-access. 61 | # ------------------------------------------------------------------------------- 62 | license: 63 | accept: false 64 | license: data-access 65 | # ------------------------------------------------------------------------------- 66 | # networkPolicy enabled by default 67 | # ------------------------------------------------------------------------------- 68 | networkPolicy: {} 69 | -------------------------------------------------------------------------------- /generated/scale/cr/encryptionconfig/encryptionconfig.remote.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1beta1 2 | kind: EncryptionConfig 3 | metadata: 4 | labels: 5 | app.kubernetes.io/instance: ibm-spectrum-scale 6 | app.kubernetes.io/name: cluster 7 | name: encryption-config-sample 8 | namespace: ibm-spectrum-scale 9 | spec: 10 | backupServers: 11 | - keyserver1.example.com 12 | - keyserver2.example.com 13 | - keyserver3.example.com 14 | - keyserver4.example.com 15 | - keyserver5.example.com 16 | cacert: sample-ca-cert 17 | client: sampleClient 18 | port: 9443 19 | remoteRKM: sampleRKM 20 | secret: keyserver-credentials 21 | server: keyserver.example.com 22 | tenant: sampleTenant 23 | -------------------------------------------------------------------------------- /generated/scale/cr/filesystem/filesystem.local-kubernetes.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1beta1 2 | kind: Filesystem 3 | metadata: 4 | labels: 5 | app.kubernetes.io/instance: ibm-spectrum-scale 6 | app.kubernetes.io/name: cluster 7 | name: local-sample 8 | namespace: ibm-spectrum-scale 9 | spec: 10 | local: 11 | blockSize: 4M 12 | pools: 13 | - disks: 14 | - disk0 15 | - disk1 16 | - disk2 17 | name: system 18 | replication: 1-way 19 | type: shared 20 | seLinuxOptions: {} 21 | -------------------------------------------------------------------------------- /generated/scale/cr/filesystem/filesystem.local.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1beta1 2 | kind: Filesystem 3 | metadata: 4 | labels: 5 | app.kubernetes.io/instance: ibm-spectrum-scale 6 | app.kubernetes.io/name: cluster 7 | name: local-sample 8 | namespace: ibm-spectrum-scale 9 | spec: 10 | local: 11 | blockSize: 4M 12 | pools: 13 | - disks: 14 | - disk0 15 | - disk1 16 | - disk2 17 | name: system 18 | replication: 1-way 19 | type: shared 20 | seLinuxOptions: 21 | level: s0 22 | role: object_r 23 | type: container_file_t 24 | user: system_u 25 | -------------------------------------------------------------------------------- /generated/scale/cr/filesystem/filesystem.remote-kubernetes.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1beta1 2 | kind: Filesystem 3 | metadata: 4 | labels: 5 | app.kubernetes.io/instance: ibm-spectrum-scale 6 | app.kubernetes.io/name: cluster 7 | name: remote-sample 8 | namespace: ibm-spectrum-scale 9 | spec: 10 | remote: 11 | cluster: remotecluster-sample 12 | fs: fs1 13 | seLinuxOptions: {} 14 | -------------------------------------------------------------------------------- /generated/scale/cr/filesystem/filesystem.remote.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1beta1 2 | kind: Filesystem 3 | metadata: 4 | labels: 5 | app.kubernetes.io/instance: ibm-spectrum-scale 6 | app.kubernetes.io/name: cluster 7 | name: remote-sample 8 | namespace: ibm-spectrum-scale 9 | spec: 10 | remote: 11 | cluster: remotecluster-sample 12 | fs: fs1 13 | seLinuxOptions: 14 | level: s0 15 | role: object_r 16 | type: container_file_t 17 | user: system_u 18 | -------------------------------------------------------------------------------- /generated/scale/cr/localdisk/localdisk.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1beta1 2 | kind: LocalDisk 3 | metadata: 4 | labels: 5 | app.kubernetes.io/instance: ibm-spectrum-scale 6 | app.kubernetes.io/name: cluster 7 | name: disk0 8 | namespace: ibm-spectrum-scale 9 | spec: 10 | device: /dev/sdb 11 | node: worker0.example.com 12 | nodeConnectionSelector: 13 | matchExpressions: 14 | - key: kubernetes.io/hostname 15 | operator: In 16 | values: 17 | - worker0.example.com 18 | - worker1.example.com 19 | - worker2.example.com 20 | --- 21 | apiVersion: scale.spectrum.ibm.com/v1beta1 22 | kind: LocalDisk 23 | metadata: 24 | labels: 25 | app.kubernetes.io/instance: ibm-spectrum-scale 26 | app.kubernetes.io/name: cluster 27 | name: disk1 28 | namespace: ibm-spectrum-scale 29 | spec: 30 | device: /dev/sdc 31 | node: worker0.example.com 32 | nodeConnectionSelector: 33 | matchExpressions: 34 | - key: kubernetes.io/hostname 35 | operator: In 36 | values: 37 | - worker0.example.com 38 | - worker1.example.com 39 | - worker2.example.com 40 | --- 41 | apiVersion: scale.spectrum.ibm.com/v1beta1 42 | kind: LocalDisk 43 | metadata: 44 | labels: 45 | app.kubernetes.io/instance: ibm-spectrum-scale 46 | app.kubernetes.io/name: cluster 47 | name: disk2 48 | namespace: ibm-spectrum-scale 49 | spec: 50 | device: /dev/sdd 51 | node: worker0.example.com 52 | nodeConnectionSelector: 53 | matchExpressions: 54 | - key: kubernetes.io/hostname 55 | operator: In 56 | values: 57 | - worker0.example.com 58 | - worker1.example.com 59 | - worker2.example.com 60 | -------------------------------------------------------------------------------- /generated/scale/cr/remotecluster/remotecluster.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: scale.spectrum.ibm.com/v1beta1 2 | kind: RemoteCluster 3 | metadata: 4 | labels: 5 | app.kubernetes.io/instance: ibm-spectrum-scale 6 | app.kubernetes.io/name: cluster 7 | name: remotecluster-sample 8 | namespace: ibm-spectrum-scale 9 | spec: 10 | # contactNodes are optional and provides a list of nodes from the storage cluster 11 | # to be used as the remote cluster contact nodes. The names should be the daemon 12 | # node names. If not specified, the operator will use any 3 nodes detected 13 | # from the storage cluster. 14 | contactNodes: 15 | - storagecluster1node1 16 | - storagecluster1node2 17 | gui: 18 | cacert: cacert-storage-cluster-1 19 | # This is the secret that contains the CSIAdmin user 20 | # credentials in the ibm-spectrum-scale-csi namespace. 21 | # Remove the csiSecretName entry if the storage cluster is version 5.2.3 or newer. 22 | csiSecretName: csi-remote-mount-storage-cluster-1 23 | # hosts are the the GUI endpoints from the storage cluster. Multiple 24 | # hosts (up to 3) can be specified to ensure high availability of GUI. 25 | hosts: 26 | - guihost1.example.com 27 | # - guihost2.example.com 28 | # - guihost3.example.com 29 | insecureSkipVerify: false 30 | # This is the secret that contains the ContainerOperator user 31 | # credentials in the ibm-spectrum-scale namespace. 32 | secretName: cnsa-remote-mount-storage-cluster-1 33 | -------------------------------------------------------------------------------- /generated/scale/gke/buildgpl.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | data: 3 | buildgpl: | 4 | #!/bin/bash 5 | 6 | if ! grep -q loadpin /proc/cmdline 7 | then 8 | echo "Loadpin active. Patching kernel boot parameters with loadpin.enforce=0 and reboot node." 9 | mkdir -p /var/mnt/EFISYS 10 | mount /host/dev/disk/by-label/EFI-SYSTEM /var/mnt/EFISYS 11 | sed -i -e 's/module.sig_enforce=0/module.sig_enforce=0 loadpin.enforce=0/g' /var/mnt/EFISYS/efi/boot/grub.cfg 12 | umount /var/mnt/EFISYS 13 | rmdir /var/mnt/EFISYS 14 | chroot /host reboot 15 | fi 16 | 17 | BUILD_DIR=/build 18 | mkdir -p "$BUILD_DIR" 19 | 20 | cd $BUILD_DIR 21 | 22 | #download google cloud toolkit 23 | curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-linux-x86_64.tar.gz 24 | tar -xf google-cloud-cli-linux-x86_64.tar.gz 25 | export PATH=google-cloud-sdk/bin:$PATH 26 | 27 | BASE=gs://cos-tools 28 | TOOLCHAIN=toolchain.tar.xz.gcs 29 | HEADERS=kernel-headers.tgz 30 | # assuming /host mounts root of host fs 31 | VERSION_ID=$(grep VERSION_ID /host/etc/os-release | cut -d "=" -f 2) 32 | BUILD_ID=$(grep BUILD_ID /host/etc/os-release | cut -d "=" -f 2) 33 | echo "COS version $VERSION_ID build $BUILD_ID" 34 | URL=$BASE/$BUILD_ID/$TOOLCHAIN 35 | 36 | #download kernel headers 37 | gsutil cp "$BASE/$BUILD_ID/kernel-headers.tgz" kernel-headers.tgz 38 | 39 | #download toolchain 40 | gsutil cp "$BASE/$BUILD_ID/$TOOLCHAIN" bucketinfo 41 | TC_bucket=$(cat bucketinfo | grep ^bucket: | cut -d ' ' -f 2) 42 | TC_path=$(cat bucketinfo | grep ^path: | cut -d ' ' -f 2) 43 | gsutil cp "gs://$TC_bucket/$TC_path" toolchain.tar.xz 44 | 45 | 46 | tar -xz -C "$BUILD_DIR" -f kernel-headers.tgz 47 | tar -xJ -C "$BUILD_DIR" -f toolchain.tar.xz 48 | 49 | kversion=$(uname -r) 50 | 51 | ln -s -T $BUILD_DIR/usr/src/linux-headers-$kversion /usr/src/kernels/$kversion 52 | cp -rf /host/lib/modules/$kversion /lib/modules/$kversion 53 | 54 | echo "KERNEL_CC=$BUILD_DIR/usr/bin/x86_64-cros-linux-gnu-clang" >> /usr/lpp/mmfs/src/config/site.mk 55 | 56 | cd /usr/lpp/mmfs/src/ 57 | config/configure linuxdistribution=KERNEL_ORG_LINUX 58 | 59 | # mmbuildgpl 60 | make World 61 | make InstallImages 62 | hostPathDirectories: | 63 | / 64 | kind: ConfigMap 65 | metadata: 66 | labels: 67 | app.kubernetes.io/instance: ibm-spectrum-scale 68 | app.kubernetes.io/name: cluster 69 | name: buildgpl 70 | namespace: ibm-spectrum-scale 71 | -------------------------------------------------------------------------------- /generated/scale/mco/ocp4.16/mco_ppc64le.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: machineconfiguration.openshift.io/v1 2 | kind: MachineConfig 3 | metadata: 4 | labels: 5 | machineconfiguration.openshift.io/role: worker 6 | name: 00-worker-ibm-spectrum-scale-kernel-devel 7 | spec: 8 | config: 9 | ignition: 10 | version: 3.2.0 11 | extensions: 12 | - kernel-devel 13 | -------------------------------------------------------------------------------- /generated/scale/mco/ocp4.16/mco_s390x.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: machineconfiguration.openshift.io/v1 2 | kind: MachineConfig 3 | metadata: 4 | labels: 5 | machineconfiguration.openshift.io/role: worker 6 | name: 00-worker-ibm-spectrum-scale-kernel-devel 7 | spec: 8 | config: 9 | ignition: 10 | version: 3.2.0 11 | extensions: 12 | - kernel-devel 13 | --- 14 | apiVersion: machineconfiguration.openshift.io/v1 15 | kind: MachineConfig 16 | metadata: 17 | labels: 18 | machineconfiguration.openshift.io/role: worker 19 | name: 02-worker-ibm-spectrum-scale-s390x-vmalloc 20 | spec: 21 | kernelArguments: 22 | - vmalloc=4096G 23 | -------------------------------------------------------------------------------- /generated/scale/mco/ocp4.16/mco_x86_64.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: machineconfiguration.openshift.io/v1 2 | kind: MachineConfig 3 | metadata: 4 | labels: 5 | machineconfiguration.openshift.io/role: worker 6 | name: 00-worker-ibm-spectrum-scale-kernel-devel 7 | spec: 8 | config: 9 | ignition: 10 | version: 3.2.0 11 | extensions: 12 | - kernel-devel 13 | -------------------------------------------------------------------------------- /generated/scale/mco/ocp4.17/mco_ppc64le.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: machineconfiguration.openshift.io/v1 2 | kind: MachineConfig 3 | metadata: 4 | labels: 5 | machineconfiguration.openshift.io/role: worker 6 | name: 00-worker-ibm-spectrum-scale-kernel-devel 7 | spec: 8 | config: 9 | ignition: 10 | version: 3.2.0 11 | extensions: 12 | - kernel-devel 13 | -------------------------------------------------------------------------------- /generated/scale/mco/ocp4.17/mco_s390x.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: machineconfiguration.openshift.io/v1 2 | kind: MachineConfig 3 | metadata: 4 | labels: 5 | machineconfiguration.openshift.io/role: worker 6 | name: 00-worker-ibm-spectrum-scale-kernel-devel 7 | spec: 8 | config: 9 | ignition: 10 | version: 3.2.0 11 | extensions: 12 | - kernel-devel 13 | --- 14 | apiVersion: machineconfiguration.openshift.io/v1 15 | kind: MachineConfig 16 | metadata: 17 | labels: 18 | machineconfiguration.openshift.io/role: worker 19 | name: 02-worker-ibm-spectrum-scale-s390x-vmalloc 20 | spec: 21 | kernelArguments: 22 | - vmalloc=4096G 23 | -------------------------------------------------------------------------------- /generated/scale/mco/ocp4.17/mco_x86_64.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: machineconfiguration.openshift.io/v1 2 | kind: MachineConfig 3 | metadata: 4 | labels: 5 | machineconfiguration.openshift.io/role: worker 6 | name: 00-worker-ibm-spectrum-scale-kernel-devel 7 | spec: 8 | config: 9 | ignition: 10 | version: 3.2.0 11 | extensions: 12 | - kernel-devel 13 | -------------------------------------------------------------------------------- /generated/scale/mco/ocp4.18/mco_ppc64le.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: machineconfiguration.openshift.io/v1 2 | kind: MachineConfig 3 | metadata: 4 | labels: 5 | machineconfiguration.openshift.io/role: worker 6 | name: 00-worker-ibm-spectrum-scale-kernel-devel 7 | spec: 8 | config: 9 | ignition: 10 | version: 3.2.0 11 | extensions: 12 | - kernel-devel 13 | -------------------------------------------------------------------------------- /generated/scale/mco/ocp4.18/mco_s390x.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: machineconfiguration.openshift.io/v1 2 | kind: MachineConfig 3 | metadata: 4 | labels: 5 | machineconfiguration.openshift.io/role: worker 6 | name: 00-worker-ibm-spectrum-scale-kernel-devel 7 | spec: 8 | config: 9 | ignition: 10 | version: 3.2.0 11 | extensions: 12 | - kernel-devel 13 | --- 14 | apiVersion: machineconfiguration.openshift.io/v1 15 | kind: MachineConfig 16 | metadata: 17 | labels: 18 | machineconfiguration.openshift.io/role: worker 19 | name: 02-worker-ibm-spectrum-scale-s390x-vmalloc 20 | spec: 21 | kernelArguments: 22 | - vmalloc=4096G 23 | -------------------------------------------------------------------------------- /generated/scale/mco/ocp4.18/mco_x86_64.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: machineconfiguration.openshift.io/v1 2 | kind: MachineConfig 3 | metadata: 4 | labels: 5 | machineconfiguration.openshift.io/role: worker 6 | name: 00-worker-ibm-spectrum-scale-kernel-devel 7 | spec: 8 | config: 9 | ignition: 10 | version: 3.2.0 11 | extensions: 12 | - kernel-devel 13 | -------------------------------------------------------------------------------- /generated/scale/redhat/buildgpl.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | data: 3 | buildgpl: | 4 | mmbuildgpl 5 | hostPathDirectories: | 6 | /usr/src/kernels 7 | /usr/include/asm 8 | /usr/include/asm-generic 9 | /usr/include/linux 10 | kind: ConfigMap 11 | metadata: 12 | labels: 13 | app.kubernetes.io/instance: ibm-spectrum-scale 14 | app.kubernetes.io/name: cluster 15 | name: buildgpl 16 | namespace: ibm-spectrum-scale 17 | -------------------------------------------------------------------------------- /generated/scale/support/kthreads.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: DaemonSet 3 | metadata: 4 | name: scale-kthreads-dump 5 | namespace: ibm-spectrum-scale 6 | spec: 7 | selector: 8 | matchLabels: 9 | app.kubernetes.io/instance: ibm-spectrum-scale 10 | app.kubernetes.io/name: scale-kthreads-dump 11 | template: 12 | metadata: 13 | labels: 14 | app.kubernetes.io/instance: ibm-spectrum-scale 15 | app.kubernetes.io/name: scale-kthreads-dump 16 | spec: 17 | affinity: 18 | nodeAffinity: 19 | requiredDuringSchedulingIgnoredDuringExecution: 20 | nodeSelectorTerms: 21 | - matchExpressions: 22 | - key: kubernetes.io/os 23 | operator: In 24 | values: 25 | - linux 26 | - key: kubernetes.io/arch 27 | operator: In 28 | values: 29 | - amd64 30 | - ppc64le 31 | - s390x 32 | - key: scale.spectrum.ibm.com/daemon-selector 33 | operator: Exists 34 | containers: 35 | - command: 36 | - /bin/bash 37 | env: 38 | - name: NODENAME 39 | valueFrom: 40 | fieldRef: 41 | fieldPath: spec.nodeName 42 | image: null 43 | name: must-gather 44 | securityContext: 45 | privileged: true 46 | readOnlyRootFilesystem: false 47 | tty: true 48 | hostPID: true 49 | priorityClassName: system-node-critical 50 | tolerations: 51 | - effect: NoExecute 52 | operator: Exists 53 | - key: CriticalAddonsOnly 54 | operator: Exists 55 | - effect: NoSchedule 56 | key: node-role.kubernetes.io/control-plane 57 | operator: Exists 58 | - effect: NoSchedule 59 | key: node-role.kubernetes.io/infra 60 | operator: Exists 61 | - effect: NoSchedule 62 | key: node.kubernetes.io/disk-pressure 63 | operator: Exists 64 | - effect: NoSchedule 65 | key: node.kubernetes.io/memory-pressure 66 | operator: Exists 67 | - effect: NoSchedule 68 | key: node.kubernetes.io/pid-pressure 69 | operator: Exists 70 | -------------------------------------------------------------------------------- /generated/scale/ubuntu/buildgpl.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | data: 3 | buildgpl: | 4 | #!/bin/bash 5 | 6 | # Base image didn't contains these directory 7 | # Needed for make gpfs on ubuntu system 8 | 9 | # get the kernel version 10 | kversion=$(uname -r) 11 | krelease=$(uname -r | cut -d'-' -f1,2) 12 | currentkernel=$(uname -r | cut -d'-' -f1) 13 | targetkernel="6.8.0" 14 | 15 | # check kernel release 16 | if [ "$(printf '%s\n' "$currentkernel" "$targetkernel" | sort -V | head -n1)" = "$currentkernel" ] \ 17 | && [ "$currentkernel" != "$targetkernel" ]; then 18 | # for ubuntu 22.04 19 | # we may able to use this support if change to redhat 10 based image 20 | kversion=$(uname -r) 21 | ln -s -T /host/usr/src/linux-headers-$kversion /usr/src/kernels/$kversion 22 | cp -rf /host/lib/modules/$kversion /lib/modules/$kversion 23 | 24 | # build config/mk.env 25 | cd /usr/lpp/mmfs/src/ 26 | config/configure linuxdistribution=UBUNTU_LINUX 27 | 28 | # mmbuildgpl 29 | make World 30 | make InstallImages 31 | else 32 | # for ubuntu 24.04 33 | mkdir -p /usr/src/kernels 34 | rsync -a "/host/usr/src/linux-headers-$krelease" "/usr/src/kernels/" 35 | rsync -a "/host/usr/src/linux-headers-$kversion" "/usr/src/kernels/" 36 | 37 | # create chroot dir 38 | chroot_dir="/opt/chroot" 39 | mkdir -p "$chroot_dir" 40 | 41 | # rsync /host/usr and etc to chroot 42 | rsync_dirs=("/host/usr" "/host/etc" "/bin") 43 | for dir in "${rsync_dirs[@]}"; do 44 | rsync -a $dir "$chroot_dir" 45 | done 46 | rsync -a "/usr/src/kernels" "$chroot_dir/usr/src" 47 | rsync -a "/usr/lpp" "$chroot_dir/usr" 48 | 49 | # create symlinks for lib and lib64 inside of chroot 50 | cd "$chroot_dir" 51 | ln -sfn usr/lib "$chroot_dir/lib" 52 | ln -sfn usr/lib64 "$chroot_dir/lib64" 53 | 54 | # mounting virtual filesystem 55 | mount_dirs=("/dev" "/proc" "/sys") 56 | for mnt in "${mount_dirs[@]}"; do 57 | mkdir -p "$chroot_dir$mnt" 58 | mount --bind "/host$mnt" "$chroot_dir$mnt" 59 | done 60 | 61 | # entering chroot 62 | chroot "$chroot_dir" /bin/bash -c " 63 | cd /usr/lpp/mmfs/src 64 | echo "KERNEL_CC=/usr/bin/x86_64-linux-gnu-gcc-13" > /usr/lpp/mmfs/src/config/site.mk 65 | config/configure linuxdistribution=UBUNTU_LINUX 66 | make World 67 | make InstallImages " 68 | 69 | # clean up and unmount 70 | for mnt in "${mount_dirs[@]}"; do 71 | umount "$chroot_dir$mnt" 72 | done 73 | 74 | # get the modules from chroot 75 | kversion=$(uname -r) 76 | rm -rf /lib/modules/$kversion 77 | rsync -av /opt/chroot/usr/lib/modules/$kversion /lib/modules 78 | cp -rf /opt/chroot/usr/lpp/mmfs/bin/lxtrace-$kversion /usr/lpp/mmfs/bin/ 79 | 80 | # load the module 81 | depmod -A 82 | modprobe tracedev 83 | modprobe mmfslinux 84 | modprobe mmfs26 85 | fi 86 | hostPathDirectories: | 87 | / 88 | kind: ConfigMap 89 | metadata: 90 | labels: 91 | app.kubernetes.io/instance: ibm-spectrum-scale 92 | app.kubernetes.io/name: cluster 93 | name: buildgpl 94 | namespace: ibm-spectrum-scale 95 | -------------------------------------------------------------------------------- /kustomization.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: kustomize.config.k8s.io/v1beta1 2 | kind: Kustomization 3 | 4 | resources: 5 | - config/overlays/deploy 6 | - config/cluster/overlays/scaffold 7 | --------------------------------------------------------------------------------