From cb802177bf0730915b0459d2499bfb3cce867582 Mon Sep 17 00:00:00 2001 From: lyzhang1999 <434533508@qq.com> Date: Thu, 9 Jul 2020 12:11:21 +0800 Subject: [PATCH 1/2] add istioctl ALS command --- docs/en/setup/envoy/als_setting.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/en/setup/envoy/als_setting.md b/docs/en/setup/envoy/als_setting.md index ebc33427641e..5c5b0aceedf9 100644 --- a/docs/en/setup/envoy/als_setting.md +++ b/docs/en/setup/envoy/als_setting.md @@ -11,6 +11,12 @@ SkyWalking is the first open source project introducing this ALS based solution You need three steps to open ALS. 1. Open envoyAccessLogService in istio by [enabling **envoyAccessLogService** in ProxyConfig](https://istio.io/docs/reference/config/istio.mesh.v1alpha1/#ProxyConfig). + + Upper istio 1.6.0, if istio installed by demo profile, you can open ALS ues command: + ``` + istioctl manifest apply --set profile=demo --set meshConfig.defaultConfig.envoyAccessLogService.address=skywalking-oap.skywalking.svc:11800 --set meshConfig.enableEnvoyAccessLogService=true + ``` + 2. Open SkyWalking [envoy receiver](../backend/backend-receivers.md). 3. Active ALS k8s-mesh analysis ```yaml @@ -21,3 +27,5 @@ envoy-metric: Note multiple value,please use `,` symbol split Notice, only use this when envoy under Istio controlled, also in k8s env. The OAP requires the read right to k8s API server for all pods IPs. + +You can use `kubectl logs ${You-OAP-Pod} | grep "K8sALSServiceMeshHTTPAnalysis"` to ensure OAP ALS k8s-mesh analysis has been active. From 5eb29aa17ed77644554e40741f0162ba0f0f4cbe Mon Sep 17 00:00:00 2001 From: lyzhang1999 <434533508@qq.com> Date: Thu, 9 Jul 2020 13:33:32 +0800 Subject: [PATCH 2/2] add note --- docs/en/setup/envoy/als_setting.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en/setup/envoy/als_setting.md b/docs/en/setup/envoy/als_setting.md index 5c5b0aceedf9..a93e04b55687 100644 --- a/docs/en/setup/envoy/als_setting.md +++ b/docs/en/setup/envoy/als_setting.md @@ -16,6 +16,7 @@ You need three steps to open ALS. ``` istioctl manifest apply --set profile=demo --set meshConfig.defaultConfig.envoyAccessLogService.address=skywalking-oap.skywalking.svc:11800 --set meshConfig.enableEnvoyAccessLogService=true ``` + Note:Skywalking oap service is at skywalking namespace, and the port of gRPC service is 11800 2. Open SkyWalking [envoy receiver](../backend/backend-receivers.md). 3. Active ALS k8s-mesh analysis