You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deployment-examples.md
+38-25Lines changed: 38 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# Example Deployment Methods
2
-
There are a number of methods to deploy the OpenMetrics exporter depending on your environment. In this document we explore some of the common features and deployment methods and by providing walk through examples.
2
+
There are a number of methods to deploy the OpenMetrics exporter. In this document we explore some of the common features and deployment methods by providing walk through examples.
3
3
4
4
## Contents
5
5
-[Prerequisites](#prerequisites)
@@ -16,18 +16,29 @@ There are a number of methods to deploy the OpenMetrics exporter depending on yo
16
16
# Prerequisites
17
17
All deployments will require an API token to authenticate with the array. Read-only only user access is recommended.
18
18
19
-
1.Generate an API token from your chosen user account or create a new readonly user.
20
-
API token can be retrieved from either Purity GUI ot CLI.
19
+
Generate an API token from your chosen user account or create a new readonly user.
20
+
API token can be retrieved from either Purity GUI ot CLI.
We expect to return a single line displaying `purefa_info` returning the name, Purity OS, system ID and the Purity version.
@@ -74,7 +85,7 @@ In this example we will use the default port 9490, set the name as pure-fa-om-ex
74
85
# Example of a second array
75
86
array02:
76
87
address: 'array02.fqdn.com'
77
-
api_token: 'a1b2c3d4-e5f6-1234-5678-a1b2c3d4e5f7'
88
+
api_token: '11111111-1111-1111-1111-111111111111'
78
89
```
79
90
80
91
2. **Run the container**
@@ -95,7 +106,7 @@ In this example we will use the default port 9490, set the name as pure-fa-om-ex
95
106
Use `curl` to test the exporter returns results. We don't need to pass the bearer (API) token for authorization as the exporter has a record of these which makes queries simpler.
96
107
```console
97
108
$ curl -X GET 'http://localhost:9490/metrics/array?endpoint=array01 ' -silent | grep ^purefa_info
## Binary - TLS - https passing API token with query
@@ -241,9 +252,11 @@ Follow steps 1-4 and 7-8 of the default binary deployment, but substitute the fo
241
252
Create the certificate and key and pass the exporter the files. There are many different methods of generating certificates which we won't discuss here as each organizations has different standards and requirements.
242
253
243
254
5. **Pass the certificate and private key to the exporter**
0 commit comments