-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use loggregator_agent addon instead of metron_agent [#156048700,#1579…
…55150] Signed-off-by: Iryna Shustava <[email protected]>
- Loading branch information
Showing
8 changed files
with
86 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
# cf-deployment uses system_domain as metron agent deployment. | ||
# Use this to override metron agent deployment name in the metron_agent addon | ||
# Use this to override metron agent deployment name in the loggregator_agent addon | ||
- type: replace | ||
path: /addons/name=metron_agent/jobs/name=metron_agent/properties/metron_agent?/deployment | ||
value: ((metron_agent_deployment)) | ||
path: /addons/name=loggregator_agent/jobs/name=loggregator_agent/properties/deployment? | ||
value: ((loggregator_agent_deployment)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,106 +1,106 @@ | ||
- type: remove | ||
path: /addons/name=metron_agent? | ||
path: /addons/name=loggregator_agent? | ||
|
||
- type: replace | ||
path: /instance_groups/name=consul/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: &metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: &loggregator_agent_properties | ||
loggregator: | ||
tls: | ||
ca_cert: "((loggregator_ca.certificate))" | ||
metron: | ||
cert: "((loggregator_tls_metron.certificate))" | ||
key: "((loggregator_tls_metron.private_key))" | ||
agent: | ||
cert: "((loggregator_tls_agent.certificate))" | ||
key: "((loggregator_tls_agent.private_key))" | ||
|
||
- type: replace | ||
path: /instance_groups/name=nats/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: *metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: *loggregator_agent_properties | ||
|
||
- type: replace | ||
path: /instance_groups/name=doppler/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: *metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: *loggregator_agent_properties | ||
|
||
- type: replace | ||
path: /instance_groups/name=database/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: *metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: *loggregator_agent_properties | ||
|
||
- type: replace | ||
path: /instance_groups/name=diego-api/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: *metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: *loggregator_agent_properties | ||
|
||
- type: replace | ||
path: /instance_groups/name=uaa/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: *metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: *loggregator_agent_properties | ||
|
||
- type: replace | ||
path: /instance_groups/name=singleton-blobstore/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: *metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: *loggregator_agent_properties | ||
|
||
- type: replace | ||
path: /instance_groups/name=api/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: *metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: *loggregator_agent_properties | ||
|
||
- type: replace | ||
path: /instance_groups/name=cc-worker/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: *metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: *loggregator_agent_properties | ||
|
||
- type: replace | ||
path: /instance_groups/name=router/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: *metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: *loggregator_agent_properties | ||
|
||
- type: replace | ||
path: /instance_groups/name=tcp-router/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: *metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: *loggregator_agent_properties | ||
|
||
- type: replace | ||
path: /instance_groups/name=scheduler/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: *metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: *loggregator_agent_properties | ||
|
||
- type: replace | ||
path: /instance_groups/name=diego-cell/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: *metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: *loggregator_agent_properties | ||
|
||
- type: replace | ||
path: /instance_groups/name=log-api/jobs/- | ||
value: | ||
name: metron_agent | ||
release: loggregator | ||
properties: *metron_agent_properties | ||
name: loggregator_agent | ||
release: loggregator-agent | ||
properties: *loggregator_agent_properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters