From aae95b3b38902a3b0e574ed24bee19eeeb2b7a72 Mon Sep 17 00:00:00 2001 From: adjoly Date: Wed, 27 Aug 2025 22:04:02 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20should?= =?UTF-8?q?=20be=20workign?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- p2/deploy/app1/app1-deployment.yml | 3 ++- p2/deploy/app2/app2-deployment.yml | 3 ++- p2/deploy/app2/app2-service.yml | 8 ++++---- p2/deploy/app3/app3-deployment.yml | 3 ++- p2/deploy/app3/app3-service.yml | 8 ++++---- p2/install-all.sh | 2 -- 6 files changed, 14 insertions(+), 13 deletions(-) delete mode 100644 p2/install-all.sh diff --git a/p2/deploy/app1/app1-deployment.yml b/p2/deploy/app1/app1-deployment.yml index 5fcaa2c..5379a1e 100644 --- a/p2/deploy/app1/app1-deployment.yml +++ b/p2/deploy/app1/app1-deployment.yml @@ -13,9 +13,10 @@ spec: spec: containers: - name: app1 - image: traefik/whoami:v1.11 + image: ghcr.io/traefik/whoami:v1.11 ports: - containerPort: 80 command: + - /whoami - --port=80 - --name=app-one diff --git a/p2/deploy/app2/app2-deployment.yml b/p2/deploy/app2/app2-deployment.yml index 4ae74ac..6e18427 100644 --- a/p2/deploy/app2/app2-deployment.yml +++ b/p2/deploy/app2/app2-deployment.yml @@ -14,9 +14,10 @@ spec: spec: containers: - name: app2 - image: traefik/whoami + image: ghcr.io/traefik/whoami:v1.11 ports: - containerPort: 80 command: + - /whoami - --port=80 - --name=app-two diff --git a/p2/deploy/app2/app2-service.yml b/p2/deploy/app2/app2-service.yml index 18ec0da..0eb4e1a 100644 --- a/p2/deploy/app2/app2-service.yml +++ b/p2/deploy/app2/app2-service.yml @@ -3,9 +3,9 @@ kind: Service metadata: name: app2-service spec: + type: ClusterIP selector: - matchLabels: - app: app2 + app: app2 ports: - port: 80 - tragetPort: 80 + - port: 80 + targetPort: 80 diff --git a/p2/deploy/app3/app3-deployment.yml b/p2/deploy/app3/app3-deployment.yml index 1e3d570..46c8fcd 100644 --- a/p2/deploy/app3/app3-deployment.yml +++ b/p2/deploy/app3/app3-deployment.yml @@ -13,9 +13,10 @@ spec: spec: containers: - name: app3 - image: traefik/whoami + image: ghcr.io/traefik/whoami:v1.11 ports: - containerPort: 80 command: + - /whoami - --port=80 - --name=app-three diff --git a/p2/deploy/app3/app3-service.yml b/p2/deploy/app3/app3-service.yml index 78b26de..cefa364 100644 --- a/p2/deploy/app3/app3-service.yml +++ b/p2/deploy/app3/app3-service.yml @@ -3,9 +3,9 @@ kind: Service metadata: name: app3-service spec: + type: ClusterIP selector: - matchLabels: - app: app3 + app: app3 ports: - port: 80 - tragetPort: 80 + - port: 80 + targetPort: 80 diff --git a/p2/install-all.sh b/p2/install-all.sh deleted file mode 100644 index 10ee492..0000000 --- a/p2/install-all.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -