-
Notifications
You must be signed in to change notification settings - Fork 74
extended tracing setup by elasticsearch instance #241
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
Changes from all commits
0531de6
1c48fa6
16ccb74
dd5a153
3e858ba
a4ac18e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,34 @@ kind: Template | |
metadata: | ||
name: observatorium-traces | ||
objects: | ||
- apiVersion: logging.openshift.io/v1 | ||
kind: Elasticsearch | ||
metadata: | ||
annotations: | ||
logging.openshift.io/elasticsearch-cert-management: "true" | ||
logging.openshift.io/elasticsearch-cert.curator-${ELASTICSEARCH_NAME}: system.logging.curator | ||
logging.openshift.io/elasticsearch-cert.jaeger-${ELASTICSEARCH_NAME}: user.jaeger | ||
name: ${ELASTICSEARCH_NAME} | ||
namespace: ${NAMESPACE} | ||
spec: | ||
managementState: Managed | ||
nodeSpec: | ||
resources: | ||
limits: | ||
memory: ${ELASTICSEARCH_MEMORY} | ||
requests: | ||
cpu: ${ELASTICSEARCH_REQUEST_CPU} | ||
memory: ${ELASTICSEARCH_MEMORY} | ||
nodes: | ||
- nodeCount: ${{ELASTICSEARCH_NODE_COUNT}} | ||
proxyResources: {} | ||
resources: {} | ||
roles: | ||
- master | ||
- client | ||
- data | ||
storage: {} | ||
redundancyPolicy: ${ELASTICSEARCH_REDUNDANCY_POLICY} | ||
- apiVersion: jaegertracing.io/v1 | ||
kind: Jaeger | ||
metadata: | ||
|
@@ -14,7 +42,16 @@ objects: | |
name: observatorium-jaeger-rhobs | ||
namespace: ${NAMESPACE} | ||
spec: | ||
strategy: allinone | ||
storage: | ||
elasticsearch: | ||
doNotProvision: true | ||
name: ${ELASTICSEARCH_NAME} | ||
useCertManagement: true | ||
options: | ||
es: | ||
index-prefix: rhobs | ||
Comment on lines
+50
to
+52
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are these extra index prefixes working with our present OpenDistro Roles for Jaeger? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the roles are independent of the index-prefix, right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The roles have per se nothing to do with the certs. I am talking about authorization on the OpenDistro level. AFAICS your Jaeger definitions are |
||
type: elasticsearch | ||
strategy: production | ||
- apiVersion: jaegertracing.io/v1 | ||
kind: Jaeger | ||
metadata: | ||
|
@@ -26,7 +63,16 @@ objects: | |
name: observatorium-jaeger-telemeter | ||
namespace: ${NAMESPACE} | ||
spec: | ||
strategy: allinone | ||
storage: | ||
elasticsearch: | ||
doNotProvision: true | ||
name: ${ELASTICSEARCH_NAME} | ||
useCertManagement: true | ||
options: | ||
es: | ||
index-prefix: telemeter | ||
type: elasticsearch | ||
strategy: production | ||
- apiVersion: opentelemetry.io/v1alpha1 | ||
kind: OpenTelemetryCollector | ||
metadata: | ||
|
@@ -83,3 +129,13 @@ parameters: | |
value: ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib | ||
- name: OPENTELEMETRY_COLLECTOR_IMAGE_TAG | ||
value: 0.46.0 | ||
- name: ELASTICSEARCH_MEMORY | ||
value: 4Gi | ||
- name: ELASTICSEARCH_REQUEST_CPU | ||
value: 200m | ||
- name: ELASTICSEARCH_NAME | ||
value: shared-es | ||
- name: ELASTICSEARCH_NODE_COUNT | ||
value: "1" | ||
- name: ELASTICSEARCH_REDUNDANCY_POLICY | ||
value: ZeroRedundancy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if
{{}}
is correctThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it from here: openshift/origin#3946 (comment)