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/06/02 02:08:10 UTC
[skywalking-showcase] branch ondemandlog updated (b4fc72c -> a8353e8)
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a change to branch ondemandlog
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git
discard b4fc72c Add on demand log
new a8353e8 Add on demand log
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (b4fc72c)
\
N -- N -- N refs/heads/ondemandlog (a8353e8)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
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.
Summary of changes:
.github/workflows/publish-images.yaml | 1 -
1 file changed, 1 deletion(-)
[skywalking-showcase] 01/01: Add on demand log
Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch ondemandlog
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git
commit a8353e8e6f03b658a36f3658096af7b080629122
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Wed Jun 1 21:21:55 2022 +0800
Add on demand log
---
deploy/platform/kubernetes/feature-agent/profiling.yaml | 2 +-
deploy/platform/kubernetes/feature-cluster/permissions.yaml | 1 +
deploy/platform/kubernetes/feature-cluster/resources.yaml | 4 +++-
deploy/platform/kubernetes/feature-single-node/permissions.yaml | 1 +
deploy/platform/kubernetes/feature-single-node/resources.yaml | 4 +++-
5 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/deploy/platform/kubernetes/feature-agent/profiling.yaml b/deploy/platform/kubernetes/feature-agent/profiling.yaml
index 0a593b9..480af54 100644
--- a/deploy/platform/kubernetes/feature-agent/profiling.yaml
+++ b/deploy/platform/kubernetes/feature-agent/profiling.yaml
@@ -41,4 +41,4 @@ spec:
- >
/swctl --base-url=http://oap:12800/graphql profiling trace create --service-name agent::songs \
--endpoint-name GET:/songs --duration=15 --min-duration-threshold=0 --dump-period=10 --max-sampling-count=9
- restartPolicy: Never
\ No newline at end of file
+ restartPolicy: Never
diff --git a/deploy/platform/kubernetes/feature-cluster/permissions.yaml b/deploy/platform/kubernetes/feature-cluster/permissions.yaml
index 02fda2d..dad1c9d 100644
--- a/deploy/platform/kubernetes/feature-cluster/permissions.yaml
+++ b/deploy/platform/kubernetes/feature-cluster/permissions.yaml
@@ -31,6 +31,7 @@ rules:
resources:
- "pods" # @feature: cluster; OAP needs to read other OAP Pods information to form a cluster
# @feature: als; OAP needs to read Pods metadata to analyze the access logs
+ - "pods/log" # @feature: on-demand-pod-logs; in feature on demand Pod logs, OAP needs to read pods logs
- "services" # @feature: als; OAP needs to read services metadata to analyze the access logs
- "endpoints" # @feature: als; OAP needs to read endpoints metadata to analyze the access logs
- "nodes" # @feature: als; OAP needs to read nodes metadata to analyze the access logs
diff --git a/deploy/platform/kubernetes/feature-cluster/resources.yaml b/deploy/platform/kubernetes/feature-cluster/resources.yaml
index 19f5e95..70f8244 100644
--- a/deploy/platform/kubernetes/feature-cluster/resources.yaml
+++ b/deploy/platform/kubernetes/feature-cluster/resources.yaml
@@ -234,7 +234,7 @@ spec:
# @feature: so11y; enable oap rules to analyze OAP metrics
# @feature: kubernetes-monitor; enable rules to analyze Kubernetes Cluster/Node/Service metrics
# @feature: istiod-monitor; enable rules to analyze Istio control plane metrics
- value: vm,oap,k8s-cluster,k8s-node,k8s-service,istio-controlplane
+ value: vm,oap,k8s-cluster,k8s-node,k8s-service,k8s-instance,istio-controlplane
- name: SW_STORAGE
value: elasticsearch
- name: SW_STORAGE_ES_CLUSTER_NODES
@@ -253,6 +253,8 @@ spec:
value: "false"
- name: SW_SLOW_DB_THRESHOLD
value: default:0,mongodb:100
+ - name: SW_ENABLE_ON_DEMAND_POD_LOG
+ value: "true"
volumeMounts:
- name: config-volume
mountPath: /skywalking/ext-config
diff --git a/deploy/platform/kubernetes/feature-single-node/permissions.yaml b/deploy/platform/kubernetes/feature-single-node/permissions.yaml
index 431c401..4b4148a 100644
--- a/deploy/platform/kubernetes/feature-single-node/permissions.yaml
+++ b/deploy/platform/kubernetes/feature-single-node/permissions.yaml
@@ -30,6 +30,7 @@ rules:
- apiGroups: [ "" ]
resources:
- "pods" # @feature: als; OAP needs to read pods metadata to analyze the access logs
+ - "pods/log" # @feature: on-demand-pod-logs; in feature on demand Pod logs, OAP needs to read pods logs
- "services" # @feature: als; OAP needs to read services metadata to analyze the access logs
- "endpoints" # @feature: als; OAP needs to read endpoints metadata to analyze the access logs
- "nodes" # @feature: als; OAP needs to read nodes metadata to analyze the access logs
diff --git a/deploy/platform/kubernetes/feature-single-node/resources.yaml b/deploy/platform/kubernetes/feature-single-node/resources.yaml
index a157506..b71a3b8 100644
--- a/deploy/platform/kubernetes/feature-single-node/resources.yaml
+++ b/deploy/platform/kubernetes/feature-single-node/resources.yaml
@@ -168,7 +168,7 @@ spec:
# @feature: so11y; enable oap rules to analyze OAP metrics
# @feature: kubernetes-monitor; enable rules to analyze Kubernetes Cluster/Node/Service metrics
# @feature: istiod-monitor; enable rules to analyze Istio metrics
- value: vm,oap,k8s-cluster,k8s-node,k8s-service,istio-controlplane
+ value: vm,oap,k8s-cluster,k8s-node,k8s-service,k8s-instance,istio-controlplane
- name: SW_STORAGE
value: elasticsearch
- name: SW_STORAGE_ES_CLUSTER_NODES
@@ -183,6 +183,8 @@ spec:
value: "agentless::${service.metadata.name}"
- name: SW_CONFIGURATION
value: k8s-configmap
+ - name: SW_ENABLE_ON_DEMAND_POD_LOG
+ value: "true"
volumeMounts:
- name: config-volume
mountPath: /skywalking/ext-config