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

Update example docs #1023

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update example docs #1023

wants to merge 1 commit into from

Conversation

petewall
Copy link
Collaborator

@petewall petewall commented Dec 19, 2024

the description.txt files create the information in the README.md files.

Signed-off-by: Pete Wall <[email protected]>
@petewall petewall self-assigned this Dec 19, 2024
Comment on lines +7 to +17
This example shows the modifications requires to deploy to an OpenShift cluster.

These modifications skip the deployment of kube-state-metrics and Node Exporter, since they will already be present on
the cluster, and adjust the configuration to Grafana Alloy to find those existing components.
It also modifies Grafana Alloy to lock down security and permissions.

The `platform: openshift` switch also creates SecurityContextConstraints objects that modifies the permissions for the
Grafana Alloy.

Note that these alloy pods cannot enable `readOnlyRootFilesystem` because they require being able to write to their
storage path, which defaults to `/tmp/alloy`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This example shows the modifications requires to deploy to an OpenShift cluster.
These modifications skip the deployment of kube-state-metrics and Node Exporter, since they will already be present on
the cluster, and adjust the configuration to Grafana Alloy to find those existing components.
It also modifies Grafana Alloy to lock down security and permissions.
The `platform: openshift` switch also creates SecurityContextConstraints objects that modifies the permissions for the
Grafana Alloy.
Note that these alloy pods cannot enable `readOnlyRootFilesystem` because they require being able to write to their
storage path, which defaults to `/tmp/alloy`.
This example shows the modifications requires to deploy to an OpenShift cluster.
These modifications:
- Skip the deployment of kube-state-metrics and Node Exporter, since they are already present on
the cluster
- Adjust the configuration to Grafana Alloy to find those existing components
- Make changes to Grafana Alloy to lock down security and permissions
The `platform: openshift` switch also creates SecurityContextConstraints objects that modifiy the permissions for the
Grafana Alloy.
Note that these Alloy pods cannot enable `readOnlyRootFilesystem` because they require being able to write to their
storage path, which defaults to `/tmp/alloy`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants