Skip to main content
logoTetrate Service BridgeVersion: next

Create Config Groups

To start configuration for the bookinfo application, create a Gateway Group, a Traffic Group, and a Security Group. Each group provides specific APIs to configure various aspects of the services.

Before you get started, make sure you:
✓ Familiarize yourself with TSB concepts
✓ Install the TSB demo environment
✓ Deploy the Istio Bookinfo sample app
✓ Create a Tenant
✓ Create a Workspace

Using the UI

  • Under Tenant on the left panel, select Workspaces
  • On the bookinfo-ws Workspace card, click on the Gateway Groups button
  • Click on the card with the + icon to add a new Gateway Group
  • Enter the Group ID bookinfo-gw
  • Provide your Gateway Group with a display name and description
  • Enter as Initial namespace selector */bookinfo
  • Set the Config Mode to BRIDGED
  • Click Add
  • Return to the Workspace by selecting Workspaces from the left panel.

Repeat the same steps for the Traffic Group using Group ID bookinfo-traffic, and for the Security Group using Group ID bookinfo-security.

Using tctl

Create the following groups.yaml

apiVersion: gateway.tsb.tetrate.io/v2
kind: Group
metadata:
organization: tetrate
tenant: tetrate
workspace: bookinfo-ws
name: bookinfo-gw
spec:
namespaceSelector:
names:
- "*/bookinfo"
configMode: BRIDGED
---
apiVersion: traffic.tsb.tetrate.io/v2
kind: Group
Metadata:
organization: tetrate
tenant: tetrate
workspace: bookinfo-ws
name: bookinfo-traffic
spec:
namespaceSelector:
names:
- "*/bookinfo"
configMode: BRIDGED
---
apiVersion: security.tsb.tetrate.io/v2
kind: Group
Metadata:
organization: tetrate
tenant: tetrate
workspace: bookinfo-ws
name: bookinfo-security
spec:
namespaceSelector:
names:
- "*/bookinfo"
configMode: BRIDGED

Apply with tctl

tctl apply -f groups.yaml