Skip to content

Commit

Permalink
Merge pull request #120 from Madhu-1/fix-crd
Browse files Browse the repository at this point in the history
doc: update logrotation design doc
  • Loading branch information
nb-ohad authored Aug 15, 2024
2 parents c5f9935 + a8a4f1f commit 4136341
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/design/logrotate.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Log rotation involves managing log files by controlling their size. This feature

Logroate configuration,

`CephCSIOperatorConfig CRD`:
`OperatorConfig CRD`:

```yaml
kind: CephCSIOperatorConfig
kind: OperatorConfig
apiVersion: csi.ceph.io/v1alpha1
….
spec:
Expand All @@ -24,10 +24,10 @@ spec:
logHostPath: /var/lib/cephcsi
```
Similar settings will be overridden by `CephCSIDriver CRD`:
Similar settings will be overridden by `Driver CRD`:

```yaml
kind: CephCSIDriver
kind: Driver
apiVersion: csi.ceph.io/v1alpha1
metadata:
name: "<prefix>.<driver_type>.csi.ceph.com"
Expand All @@ -48,7 +48,7 @@ spec:

Logrotator sidecar container cpu and memory usage can configured by,

`CephCSIOperatorConfig CRD`:
`OperatorConfig CRD`:
```yaml
spec:
provisioner:
Expand All @@ -62,7 +62,7 @@ spec:
```

For systems where SELinux is enabled (e.g. OpenShift),start plugin-controller as privileged that mount a host path.
`CephCSIOperatorConfig CRD`:
`OperatorConfig CRD`:
```yaml
spec:
provisioner:
Expand Down

0 comments on commit 4136341

Please sign in to comment.