-
Notifications
You must be signed in to change notification settings - Fork 120
Add details about CSI integration #590
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file added
source/_static/images/cks-csi-integration.png
Binary file added
source/_static/images/cks-csi-pods.png
57 changes: 57 additions & 0 deletions
source/plugins/cloudstack-csi-driver.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| .. Licensed to the Apache Software Foundation (ASF) under one | ||
| or more contributor license agreements. See the NOTICE file | ||
| distributed with this work for additional information# | ||
| regarding copyright ownership. The ASF licenses this file | ||
| to you 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 | ||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
| 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. | ||
|
|
||
| CloudStack CSI Driver | ||
| ======================= | ||
|
|
||
| CloudStack Container Storage Interface (CSI) plugin enables Kubernetes clusters running on Apache CloudStack to dynamically provision, manage, and use CloudStack storage volumes | ||
|
|
||
| Features | ||
| -------- | ||
|
|
||
| - Automatic provisioning: Create persistent volumes on-demand from Kubernetes PVCs | ||
| - No manual intervention: Eliminates need to manually create CloudStack volumes | ||
| - Kubernetes-native: Uses standard Kubernetes storage classes and PVC workflows | ||
|
|
||
| Advanced Storage Features | ||
| ------------------------- | ||
| - Volume snapshots: Backup and restore capabilities | ||
| - Dynamic expansion: Grow volumes without downtime or data migration | ||
| - Flexible reclaim policies: Choose between automatic cleanup or data retention | ||
|
|
||
| Core Components | ||
| ----------------- | ||
| - CSI Controller: Manages volume lifecycle, snapshots, and CloudStack API interactions | ||
| - CSI Node Driver: Handles volume mounting and unmounting on worker nodes | ||
| - Storage Class Syncer: Automatically syncs CloudStack disk offerings to Kubernetes storage classes | ||
|
|
||
| CSI integration with CKS | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| From 4.22.0, CloudStack Kubernetes Service provides CSI integration that allows dynamic provisioning of CloudStack volumes for Kubernetes pods running on CKS clusters. | ||
| To enable CSI integration, the CKS data ISOs must have the CSI manifests. Rebuilding the CKS data ISOs using the `create-kubernetes-binaries-iso.sh` script will build ISOs with CSI manifests and images. Pre-built ISOs for Kubernetes versions 1.31.1, 1.32.5 and 1.33.1 are available at https://download.cloudstack.org/cks/ | ||
|
|
||
| |cks-csi-integration.png| | ||
|
|
||
| Enabling CSI integration for a CKS cluster can be done by selecting the `Enable CSI Integration` checkbox in the Advanced Settings section of the Kubernetes cluster creation form. | ||
| Doing so will setup the CSI components - the CSI controller and the CSI node daemonset - on the cluster during its creation. | ||
|
|
||
| |cks-csi-pods.png| | ||
|
|
||
| Further details about using CSI with CKS can be found at: https://github.com/cloudstack/cloudstack-csi-driver/blob/main/README.md | ||
|
|
||
| .. |cks-csi-integration.png| image:: /_static/images/cks-csi-integration.png | ||
| :alt: Integration of CSI with CKS. | ||
| .. |cks-csi-pods.png| image:: /_static/images/cks-csi-pods.png | ||
| :alt: CSI Pods. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.