IBM Power Systems, Red Hat OpenShift and Dynatrace — an Excellent Trio

Dynatrace in a Red Hat OpenShift environment
Dynatrace in a Red Hat OpenShift environment
# Add this to your app's deployment YAML file to deploy OneAgent
initContainers:
- name: install-oneagent
image: alpine:3.8
command:
- /bin/sh
args:
- -c
- ARCHIVE=$(mktemp) && wget -O $ARCHIVE "$DT_API_URL/v1/deployment/installer/agent/unix/paas/latest?Api-Token=$DT_PAAS_TOKEN&$DT_ONEAGENT_OPTIONS" && unzip -o -d /opt/dynatrace/oneagent $ARCHIVE && rm -f $ARCHIVE
env:
- name: DT_API_URL
value: https://<Your-environment-ID>.live.dynatrace.com/api
- name: DT_PAAS_TOKEN
value: <paastoken>
- name: DT_ONEAGENT_OPTIONS
value: flavor=<FLAVOR>&include=all&arch=ppcle
volumeMounts:
- mountPath: /opt/dynatrace/oneagent
name: oneagent
volumes:
- name:
oneagent
emptyDir: {}
OneAgent installation log

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Joe Cropper

Joe Cropper

Passionate about the intersection of technology and business to make the world a better place. Oh, and cars too! Opinions are my own.