Skip to content

Commit

Permalink
docs: Fix snap storage
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoflorido committed Jan 17, 2025
1 parent 25826c0 commit a14fee9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/src/snap/howto/storage/ceph.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ data:
config.json: |-
[
{
"clusterID": "fsid 6d5c12c9-6dfb-445a-940f-301aa7de0f29",
"clusterID": "6d5c12c9-6dfb-445a-940f-301aa7de0f29",
"monitors": [
"10.0.0.136:6789",
]
Expand Down Expand Up @@ -200,7 +200,7 @@ Create the ceph-csi provisioner and node plugins:

```
wget https://raw.githubusercontent.com/ceph/ceph-csi/master/deploy/rbd/kubernetes/csi-rbdplugin-provisioner.yaml
:
kubectl apply -f csi-rbdplugin-provisioner.yaml
wget https://raw.githubusercontent.com/ceph/ceph-csi/master/deploy/rbd/kubernetes/csi-rbdplugin.yaml
Expand All @@ -227,7 +227,7 @@ metadata:
name: csi-rbd-sc
provisioner: rbd.csi.ceph.com
parameters:
clusterID: b9127830-b0cc-4e34-aa47-9d1a2e9949a8
clusterID: 6d5c12c9-6dfb-445a-940f-301aa7de0f29
pool: kubernetes
imageFeatures: layering
csi.storage.k8s.io/provisioner-secret-name: csi-rbd-secret
Expand Down
4 changes: 2 additions & 2 deletions docs/src/snap/howto/storage/cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ AWS APIs. The policies provided here are quite open and should be scoped down
based on your security requirements.

You will most likely want to create a role for your instance. You can call this
role "k8s-control-plane" or "k8s-worker". Then, define and attach the following
role `k8s-control-plane` or `k8s-worker`. Then, define and attach the following
policies to the role. Once the role is created with the required policies,
attach the role to the instance.

Expand Down Expand Up @@ -131,7 +131,7 @@ For a worker node:
A cluster using the AWS cloud provider needs to label existing nodes and
resources with a ClusterID or the kube-controller-manager will not start. Add
the following tag to your instance, making sure to replace the placeholder id
with your own (this can simply be "k8s" or "my-k8s-cluster").
with your own (this can simply be `k8s` or `my-k8s-cluster`).

```
kubernetes.io/cluster/<your-cluster-id>=owned
Expand Down
5 changes: 5 additions & 0 deletions docs/src/snap/howto/storage/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
cluster, especially for single-node support. This guide walks you through
enabling and configuring this feature.

```{warning}
Local storage will not survive node removal, so it may not be suitable for
certain setups, such as production multi-node clusters.
```

## Prerequisites

This guide assumes the following:
Expand Down

0 comments on commit a14fee9

Please sign in to comment.