在APPDYNAMICS中设置网络可见性

时间:2018-12-07 05:28:09

标签: appdynamics

我已将net agent部署为守护程序。

apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: DaemonSet
metadata:
  name: appd-netviz-agent
spec:
  selector:
    matchLabels:
      name: appd-netviz-agent
  template:
    metadata:
      name: appd-netviz-agent
      labels:
        name: appd-netviz-agent
    spec:
      hostIPC: true
      hostNetwork: true
      containers:
      - name: appd-netviz-agent
        image: appd-netviz
        imagePullPolicy: Always
        resources:
          limits:
            memory: "1Gi"
            cpu: "1"
          requests:
            memory: "250Mi"
            cpu: "0.1"
        securityContext:
          capabilities:
            add: ["NET_ADMIN", "NET_RAW"]
        ports:
        - containerPort: 3892
          hostPort: 3892
      imagePullSecrets:
        - name: registrykey # add the registery key, kubectl create secret ...

但是,我在AppDynamics UI上看不到网络仪表板。我已阅读以下文章。

https://docs.appdynamics.com/display/CLOUD/Network+Visibility+with+Kubernetes

https://docs.appdynamics.com/display/PRO45/2+-+Set+Up+the+Network+and+App+Agents

尝试了建议,但随后我的应用容器崩溃了。有人在kubernates上实现了网络可见性吗?

0 个答案:

没有答案