Skip to content

vmwarecloudadvocacy/wavefront-k8s-jaeger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wavefront - Kubernetes with Jaeger Configuration

This is a modified version of the configuration and installation instructions provided by Wavefront including updated kubernetes manifests. For the original documentation please follow the links below.

This has been tested with AKS.

Wavefront Proxy Deployment

Step 1: Deploy a Wavefront Proxy in Kubernetes

Download jaeger-wavefront.yaml to your system. Edit the file and set the following environment variables, container port and service port specifications.

Wavefront

env:
- name: WAVEFRONT_URL
    value: <WAVEFRONT URL>
- name: WAVEFRONT_TOKEN
    value: <WAVEFRONT TOKEN>

Wavefront Jaeger Integrations

Update the "JAEGER PORT" and "CLUSTER NAME" Environment Variables

env:
# Jaeger Tracing Environment Variable
- name: WAVEFRONT_PROXY_ARGS
    value: "--traceJaegerListenerPorts <JAEGER PORT> --traceJaegerApplicationName <CLUSTER NAME>"

Container Port

Update the container port with the same port specified in the WAVEFRONT_PROXY_ARGS environment variable.

# Jaeger Tracing Port
- containerPort: <JAEGER PORT>
  protocol: TCP

Service Port

Update the Service Port with the same Jaeger Port specified in the WAVEFRONT_PROXY_ARGS environment variable.

# Added for Jaeger Tracing
- name: jaeger
  port: <JAEGER PORT>
  targetPort: <JAEGER PORT>
  protocol: TCP

Run kubectl create -f jaeger-wavefront.yaml to deploy the proxy.

The Wavefront proxy and a wavefront-proxy service should now be running in Kubernetes.

Step 2: Deploy Kube-State Metrics Service in Kubernetes

Deploy the kube-state-metrics Service

Download kube-state.yaml to your system and run kubectl create -f kube-state.yaml.

The kube-state-metrics service should now be running on your cluster.

Steps 3: Deploy Wavefront Kubernetes Collector

Download the wavefront-collector-dir to your system:

  • 0-collector-namespace.yaml
  • 1-collector-cluster-role.yaml
  • 2-collector-rbac.yaml
  • 3-collector-service-account.yaml
  • 4-collector-deployment.yaml

Edit 4-collector-deployment.yaml as follows:

Edit YOUR CLUSTER NAME to uniquely identify your Kubernetes cluster.

 command:
 - /wavefront-collector
 - --source=kubernetes.summary_api:''
 - --sink=wavefront:?proxyAddress=wavefront-proxy.default.svc.cluster.local:2878&clusterName=<YOUR CLUSTER NAME>&includeLabels=true
 - --v=2

Run kubectl create -f </path/to/wavefront-collector-dir>/ to deploy the collector on your cluster.

To verify the collector is deployed, run kubectl get pods -n wavefront-collector.

If you do not see metrics in the Kubernetes dashboard, check the logs from the collector and proxy pods.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published