Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion terraform/dotnet/eks/windows/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ resource "kubernetes_service" "dotnet_app_service" {
resource "kubernetes_deployment" "dotnet_r_app_deployment" {

metadata {
name = "dotnet-r-app-deployment-${var.test_id}"
name = "dotnet-remote-${var.test_id}"
namespace = var.test_namespace
labels = {
app = "remote-app"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: dotnet-sample-r-app-deployment-${TESTING_ID}
name: dotnet-remote-${TESTING_ID}
namespace: dotnet-sample-app-namespace
spec:
replicas: 1
Expand Down Expand Up @@ -29,4 +29,19 @@ spec:
ports:
- containerPort: 8081
imagePullSecrets:
- name: ecr-secret
- name: ecr-secret

---
apiVersion: v1
kind: Service
metadata:
name: dotnet-remote-service
namespace: dotnet-sample-app-namespace
spec:
selector:
app: dotnet-remote-app
ports:
- protocol: TCP
port: 80
targetPort: 8081
type: ClusterIP
21 changes: 18 additions & 3 deletions terraform/java/k8s/deploy/resources/remote-service-depl.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: sample-r-app-deployment-${TESTING_ID}
namespace: sample-app-namespace
name: java-remote-${TESTING_ID}
namespace: java-sample-app-namespace
spec:
replicas: 1
selector:
Expand All @@ -26,4 +26,19 @@ spec:
- name: "OTEL_INSTRUMENTATION_COMMON_EXPERIMENTAL_CONTROLLER_TELEMETRY_ENABLED"
value: "true"
imagePullSecrets:
- name: ecr-secret
- name: ecr-secret

---
apiVersion: v1
kind: Service
metadata:
name: java-remote-service
namespace: java-sample-app-namespace
spec:
selector:
app: remote-app
ports:
- protocol: TCP
port: 80
targetPort: 8081
type: ClusterIP
21 changes: 18 additions & 3 deletions terraform/node/k8s/deploy/resources/remote-service-depl.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: sample-r-app-deployment-${TESTING_ID}
namespace: sample-app-namespace
name: node-remote-${TESTING_ID}
namespace: node-sample-app-namespace
spec:
replicas: 1
selector:
Expand All @@ -27,4 +27,19 @@ spec:
- name: "OTEL_NODE_DISABLED_INSTRUMENTATIONS"
value: "fs,dns,express"
imagePullSecrets:
- name: ecr-secret
- name: ecr-secret

---
apiVersion: v1
kind: Service
metadata:
name: node-remote-service
namespace: node-sample-app-namespace
spec:
selector:
app: remote-app
ports:
- protocol: TCP
port: 80
targetPort: 8001
type: ClusterIP
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: python-sample-r-app-deployment-${TESTING_ID}
name: python-remote-${TESTING_ID}
namespace: python-sample-app-namespace
spec:
replicas: 1
Expand Down Expand Up @@ -32,4 +32,19 @@ spec:
ports:
- containerPort: 8001
imagePullSecrets:
- name: ecr-secret
- name: ecr-secret

---
apiVersion: v1
kind: Service
metadata:
name: python-remote-service
namespace: python-sample-app-namespace
spec:
selector:
app: python-remote-app
ports:
- protocol: TCP
port: 80
targetPort: 8001
type: ClusterIP