Skip to content

Commit c27e74e

Browse files
authored
Merge pull request #60 from openinsight-proj/update_adserivce_chart
update opentelemetry-demo resources limits
2 parents cd6d59f + 6449aa2 commit c27e74e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

charts/opentelemetry-demo/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: opentelemetry-demo
33
type: application
4-
version: 0.4.10
4+
version: 0.4.11
55
description: A helm chart for openTelemetry community demo application integration with other component.
66
sources:
77
- https://github.com/openinsight-proj/openinsight-helm-charts

charts/opentelemetry-demo/values.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ opentelemetry-demo:
9494
k8s.namespace.name=$(K8S_NAMESPACE),k8s.node.name=$(OTEL_RESOURCE_ATTRIBUTES_NODE_NAME),k8s.pod.name=$(OTEL_RESOURCE_ATTRIBUTES_POD_NAME),k8s.pod.uid=$(OTEL_RESOURCE_ATTRIBUTES_POD_UID),skoala.registry=$(SKOALA_REGISTRY),nacos.namespaceid=$(NACSO_NAMESPACE_ID),nacos.groupname=$(NACSO_GROUP_NAME)
9595
- name: JAVA_OPTS
9696
value: -javaagent:./jmx_prometheus_javaagent-0.17.0.jar=12345:./prometheus-jmx-config.yaml -Dspring.extraAdLabel=Daocloud -Dspring.randomError=true -Dspring.matrixRow=200 -Dmeter.port=8888 -Dspring.cloud.nacos.discovery.enabled=false -Dspring.cloud.nacos.config.enabled=false -Dspring.cloud.sentinel.enabled=false -Dspring.cloud.nacos.config.server-addr=nacos-test.skoala-test:8848 -Dspring.application.name=adservice-springcloud -Dspring.cloud.nacos.discovery.server-addr=nacos-test.skoala-test:8848 -Dspring.cloud.nacos.discovery.metadata.k8s_cluster_id=xxx -Dspring.cloud.nacos.discovery.metadata.k8s_cluster_name=skoala-dev -Dspring.cloud.nacos.discovery.metadata.k8s_namespace_name=skoala-test -Dspring.cloud.nacos.discovery.metadata.k8s_workload_type=deployment -Dspring.cloud.nacos.discovery.metadata.k8s_workload_name=adservice-springcloud -Dspring.cloud.nacos.discovery.metadata.k8s_service_name=adservice-springcloud -Dspring.cloud.nacos.discovery.metadata.k8s_pod_name=${HOSTNAME} -Dspring.cloud.sentinel.enabled=false -Dspring.cloud.sentinel.transport.dashboard=nacos-test-sentinel.skoala-test:8080
97-
97+
resources:
98+
limits:
99+
memory: 1Gi
98100
podAnnotations:
99101
instrumentation.opentelemetry.io/inject-sdk: 'true'
100102

@@ -149,6 +151,9 @@ opentelemetry-demo:
149151
enabled: true
150152
useDefault:
151153
env: false
154+
resources:
155+
limits:
156+
memory: 100Mi
152157
podAnnotations:
153158
instrumentation.opentelemetry.io/inject-sdk: 'true'
154159

0 commit comments

Comments
 (0)