Skip to content

Conversation

@anish-mudaraddi
Copy link
Collaborator

add necessary config to setup opensearch on the dev worker cluster

@anish-mudaraddi anish-mudaraddi marked this pull request as draft October 17, 2024 10:41
@anish-mudaraddi
Copy link
Collaborator Author

This is blocked until our DNS change freeze is complete
Also blocked since we're having a few problems with our dev environment

@anish-mudaraddi anish-mudaraddi changed the title ENH: deploy lopensearch cluster to worker cluster to collect logs ENH: deploy opensearch cluster to worker cluster to collect logs Nov 19, 2024
@anish-mudaraddi anish-mudaraddi marked this pull request as ready for review November 20, 2024 16:21
Copy link
Contributor

@DaveW-STFC DaveW-STFC left a comment

Choose a reason for hiding this comment

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

Added general questions on setup

@anish-mudaraddi
Copy link
Collaborator Author

waiting on #227 to be merged first

@anish-mudaraddi anish-mudaraddi marked this pull request as draft November 28, 2024 10:07
@anish-mudaraddi anish-mudaraddi marked this pull request as ready for review December 2, 2024 14:30
@anish-mudaraddi
Copy link
Collaborator Author

I'd like a second review on this

add a test opensearch instance to run on dev worker cluster to test collecting k8s logs
add opensearch config for setting up roles and users for writing and reading logs

add separate tenants for each environment so that we can setup separate RBAC policies
this storage class can be configured separately from other apps which also use longhorn on dev-worker
to match with existing domain name format for staging/prod
move opensearch secret to apps directory and change filepath to match - encrypt with worker key
Copy link
Contributor

@Dmitry-Popovichev Dmitry-Popovichev left a comment

Choose a reason for hiding this comment

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

Apart from the 1 comment about indenting it LGTM, though a 3rd experienced reviewer would be recommended.

incorrect yaml when setting up roles/rolemappings fixes

remove redundant roles
setup distinct dev and prod user + write users for cluster envs

various helm template fixups - set and use namespace properly
@anish-mudaraddi
Copy link
Collaborator Author

this is now running on dev worker cluster

Copy link
Contributor

@Dmitry-Popovichev Dmitry-Popovichev left a comment

Choose a reason for hiding this comment

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

LGTM

@Dmitry-Popovichev Dmitry-Popovichev merged commit cdc2443 into main Dec 9, 2024
2 checks passed
@Dmitry-Popovichev Dmitry-Popovichev deleted the add-dev-opensearch branch December 9, 2024 10:28
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.

4 participants