Created
May 13, 2019 01:46
-
-
Save stevenc81/36cac258d0b3f978b2d99c0cfb797e71 to your computer and use it in GitHub Desktop.
A quick example for Datadog APM tracing and logging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: dd-tracing-logging-examples-nodejs | |
name: dd-tracing-logging-examples-nodejs | |
namespace: dev | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: dd-tracing-logging-examples-nodejs | |
spec: | |
containers: | |
- env: | |
- name: DD_AGENT_HOST | |
valueFrom: | |
fieldRef: | |
apiVersion: v1 | |
fieldPath: status.hostIP | |
name: dd-tracing-logging-examples-nodejs | |
image: bufferapp/dd-tracing-logging-examples:nodejs | |
imagePullPolicy: Always | |
ports: | |
- containerPort: 3000 | |
protocol: TCP | |
resources: | |
limits: | |
cpu: 500m | |
memory: 512Mi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment