Skip to content

Commit

Permalink
Deployed 7c090a13c to v1.16 in docs/rook with MkDocs 1.6.1 and mike 2…
Browse files Browse the repository at this point in the history
….1.3
  • Loading branch information
Rook committed Dec 9, 2024
1 parent 07982ca commit 75a31fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
<a id=__codelineno-0-69 name=__codelineno-0-69></a><span class=c1># Optional, if you want to add dynamic resize for PVC.</span>
<a id=__codelineno-0-70 name=__codelineno-0-70></a><span class=c1># For now only ext3, ext4, xfs resize support provided, like in Kubernetes itself.</span>
<a id=__codelineno-0-71 name=__codelineno-0-71></a><span class=nt>allowVolumeExpansion</span><span class=p>:</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
</code></pre></div></td></tr></table></div> <p>If you've deployed the Rook operator in a namespace other than "rook-ceph", change the prefix in the provisioner to match the namespace you used. For example, if the Rook operator is running in the namespace "my-namespace" the provisioner value should be "my-namespace.rbd.csi.ceph.com".</p> <p>Create the storage class.</p> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-1-1>1</a></span></pre></div></td><td class=code><div><pre><span></span><code><a id=__codelineno-1-1 name=__codelineno-1-1></a><span class=go>kubectl create -f deploy/examples/csi/rbd/storageclass.yaml</span>
</code></pre></div></td></tr></table></div> <p>If you've deployed the Rook operator in a namespace other than <code>rook-ceph</code>, change the prefix in the provisioner to match the namespace you used. For example, if the Rook operator is running in the namespace <code>my-namespace</code> the provisioner value should be <code>my-namespace.rbd.csi.ceph.com</code>.</p> <p>Create the storage class.</p> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-1-1>1</a></span></pre></div></td><td class=code><div><pre><span></span><code><a id=__codelineno-1-1 name=__codelineno-1-1></a><span class=go>kubectl create -f deploy/examples/csi/rbd/storageclass.yaml</span>
</code></pre></div></td></tr></table></div> <div class="admonition note"> <p class=admonition-title>Note</p> <p>As <a href=https://kubernetes.io/docs/concepts/storage/persistent-volumes/#retain>specified by Kubernetes</a>, when using the <code>Retain</code> reclaim policy, any Ceph RBD image that is backed by a <code>PersistentVolume</code> will continue to exist even after the <code>PersistentVolume</code> has been deleted. These Ceph RBD images will need to be cleaned up manually using <code>rbd rm</code>.</p> </div> <h2 id=consume-the-storage-wordpress-sample>Consume the storage: Wordpress sample<a class=headerlink href=#consume-the-storage-wordpress-sample title="Permanent link">&para;</a></h2> <p>We create a sample app to consume the block storage provisioned by Rook with the classic wordpress and mysql apps. Both of these apps will make use of block volumes provisioned by Rook.</p> <p>Start mysql and wordpress from the <code>deploy/examples</code> folder:</p> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-2-1>1</a></span>
<span class=normal><a href=#__codelineno-2-2>2</a></span></pre></div></td><td class=code><div><pre><span></span><code><a id=__codelineno-2-1 name=__codelineno-2-1></a><span class=go>kubectl create -f mysql.yaml</span>
<a id=__codelineno-2-2 name=__codelineno-2-2></a><span class=go>kubectl create -f wordpress.yaml</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/rook/v1.16/search/search_index.json

Large diffs are not rendered by default.

0 comments on commit 75a31fa

Please sign in to comment.