keptn-sandbox / dynatrace-synthetic-service Goto Github PK
View Code? Open in Web Editor NEWThis Keptn Service manages Dynatrace Synthetic Tests for deployed services via Keptn
License: Apache License 2.0
This Keptn Service manages Dynatrace Synthetic Tests for deployed services via Keptn
License: Apache License 2.0
In Keptn 0.8.4, the distributor will be extended with the functionality of registering itself as a Keptn uniform integration at the Keptn's Uniform API.
Related Video with short Tutorial (part of community meeting on June 17th): https://youtu.be/oZlf1v5qUvc?t=436
Goal: The integration/service should be visible in Keptn's Bridge Uniform screen:
If you have any questions, please reply to keptn/keptn#4418
To enable this feature, the following changes need to be made:
First, the image of the distributor
container of the deployment needs to be set to keptn/distributor:0.8.4
:
- name: distributor
image: keptn/distributor:0.8.4
Second, locate the env
section of the distributor
container:
- name: distributor
image: keptn/distributor:0.8.4
resources: ...
env:
...
and add the following environment variables:
- name: VERSION
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: 'metadata.labels[''app.kubernetes.io/version'']'
- name: K8S_DEPLOYMENT_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: 'metadata.labels[''app.kubernetes.io/name'']'
- name: K8S_POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: K8S_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: K8S_NODE_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
Last but not least, ensure that the labels app.kubernetes.io/version
and app.kubernetes.name
are available under spec.template.metadata.labels
in the K8s deployment:
app.kubernetes.io/name: dynatrace-service
app.kubernetes.io/version: 0.14.1
You can find a complete example of deployment.yaml (or service.yaml) here: https://github.com/keptn-contrib/unleash-service/blob/release-0.3.2/deploy/service.yaml
Currently, the service uses the default
Service Account with a set of high privileges inside the k8s clusters.
Use a dedicated service account with a minimum set of privileges as described in our contributing guidelines here keptn-sandbox/contributing#2
Definition of Done:
keptn-default
Service Account which has no privileges at all or a new, dedicated Service Account with a minimal set of permissionsA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.