Skip to content

Commit a8e2613

Browse files
committed
add target target group binding; fix image url;
1 parent 5fffc56 commit a8e2613

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.kube/overlays/dev/kustomization.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
44
- ../../base
5-
# TODO: Add a target group binding
6-
# - target-group-binding.yaml
5+
- target-group-binding.yaml
76
images:
87
- name: DEPLOYMENT_IMAGE
9-
newName: 767397910274.dkr.ecr.ap-southeast-1.amazonaws.com/kd-portal
8+
newName: 767397910274.dkr.ecr.ap-southeast-1.amazonaws.com/kd-portal/dev2/site
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: eks.amazonaws.com/v1
2+
kind: TargetGroupBinding
3+
metadata:
4+
name: kd-portal
5+
spec:
6+
serviceRef:
7+
name: kd-portal
8+
port: 3000
9+
targetType: ip
10+
targetGroupARN: arn:aws:elasticloadbalancing:ap-southeast-1:767397910274:targetgroup/kd-portal-tg-dev2/a4f504fc14b5a319

0 commit comments

Comments
 (0)