Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for packageServerSyncInterval #314

Merged
merged 1 commit into from
Oct 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions content/en/docs/advanced-tasks/configuring-olm.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,26 @@ LAST SEEN TYPE REASON OBJECT
When the `cluster` olmConfig's `spec.features.disableCopiedCSVs` field is missing or set to `false`, OLM will recreate the Copied CSVs for all operators installed in the AllNamespace mode and deleted the previously mentioned events.

Additional information about this feature can be found in its original [enhancement proposal](https://github.com/operator-framework/enhancements/blob/master/enhancements/olm-toggle-copied-csvs.md).

### Changing the Package Server Sync Interval

#### Background

After CatalogSources are created, they are synced by the OLM packageservers every 12 hours. This sync interval may be increased to reduce the CPU utilization of the packageserver and CatalogSources, or decreased to improve response times to available updates. This field represents a duration, but is limited to using hours, minutes and seconds.

#### Usage

```bash=
$ kubectl apply -f - <<EOF
apiVersion: operators.coreos.com/v1
kind: OLMConfig
metadata:
name: cluster
spec:
features:
packageServerSyncInterval: 1h30m
EOF
olmconfig.operators.coreos.com/cluster configured
```

When the `cluster` olmConfig's `spec.features.packageServerSyncInterval` field is missing, OLM will use the default value of `12h`.
Loading