You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2022/09/20 01:45:58 UTC
[skywalking-showcase] branch env created (now a1daa22)
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a change to branch env
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git
at a1daa22 Add missing env var and set default log level to info
This branch includes the following new commits:
new a1daa22 Add missing env var and set default log level to info
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[skywalking-showcase] 01/01: Add missing env var and set default log level to info
Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch env
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git
commit a1daa22e0ed3ddf9a792b10ceef03c45dc1dc587
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Tue Sep 20 09:45:47 2022 +0800
Add missing env var and set default log level to info
---
deploy/platform/kubernetes/feature-cluster/resources.yaml | 6 +++++-
deploy/platform/kubernetes/feature-single-node/resources.yaml | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/deploy/platform/kubernetes/feature-cluster/resources.yaml b/deploy/platform/kubernetes/feature-cluster/resources.yaml
index 83b7fc9..6c9c0ab 100644
--- a/deploy/platform/kubernetes/feature-cluster/resources.yaml
+++ b/deploy/platform/kubernetes/feature-cluster/resources.yaml
@@ -48,7 +48,7 @@ data:
<logger name="io.grpc.netty" level="INFO"/>
<logger name="org.apache.skywalking.oap.server.configuration.api" level="TRACE"/>
<logger name="org.apache.skywalking.oap.server.configuration.configmap" level="DEBUG"/>
- <Root level="WARN">
+ <Root level="INFO">
<AppenderRef ref="Console"/>
</Root>
</Loggers>
@@ -185,6 +185,10 @@ spec:
value: ${NAMESPACE}
- name: SW_CLUSTER_K8S_LABEL
value: app=oap # @feature: cluster; set label selectors to select OAP Pods as a cluster
+ - name: SKYWALKING_COLLECTOR_UID # @feature: cluster; set collector uid to identify the OAP node
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.uid
- name: SW_HEALTH_CHECKER
value: default
- name: SW_OTEL_RECEIVER
diff --git a/deploy/platform/kubernetes/feature-single-node/resources.yaml b/deploy/platform/kubernetes/feature-single-node/resources.yaml
index c2094b3..ef4deb5 100644
--- a/deploy/platform/kubernetes/feature-single-node/resources.yaml
+++ b/deploy/platform/kubernetes/feature-single-node/resources.yaml
@@ -47,7 +47,7 @@ data:
<logger name="io.grpc.netty" level="INFO"/>
<logger name="org.apache.skywalking.oap.server.configuration.api" level="TRACE"/>
<logger name="org.apache.skywalking.oap.server.configuration.configmap" level="DEBUG"/>
- <Root level="WARN">
+ <Root level="INFO">
<AppenderRef ref="Console"/>
</Root>
</Loggers>