Hello ONTAP team,
We are planning to host Harvest in multiple kubernetes clusters.
Each cluster will have an associated SVM on ONTAP side.
And we would like to use SVM scoped credentials for harvest instance to use and get SVM performance metrics and volume usage metrics.
We would like to scope the credentials to only allow Harvest to get SVM related metrics.
This should ensure that each harvest instance only gets access to SVM specific information.
We tried to follow these instructions: https://netapp.github.io/harvest/nightly/configure-harvest-basic/
And we provided SVM credentials in the harvest config.
But looks like Harvest needs cluster level credentials because we see that it makes calls to cluster endpoint.
Here is what we have tried so far:
-
configure harvest w/ any credentials (cluster or SVM) and target the SVM mgmt IP - this gave some API not found errors which seemed to be some cluster-level APIs, which makes sense why SVM IP would have this issue
-
configure harvest w/ SVM credentials and target the cluster mgmt IP - this gave a 401 unauthorized, which we suspect is because harvest needs to hit those cluster-level APIs for basic operation - (this may suggest that creds only scoped to the SVM wouldn't be sufficient)
How can we configure Harvest to only get SVM specific metrics with SVM credentials and avoid providing cluster level credentials in the cluster config?
Thank you!