8000 [Dashboard] Implement elastic search client by rokatyy · Pull Request #3634 · nuclio/nuclio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Dashboard] Implement elastic search client #3634

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

Merged
merged 3 commits into from
May 14, 2025

Conversation

rokatyy
Copy link
Contributor
@rokatyy rokatyy commented May 12, 2025

Adds elastic search client to a platform config. Also defines interface for future implementation that is needed for getting logs. Namely, method to return a list of replicas and a method to stream the logs from ES. `

Jira - https://iguazio.atlassian.net/browse/NUC-429

Copy link
Contributor
@TomerShor TomerShor left a comment

Choose a reason for hiding this comment

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

Nice and clean. Added some suggestions


tlsConfig := &tls.Config{
// Set to true to skip TLS verification if SSLVerificationMode is "none"
InsecureSkipVerify: config.SSLVerificationMode == "none",
Copy link
Contributor

Choose a reason for hiding this comment

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

what are the options for the verification mode? perhaps better to define them as enums/consts

Or, if it is only true / false it can just be a bool

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@TomerShor actually I found only "none" it provazio and it's also a string in provazio, so that's why I kept it the same way

Copy link
Contributor

Choose a reason for hiding this comment

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

These are the supported modes.
Need to see how they are translated to the ES client.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

Copy link
Contributor

Choose a reason for hiding this comment

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

so does certificate require any extra steps from our side?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@TomerShor yes, but I don't see that we allow to set it from provazio

@rokatyy rokatyy requested a review from TomerShor May 12, 2025 16:40
@TomerShor TomerShor merged commit 0c79a3f into nuclio:development May 14, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0