This step creates the Kubernetes role that is needed by Dynatrace to call the Kubernetes API.
Assuming you are still in the “
JFrog-pipelines-dynatrace-example/setup
” folder within the Google cloud shell, run this command to add the role.kubectl create -f dynatrace-oneagent-metadata-viewer.yaml
You can verify that the “dynatrace-oneagent-metadata-viewer” was created using this command.
kubectl -n dev get role
See the Dynatrace Documentation for more details and the ways this role can be configured.