You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@skywalking.apache.org by Manasa kolichalama <ma...@gmail.com> on 2020/10/20 15:49:22 UTC

Skywalking installation on Azure kubernetes cluster

Hi Team,

I would like to install Skywalking on kubernetes for monitoring. Can you
share the step by step process?
I have followed the doc below but few pods status as Init:0/1 and pending.
https://github.com/apache/skywalking-kubernetes

Regards,
Manasa

Re: Skywalking installation on Azure kubernetes cluster

Posted by Sheng Wu <wu...@gmail.com>.
I am moving this back to the mail list, please subscribe it first.

Check the logs, and storage, to confirm whether there is data there.

Sheng Wu 吴晟
Twitter, wusheng1108


Manasa kolichalama <ma...@gmail.com> 于2020年10月31日周六 下午7:49写道:

> Hi Sheng,
>
> Installed skywalking but when i access http//IP:8080. I am getting an
> empty screen even though i have installed java, nginx etc... Can you help
> me with more details to get the dashboard view.
>
> [image: image.png]
>
> Regards,
> Manasa
>
> On Thu, Oct 22, 2020 at 8:23 PM Sheng Wu <wu...@gmail.com>
> wrote:
>
>> This is the GitHub action control file, not the k8s file. I was asking
>> you to learn how we work on that. Not copy and paste.
>>
>> Manasa kolichalama <ma...@gmail.com>于2020年10月22日 周四16:39写道:
>>
>>> Hi,
>>>
>>> Thanks for the doc. We are getting below error.
>>> error: unable to decode "e2e.istio.yaml": Object 'Kind' is missing in
>>> '{"env":{"ES_VERSION":"es7","ISTIO_VERSION":"1.7.1","SCRIPTS_DIR":"test/e2e-mesh/e2e-istio/scripts","SKIP_TEST":true,"SW_OAP_BASE_IMAGE":"openjdk:8-jre-alpine","TAG":"${{
>>> github.sha }}"},"jobs":{"als":{"name":"Istio+Envoy Access Log
>>> Service","runs-on":"ubuntu-16.04","steps":[{"uses":"actions/checkout@v2
>>> ","with":{"submodules":true}},{"uses":"actions/cache@v2","with":{"key":"${{
>>> runner.os }}-maven-${{ hashFiles('**/pom.xml')
>>> }}","path":"~/.m2/repository","restore-keys":"${{ runner.os
>>> }}-maven-"}},{"name":"Build Docker Image","run":"make
>>> docker"},{"name":"Prepare envrionment","run":"bash
>>> ${SCRIPTS_DIR}/pre.sh"},{"name":"Install Minikube","run":"bash
>>> ${SCRIPTS_DIR}/minikube.sh start"},{"name":"Install Istio","run":"bash
>>> ${SCRIPTS_DIR}/istio.sh --set profile=demo --set
>>> meshConfig.defaultConfig.envoyAccessLogService.address=skywalking-oap.istio-system:11800
>>> --set meshConfig.enableEnvoyAccessLogService=true"},{"name":"Install
>>> SkyWalking","run":"git clone
>>> https://github.com/apache/skywalking-kubernetes.git\ncd
>>> skywalking-kubernetes\ngit reset --hard
>>> 419cd1aed8bb4ad972208e5a031527a25d2ae690\ncd chart\nhelmdep up
>>> skywalking\nhelm -n istio-system install skywalking skywalking \\\n
>>> --set fullnameOverride=skywalking \\\n     --set elasticsearch.replicas=1
>>> \\\n     --set oap.env.SW_ENVOY_METRIC_ALS_HTTP_ANALYSIS=k8s-mesh \\\n
>>> --set oap.envoy.als.enabled=true \\\n     --set oap.replicas=1 \\\n
>>> --set oap.image.tag=$TAG \\\n     --set
>>> oap.image.repository=skywalking/oap\nkubectl -n istio-system get
>>> pods\n\nsleep 3\nkubectl -n istio-system wait --for=condition=available
>>> deployments/skywalking-oap --timeout=1200s\nkubectl get pods -A -o wide
>>> --show-labels\nkubectl get services -A -o wide\n"},{"name":"Deploy demo
>>> services","run":"bash ${SCRIPTS_DIR}/demo.sh"},{"if":"${{ failure()
>>> }}","name":"Cluster Info","run":"df -h\nminikube logs\nminikube
>>> status\n"},{"name":"Set up Minikube tunnel","run":"mkdir
>>> /tmp/minikube-tunnel\nminikube tunnel \u003e /tmp/minikube-tunnel/a.log
>>> \u0026\nexport POD_NAME=$(kubectl get pods -n istio-system -l
>>> \"app=skywalking,release=skywalking,component=ui\" -o jsonpath=\"{.items[0].
>>> metadata.name}\")\necho $POD_NAME\nkubectl -n istio-system port-forward
>>> $POD_NAME 8080:8080 \u003e /tmp/minikube-tunnel/b.log
>>> \u0026\n"},{"name":"Run E2E test","run":"export GATEWAY_HOST=$(minikube
>>> ip)\nexport GATEWAY_PORT=$(kubectl -n istio-system get service
>>> istio-ingressgateway -o
>>> jsonpath='{.spec.ports[?(@.name==\"http2\")].nodePort}')\nexport
>>> WEBAPP_HOST=127.0.0.1\nexport WEBAPP_PORT=8080\n\n./mvnw --batch-mode -f
>>> test/e2e/pom.xml -am -DfailIfNoTests=false verify
>>> -Dit.test=org.apache.skywalking.e2e.mesh.ALSE2E\n"},{"if":"${{ failure()
>>> }}","name":"Logs","run":"kubectl -n istio-system logs --tail=10000 -l
>>> \"app=skywalking,release=skywalking,component=ui\"\nkubectl -n istio-system
>>> logs --tail=10000 -l
>>> \"app=skywalking,release=skywalking,component=oap\"\ncat
>>> /tmp/minikube-tunnel/*\n"},{"if":"${{ always() }}","name":"Clean
>>> up","run":"minikube
>>> delete"}],"timeout-minutes":60}},"name":"Istio","true":{"pull_request":null,"push":{"branches":["master"]}}}'
>>>
>>> Regards,
>>> Manasa
>>>
>>> On Wed, Oct 21, 2020 at 8:10 AM Sheng Wu <wu...@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> You could take a reference from this,
>>>> https://github.com/apache/skywalking/blob/master/.github/workflows/e2e.istio.yaml#L61-L76
>>>>
>>>> Sheng Wu 吴晟
>>>> Twitter, wusheng1108
>>>>
>>>>
>>>> Manasa kolichalama <ma...@gmail.com> 于2020年10月21日周三
>>>> 上午10:08写道:
>>>>
>>>>> Hi Team,
>>>>>
>>>>> I would like to install Skywalking on kubernetes for monitoring. Can
>>>>> you
>>>>> share the step by step process?
>>>>> I have followed the doc below but few pods status as Init:0/1 and
>>>>> pending.
>>>>> https://github.com/apache/skywalking-kubernetes
>>>>>
>>>>> Regards,
>>>>> Manasa
>>>>>
>>>> --
>> Sheng Wu 吴晟
>>
>> Apache SkyWalking
>> Apache Incubator
>> Apache ShardingSphere, ECharts, DolphinScheduler podlings
>> Zipkin
>> Twitter, wusheng1108
>>
>

Re: Skywalking installation on Azure kubernetes cluster

Posted by Sheng Wu <wu...@gmail.com>.
Hi,

You could take a reference from this,
https://github.com/apache/skywalking/blob/master/.github/workflows/e2e.istio.yaml#L61-L76

Sheng Wu 吴晟
Twitter, wusheng1108


Manasa kolichalama <ma...@gmail.com> 于2020年10月21日周三 上午10:08写道:

> Hi Team,
>
> I would like to install Skywalking on kubernetes for monitoring. Can you
> share the step by step process?
> I have followed the doc below but few pods status as Init:0/1 and pending.
> https://github.com/apache/skywalking-kubernetes
>
> Regards,
> Manasa
>