mirror of
https://github.com/openziti/zrok.git
synced 2025-02-22 05:01:01 +01:00
metrics service instructions
This commit is contained in:
parent
dd9ead78d4
commit
155c690daa
@ -22,6 +22,7 @@ INFO enrolled successfully. identity file written to: proxy.json
|
||||
|
||||
```
|
||||
$ ziti edge create erp frontend --edge-router-roles "#all" --identity-roles "@frontend"
|
||||
New edge router policy frontend created with id: aOxvtWIanFIAwuU51lF9SU
|
||||
```
|
||||
|
||||
## configure controller identity
|
||||
@ -42,6 +43,24 @@ $ ziti edge create erp ctrl --edge-router-roles "#all" --identity-roles "@ctrl"
|
||||
New edge router policy ctrl created with id: 7OxvtWIanFIAwuU51lF9SU
|
||||
```
|
||||
|
||||
## create metrics service
|
||||
```
|
||||
$ ziti edge create service metrics
|
||||
New service metrics created with id: 56y5AFsKmSsIWLsmFNBeJz
|
||||
```
|
||||
|
||||
### allow the controller to bind the metrics service
|
||||
```
|
||||
$ ziti edge create sp ctrl-bind Bind --identity-roles "@ctrl" --service-roles "@metrics"
|
||||
New service policy ctrl-bind created with id: 3SXgFftSgBnenjgdBENOGR
|
||||
```
|
||||
|
||||
### allow frontends to dial the metrics service
|
||||
```
|
||||
$ ziti edge create sp ctrl-dial Dial --identity-roles "@frontend" --service-roles "@metrics"
|
||||
New service policy ctrl-dial created with id: 6pCe9uGj8oB2JXlWb44x2u
|
||||
```
|
||||
|
||||
## start zrok resources
|
||||
|
||||
adjust `ctrl.yml` (or create a copy for your environment).
|
||||
|
Loading…
Reference in New Issue
Block a user