-
Notifications
You must be signed in to change notification settings - Fork 25
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
NETOBSERV-764: conversion fallback on ingester url #481
Conversation
@jpinsonneau: This pull request references NETOBSERV-764 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Think this is a simple fix, can be merged without QE testing. wdyt @nathan-weinberg? |
@Amoghrd agreed, but if it's alright with @jpinsonneau I want to check out some other modes as well before merging this in case we need any other changes! |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #481 +/- ##
==========================================
+ Coverage 54.93% 55.10% +0.16%
==========================================
Files 49 49
Lines 6449 6453 +4
==========================================
+ Hits 3543 3556 +13
+ Misses 2662 2657 -5
+ Partials 244 240 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
/ok-to-test |
New images:
They will expire after two weeks. To deploy this build: # Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:e2bdef6 make deploy
# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-e2bdef6 Or as a Catalog Source: apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: netobserv-dev
namespace: openshift-marketplace
spec:
sourceType: grpc
image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-e2bdef6
displayName: NetObserv development catalog
publisher: Me
updateStrategy:
registryPoll:
interval: 1m |
I deployed the premerge image of the operator using the same v1beta1 CRD as Amogh and pods came up and seem to be processing flows/generating graphs, this is how the conversion func handled the conversion to loki:
timeout: 10s
microservices:
ingesterUrl: 'http://loki-distributor:3100/'
querierUrl: 'http://loki-query-frontend:3100/'
tenantID: netobserv
tls:
caCert: {}
userCert: {}
maxRetries: 2
enable: true
mode: Manual
maxBackoff: 5s
manual:
authToken: FORWARD
ingesterUrl: >-
https://lokistack-gateway-http.netobserv.svc.cluster.local:8080/api/logs/v1/network/
querierUrl: >-
https://lokistack-gateway-http.netobserv.svc.cluster.local:8080/api/logs/v1/network/
statusTls:
caCert: {}
userCert: {}
tenantID: network
tls:
caCert:
certFile: service-ca.crt
name: lokistack-gateway-ca-bundle
type: configmap
enable: true
userCert: {}
lokiStack:
name: loki
staticLabels:
app: netobserv-flowcollector
monolithic:
tenantID: netobserv
tls:
caCert: {}
userCert: {}
url: 'http://loki:3100/'
batchWait: 1s
minBackoff: 1s
batchSize: 10485760 |
/label qe-approved |
@jpinsonneau: This pull request references NETOBSERV-764 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks @nathan-weinberg & @Amoghrd |
Description
This PR fix the empty loki querier url issue in conversion webhook
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.