Skip to content

Commit 98fc5ec

Browse files
author
Rook
committed
Deployed eadaca9d6 to v1.18 in docs/rook with MkDocs 1.6.1 and mike 2.1.3
1 parent 1488b94 commit 98fc5ec

38 files changed

Lines changed: 64 additions & 64 deletions

File tree

docs/rook/v1.18/CRDs/Block-Storage/ceph-block-pool-crd/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/rook/v1.18/CRDs/Block-Storage/ceph-rbd-mirror-crd/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/rook/v1.18/CRDs/Cluster/ceph-cluster-crd/index.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

docs/rook/v1.18/CRDs/Cluster/external-cluster/advance-external/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
<span class=normal><a href=#__codelineno-0-2>2</a></span></pre></div></td><td class=code><div><pre><span></span><code><a id=__codelineno-0-1 name=__codelineno-0-1></a><span class=go>toolbox=$(kubectl get pod -l app=rook-ceph-tools -n rook-ceph -o jsonpath=&#39;{.items[*].metadata.name}&#39;)</span>
33
<a id=__codelineno-0-2 name=__codelineno-0-2></a><span class=go>kubectl -n rook-ceph cp deploy/examples/external/create-external-cluster-resources.py $toolbox:/etc/ceph</span>
44
</code></pre></div></td></tr></table></div> </li> <li> <p>Exec to the toolbox pod and execute create-external-cluster-resources.py with needed options to create required <a href=../provider-export/#1-create-all-users-and-keys>users and keys</a>.</p> </li> </ol> <div class="admonition important"> <p class=admonition-title>Important</p> <p>For other clusters to connect to storage in this cluster, Rook must be configured with a networking configuration that is accessible from other clusters. Most commonly this is done by enabling host networking in the CephCluster CR so the Ceph daemons will be addressable by their host IPs.</p> </div> <h2 id=admin-privileges>Admin privileges<a class=headerlink href=#admin-privileges title="Permanent link">&para;</a></h2> <p>If in case the cluster needs the admin keyring to configure, update the admin key <code>rook-ceph-mon</code> secret with client.admin keyring</p> <div class="admonition note"> <p class=admonition-title>Note</p> <p>Sharing the admin key with the external cluster is not generally recommended</p> </div> <ol> <li> <p>Get the <code>client.admin</code> keyring from the ceph cluster</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>ceph auth get client.admin</span>
5-
</code></pre></div></td></tr></table></div> </li> <li> <p>Update two values in the <code>rook-ceph-mon</code> secret:</p> <ul> <li><code>ceph-username</code>: Set to <code>client.admin</code></li> <li><code>ceph-secret</code>: Set the client.admin keyring</li> </ul> </li> </ol> <p>After restarting the rook operator (and the toolbox if in use), rook will configure ceph with admin privileges.</p> <h2 id=connect-to-an-external-object-store>Connect to an External Object Store<a class=headerlink href=#connect-to-an-external-object-store title="Permanent link">&para;</a></h2> <p>Create the <a href=https://github.com/rook/rook/blob/release-1.18/deploy/examples/external/object-external.yaml>external object store CR</a> to configure connection to external gateways.</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>
5+
</code></pre></div></td></tr></table></div> </li> <li> <p>Update two values in the <code>rook-ceph-mon</code> secret:</p> <ul> <li><code>ceph-username</code>: Set to <code>client.admin</code></li> <li><code>ceph-secret</code>: Set the client.admin keyring</li> </ul> </li> </ol> <p>After restarting the rook operator (and the toolbox if in use), rook will configure ceph with admin privileges.</p> <h2 id=connect-to-an-external-object-store>Connect to an External Object Store<a class=headerlink href=#connect-to-an-external-object-store title="Permanent link">&para;</a></h2> <p>Create the <a href=https://github.com/rook/rook/blob/HEAD/deploy/examples/external/object-external.yaml>external object store CR</a> to configure connection to external gateways.</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>
66
<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>cd deploy/examples/external</span>
77
<a id=__codelineno-2-2 name=__codelineno-2-2></a><span class=go>kubectl create -f object-external.yaml</span>
8-
</code></pre></div></td></tr></table></div> <p>Consume the S3 Storage, in two different ways:</p> <ol> <li> <p>Create an <a href=https://github.com/rook/rook/blob/release-1.18/deploy/examples/object-user.yaml>Object store user</a> for credentials to access the S3 endpoint.</p> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-3-1>1</a></span>
8+
</code></pre></div></td></tr></table></div> <p>Consume the S3 Storage, in two different ways:</p> <ol> <li> <p>Create an <a href=https://github.com/rook/rook/blob/HEAD/deploy/examples/object-user.yaml>Object store user</a> for credentials to access the S3 endpoint.</p> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-3-1>1</a></span>
99
<span class=normal><a href=#__codelineno-3-2>2</a></span></pre></div></td><td class=code><div><pre><span></span><code><a id=__codelineno-3-1 name=__codelineno-3-1></a><span class=go>cd deploy/examples</span>
1010
<a id=__codelineno-3-2 name=__codelineno-3-2></a><span class=go>kubectl create -f object-user.yaml</span>
11-
</code></pre></div></td></tr></table></div> </li> <li> <p>Create a <a href=https://github.com/rook/rook/blob/master/deploy/examples/external/storageclass-bucket-delete.yaml>bucket storage class</a> where a client can request creating buckets and then create the <a href=https://github.com/rook/rook/blob/release-1.18/deploy/examples/external/object-bucket-claim-delete.yaml>Object Bucket Claim</a>, which will create an individual bucket for reading and writing objects.</p> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-4-1>1</a></span>
11+
</code></pre></div></td></tr></table></div> </li> <li> <p>Create a <a href=https://github.com/rook/rook/blob/master/deploy/examples/external/storageclass-bucket-delete.yaml>bucket storage class</a> where a client can request creating buckets and then create the <a href=https://github.com/rook/rook/blob/HEAD/deploy/examples/external/object-bucket-claim-delete.yaml>Object Bucket Claim</a>, which will create an individual bucket for reading and writing objects.</p> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-4-1>1</a></span>
1212
<span class=normal><a href=#__codelineno-4-2>2</a></span>
1313
<span class=normal><a href=#__codelineno-4-3>3</a></span></pre></div></td><td class=code><div><pre><span></span><code><a id=__codelineno-4-1 name=__codelineno-4-1></a><span class=go>cd deploy/examples/external</span>
1414
<a id=__codelineno-4-2 name=__codelineno-4-2></a><span class=go>kubectl create -f storageclass-bucket-delete.yaml</span>

0 commit comments

Comments
 (0)