Add types to code blocks

This commit is contained in:
2025-12-12 14:03:44 +00:00
parent 345b809072
commit 4a7a4160fe

View File

@@ -50,7 +50,7 @@ These steps ensure that a Ceph Pool is created with appropriate Replication.
* Check with: `ceph osd pool application get default.rgw.buckets.index`
* Create a user for the RADOS Gateway:
```
```bash
ceph auth get-or-create client.rgw.k8s.svc \
mon 'allow r' \
osd 'allow rwx pool=default.rgw.buckets.data, allow rwx pool=default.rgw.buckets.index, allow rwx pool=.rgw.root, allow rwx pool=default.rgw.meta, allow rwx pool=default.rgw.log, allow rwx pool=default.rgw.control' \
@@ -72,13 +72,13 @@ These steps ensure that a Ceph Pool is created with appropriate Replication.
* Create Secret manifests for deployment to K8s:
```
```bash
kubectl create secret generic ceph-config \
--namespace=object-store \
--from-file=ceph.conf=./conf \
--dry-run=client -o yaml > ceph-config-secret.yaml
```
```
```bash
kubectl create secret generic ceph-keyring \
--namespace=object-store \
--from-file=keyring=./keyring \
@@ -95,7 +95,7 @@ These steps ensure that a Ceph Pool is created with appropriate Replication.
#### Namespace
```
```yaml
apiVersion: v1
kind: Namespace
metadata:
@@ -103,7 +103,7 @@ metadata:
```
#### Service
```
```yaml
apiVersion: v1
kind: Service
metadata:
@@ -126,7 +126,7 @@ spec:
```
#### Deployment
```
```yaml
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -263,7 +263,7 @@ spec:
Deploy this in the namespace of the appliation requiring the S3 API Access
```sh
```bash
kubectl create secret generic s3-credentials \
--namespace={application-namespace} \
--from-literal=S3_ACCESS_KEY={access-key-from-user-creation} \