As outlined in the installation guide, download the latest dynatrace-service Helm chart from GitHub.
Then, to upgrade the dynatrace-service, execute:
helm upgrade dynatrace-service -n keptn \
<HELM_CHART_FILENAME>
Note: If you are upgrading to dynatrace-service version 0.18.0
or newer from version 0.17.1
or older, please make sure to read and follow these instructions on patching your secrets before doing the upgrade.
To uninstall the dynatrace-service, use the Helm CLI to delete the release:
helm delete -n keptn dynatrace-service
Note: This command only removes the dynatrace-service. Other components, such as the Dynatrace OneAgent on Kubernetes will be unaffected.
- Get dependencies:
go mod download
- Build locally:
go build -v -o dynatrace-service ./cmd/
- Run tests:
go test -race -v ./...
Remote debugging is supported using Skaffold via skaffold debug
, which starts a Delve instance prior to running the service.