weaveworks / scope

Monitoring, visualisation & management for Docker & Kubernetes
https://www.weave.works/oss/scope/
Apache License 2.0
5.86k stars 714 forks source link

Integration issue with Solarwinds Orion - container service monitoring #3818

Open oliverpickles2019 opened 4 years ago

oliverpickles2019 commented 4 years ago

Hello all,

We have deployed Solarwinds Orion container service to our AKS cluster. The weaveworks image is having issues communicating with the orion-aggregator service.

What happened?

ERRO: 2020/09/02 00:11:31.118258 Error doing controls for orionaggregator-service.orion.svc.cluster.local, backing off 1m0s: websocket: bad handshake ## Anything else we need to know? Solarwinds deployment file has specified weaveworks/scope version 1.8.0. The current kubernetes version is 1.16.10. I am deploying to a manged Azure Kubernetes service. http://www.solarwinds.com/documentation/en/flarehelp/orionplatform/content/core-container-kubernetes.htm Here is the deployment yaml for the service and weaveworks below: - apiVersion: v1 kind: Service metadata: name: orionaggregator-service namespace: orion spec: type: NodePort ports: - port: 30043 targetPort: 4043 nodePort: 30043 selector: name: orion-orionaggregator externalTrafficPolicy: Local - apiVersion: apps/v1 kind: DaemonSet metadata: name: orionmonitor labels: name: orionmonitor namespace: orion spec: minReadySeconds: 5 selector: matchLabels: name: orionmonitor template: metadata: labels: name: orionmonitor spec: containers: - name: orionmonitor args: - '--no-app' - '--probe.docker.bridge=docker0' - '--probe.docker=true' - '--probe.kubernetes=true' - '--probe.kubernetes.kubelet-port=10250' - '--probe.publish.interval=300s' - '--probe.spy.interval=30s' - '--weave=false' - 'orionaggregator-service.orion.svc.cluster.local:30043' env: - name: KUBERNETES_HOSTNAME valueFrom: fieldRef: apiVersion: v1 fieldPath: spec.nodeName image: 'weaveworks/scope:1.8.0' imagePullPolicy: IfNotPresent securityContext: privileged: true volumeMounts: - name: docker-socket mountPath: /var/run/docker.sock - name: scope-plugins mountPath: /var/run/scope/plugins - name: sys-kernel-debug mountPath: /sys/kernel/debug dnsPolicy: ClusterFirstWithHostNet hostNetwork: true hostPID: true serviceAccountName: orion-account tolerations: - effect: NoSchedule operator: Exists volumes: - name: docker-socket hostPath: path: /var/run/docker.sock - name: scope-plugins hostPath: path: /var/run/scope/plugins - name: sys-kernel-debug hostPath: path: /sys/kernel/debug updateStrategy: type: RollingUpdate