Skip to content

Commit dc5329d

Browse files
committed
update remote deployment names
1 parent 3d1dc43 commit dc5329d

File tree

5 files changed

+71
-11
lines changed

5 files changed

+71
-11
lines changed

terraform/dotnet/eks/windows/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ resource "kubernetes_service" "dotnet_app_service" {
163163
resource "kubernetes_deployment" "dotnet_r_app_deployment" {
164164

165165
metadata {
166-
name = "dotnet-r-app-deployment-${var.test_id}"
166+
name = "dotnet-remote-${var.test_id}"
167167
namespace = var.test_namespace
168168
labels = {
169169
app = "remote-app"

terraform/dotnet/k8s/deploy/resources/dotnet-remote-service-depl.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: dotnet-sample-r-app-deployment-${TESTING_ID}
4+
name: dotnet-remote-${TESTING_ID}
55
namespace: dotnet-sample-app-namespace
66
spec:
77
replicas: 1
@@ -29,4 +29,19 @@ spec:
2929
ports:
3030
- containerPort: 8081
3131
imagePullSecrets:
32-
- name: ecr-secret
32+
- name: ecr-secret
33+
34+
---
35+
apiVersion: v1
36+
kind: Service
37+
metadata:
38+
name: dotnet-remote-service
39+
namespace: dotnet-sample-app-namespace
40+
spec:
41+
selector:
42+
app: dotnet-remote-app
43+
ports:
44+
- protocol: TCP
45+
port: 80
46+
targetPort: 8081
47+
type: ClusterIP

terraform/java/k8s/deploy/resources/remote-service-depl.yaml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: sample-r-app-deployment-${TESTING_ID}
5-
namespace: sample-app-namespace
4+
name: java-remote-${TESTING_ID}
5+
namespace: java-sample-app-namespace
66
spec:
77
replicas: 1
88
selector:
@@ -26,4 +26,19 @@ spec:
2626
- name: "OTEL_INSTRUMENTATION_COMMON_EXPERIMENTAL_CONTROLLER_TELEMETRY_ENABLED"
2727
value: "true"
2828
imagePullSecrets:
29-
- name: ecr-secret
29+
- name: ecr-secret
30+
31+
---
32+
apiVersion: v1
33+
kind: Service
34+
metadata:
35+
name: java-remote-service
36+
namespace: java-sample-app-namespace
37+
spec:
38+
selector:
39+
app: remote-app
40+
ports:
41+
- protocol: TCP
42+
port: 80
43+
targetPort: 8081
44+
type: ClusterIP

terraform/node/k8s/deploy/resources/remote-service-depl.yaml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: sample-r-app-deployment-${TESTING_ID}
5-
namespace: sample-app-namespace
4+
name: node-remote-${TESTING_ID}
5+
namespace: node-sample-app-namespace
66
spec:
77
replicas: 1
88
selector:
@@ -27,4 +27,19 @@ spec:
2727
- name: "OTEL_NODE_DISABLED_INSTRUMENTATIONS"
2828
value: "fs,dns,express"
2929
imagePullSecrets:
30-
- name: ecr-secret
30+
- name: ecr-secret
31+
32+
---
33+
apiVersion: v1
34+
kind: Service
35+
metadata:
36+
name: node-remote-service
37+
namespace: node-sample-app-namespace
38+
spec:
39+
selector:
40+
app: remote-app
41+
ports:
42+
- protocol: TCP
43+
port: 80
44+
targetPort: 8081
45+
type: ClusterIP

terraform/python/k8s/deploy/resources/python-remote-service-depl.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: python-sample-r-app-deployment-${TESTING_ID}
4+
name: python-remote-${TESTING_ID}
55
namespace: python-sample-app-namespace
66
spec:
77
replicas: 1
@@ -32,4 +32,19 @@ spec:
3232
ports:
3333
- containerPort: 8001
3434
imagePullSecrets:
35-
- name: ecr-secret
35+
- name: ecr-secret
36+
37+
---
38+
apiVersion: v1
39+
kind: Service
40+
metadata:
41+
name: python-remote-service
42+
namespace: python-sample-app-namespace
43+
spec:
44+
selector:
45+
app: python-remote-app
46+
ports:
47+
- protocol: TCP
48+
port: 80
49+
targetPort: 8001
50+
type: ClusterIP

0 commit comments

Comments
 (0)