Skip to content

Commit

Permalink
explain discovery group
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoandredinis committed Nov 7, 2024
1 parent 9a7da45 commit 4703c4a
Show file tree
Hide file tree
Showing 11 changed files with 95 additions and 4 deletions.
8 changes: 8 additions & 0 deletions docs/pages/enroll-resources/auto-discovery/databases/aws.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ ssh_service:
enabled: false
discovery_service:
enabled: true
# discovery_group is used to group discovered resources into different
# sets. This is required when you have multiple Teleport Discovery services
# running. It prevents discovered services from colliding in Teleport when
# managing discovered resources.
# If two Discovery Services match the same resources, they must be in the
# same discovery group.
# If two Discovery Services match different resources, they must be in
# different discovery groups.
discovery_group: "<Var name="aws-example"/>"
```
Expand Down
8 changes: 8 additions & 0 deletions docs/pages/enroll-resources/auto-discovery/kubernetes/aws.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,14 @@ ssh_service:
enabled: off
discovery_service:
enabled: "yes"
# discovery_group is used to group discovered resources into different
# sets. This is required when you have multiple Teleport Discovery services
# running. It prevents discovered services from colliding in Teleport when
# managing discovered resources.
# If two Discovery Services match the same resources, they must be in the
# same discovery group.
# If two Discovery Services match different resources, they must be in
# different discovery groups.
discovery_group: "aws-prod"
aws:
- types: ["eks"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,14 @@ ssh_service:
enabled: off
discovery_service:
enabled: "yes"
# discovery_group is used to group discovered resources into different
# sets. This is required when you have multiple Teleport Discovery services
# running. It prevents discovered services from colliding in Teleport when
# managing discovered resources.
# If two Discovery Services match the same resources, they must be in the
# same discovery group.
# If two Discovery Services match different resources, they must be in
# different discovery groups.
discovery_group: "aks-prod"
azure:
- types: ["aks"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,14 @@ ssh_service:
enabled: off
discovery_service:
enabled: "yes"
# discovery_group is used to group discovered resources into different
# sets. This is required when you have multiple Teleport Discovery services
# running. It prevents discovered services from colliding in Teleport when
# managing discovered resources.
# If two Discovery Services match the same resources, they must be in the
# same discovery group.
# If two Discovery Services match different resources, they must be in
# different discovery groups.
discovery_group: "gke-myproject"
gcp:
- types: ["gke"]
Expand Down Expand Up @@ -396,6 +404,14 @@ ssh_service:
enabled: off
discovery_service:
enabled: "yes"
# discovery_group is used to group discovered resources into different
# sets. This is required when you have multiple Teleport Discovery services
# running. It prevents discovered services from colliding in Teleport when
# managing discovered resources.
# If two Discovery Services match the same resources, they must be in the
# same discovery group.
# If two Discovery Services match different resources, they must be in
# different discovery groups.
discovery_group: "gke-myproject"
gcp:
- types: ["gke"]
Expand Down Expand Up @@ -434,6 +450,14 @@ clusters in project `myproj-prod` running in `us-east2`, but *not* clusters in
```yaml
discovery_service:
enabled: "yes"
# discovery_group is used to group discovered resources into different
# sets. This is required when you have multiple Teleport Discovery services
# running. It prevents discovered services from colliding in Teleport when
# managing discovered resources.
# If two Discovery Services match the same resources, they must be in the
# same discovery group.
# If two Discovery Services match different resources, they must be in
# different discovery groups.
discovery_group: "gke-myproject"
gcp:
- types: ["gke"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,13 @@ and their default values.
discovery_service:
enabled: "yes"
# discovery_group is used to group discovered resources into different
# sets. This is useful when you have multiple Teleport Discovery services
# running in the same cluster but polling different cloud providers or cloud
# accounts. It prevents discovered services from colliding in Teleport when
# sets. This is required when you have multiple Teleport Discovery services
# running. It prevents discovered services from colliding in Teleport when
# managing discovered resources.
# If two Discovery Services match the same resources, they must be in the
# same discovery group.
# If two Discovery Services match different resources, they must be in
# different discovery groups.
discovery_group: "prod"
aws:
# AWS resource types. Valid options are:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,14 @@ ssh_service:
enabled: off
discovery_service:
enabled: "yes"
# discovery_group is used to group discovered resources into different
# sets. This is required when you have multiple Teleport Discovery services
# running. It prevents discovered services from colliding in Teleport when
# managing discovered resources.
# If two Discovery Services match the same resources, they must be in the
# same discovery group.
# If two Discovery Services match different resources, they must be in
# different discovery groups.
discovery_group: "azure-prod"
azure:
- types: ["vm"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,14 @@ ssh_service:
enabled: off
discovery_service:
enabled: "yes"
# discovery_group is used to group discovered resources into different
# sets. This is required when you have multiple Teleport Discovery services
# running. It prevents discovered services from colliding in Teleport when
# managing discovered resources.
# If two Discovery Services match the same resources, they must be in the
# same discovery group.
# If two Discovery Services match different resources, they must be in
# different discovery groups.
discovery_group: "aws-prod"
aws:
- types: ["ec2"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,14 @@ ssh_service:
enabled: off
discovery_service:
enabled: "yes"
# discovery_group is used to group discovered resources into different
# sets. This is required when you have multiple Teleport Discovery services
# running. It prevents discovered services from colliding in Teleport when
# managing discovered resources.
# If two Discovery Services match the same resources, they must be in the
# same discovery group.
# If two Discovery Services match different resources, they must be in
# different discovery groups.
discovery_group: "gcp-prod"
gcp:
- types: ["gce"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ You can reduce the policy size by separating them into multiple IAM roles. Use
configuration:
```yaml
discovery_service:
# discovery_group is used to group discovered resources into different
# sets. This is required when you have multiple Teleport Discovery services
# running. It prevents discovered services from colliding in Teleport when
# managing discovered resources.
# If two Discovery Services match the same resources, they must be in the
# same discovery group.
# If two Discovery Services match different resources, they must be in
# different discovery groups.
discovery_group: "prod"
enabled: "yes"
aws:
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/includes/server-access/custom-installer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Multiple `installer` resources can exist and be specified in the

```yaml
discovery_service:
discovery_group: prod
# ...
{{ matcher }}:
- types: {{ matchTypes }}
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ example:
# This section configures the Discovery Service
discovery_service:
enabled: yes
# discovery_group is used to group discovered resources into different
# sets. This is required when you have multiple Teleport Discovery services
# running. It prevents discovered services from colliding in Teleport when
# managing discovered resources.
# If two Discovery Services match the same resources, they must be in the
# same discovery group.
# If two Discovery Services match different resources, they must be in
# different discovery groups.
discovery_group: main-cluster
kubernetes:
- types: ["app"]
Expand Down

0 comments on commit 4703c4a

Please sign in to comment.