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/guide/targetgroupbinding/targetgroupbinding.md
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,20 @@ TargetGroupBinding CR supports TargetGroups of either `instance` or `ip` TargetT
17
17
If TargetType is not explicitly specified, a mutating webhook will automatically call AWS API to find the TargetType for your TargetGroup and set it to correct value.
18
18
19
19
20
+
## Sample YAML
21
+
```yaml
22
+
apiVersion: elbv2.k8s.aws/v1beta1
23
+
kind: TargetGroupBinding
24
+
metadata:
25
+
name: my-tgb
26
+
spec:
27
+
serviceRef:
28
+
name: awesome-service # route traffic to the awesome-service
29
+
port: 80
30
+
targetGroupARN: <arn-to-targetGroup>
31
+
```
32
+
33
+
20
34
## VpcId
21
35
TargetGroupBinding CR supports the explicit definition of the Virtual Private Cloud (VPC) of your TargetGroup.
22
36
@@ -35,6 +49,7 @@ spec:
35
49
name: awesome-service # route traffic to the awesome-service
0 commit comments