From c63389d18b08da26516664f5866d5fec07364775 Mon Sep 17 00:00:00 2001 From: YutingLi2001 <2001yuting.li@gmail.com> Date: Sat, 4 Nov 2023 19:54:25 -0400 Subject: [PATCH 1/2] finish lab --- labs/2_IntroKubernetes/hello-world-apply.yaml | 2 +- labs/2_IntroKubernetes/hello-world-create.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/labs/2_IntroKubernetes/hello-world-apply.yaml b/labs/2_IntroKubernetes/hello-world-apply.yaml index 83b0f9b..26732f7 100644 --- a/labs/2_IntroKubernetes/hello-world-apply.yaml +++ b/labs/2_IntroKubernetes/hello-world-apply.yaml @@ -21,7 +21,7 @@ spec: run: hello-world spec: containers: - - image: us.icr.io//hello-world:1 + - image: us.icr.io/s9tingli/hello-world:1 imagePullPolicy: Always name: hello-world ports: diff --git a/labs/2_IntroKubernetes/hello-world-create.yaml b/labs/2_IntroKubernetes/hello-world-create.yaml index ccb8047..ca350c5 100644 --- a/labs/2_IntroKubernetes/hello-world-create.yaml +++ b/labs/2_IntroKubernetes/hello-world-create.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: hello-world - image: us.icr.io//hello-world:1 + image: us.icr.io/s9tingli/hello-world:1 ports: - containerPort: 8080 imagePullSecrets: From 423b7cd0ed13f4dd6e6bb1772025f1a9c6855981 Mon Sep 17 00:00:00 2001 From: YutingLi2001 <2001yuting.li@gmail.com> Date: Tue, 7 Nov 2023 16:20:53 -0500 Subject: [PATCH 2/2] finish lab3 --- labs/3_K8sScaleAndUpdate/app.js | 2 +- labs/3_K8sScaleAndUpdate/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/labs/3_K8sScaleAndUpdate/app.js b/labs/3_K8sScaleAndUpdate/app.js index 1d69822..94a069a 100644 --- a/labs/3_K8sScaleAndUpdate/app.js +++ b/labs/3_K8sScaleAndUpdate/app.js @@ -4,7 +4,7 @@ var hostname = os.hostname(); var app = express() app.get('/', function(req, res) { - res.send('Hello world from ' + hostname + '! Your app is up and running!\n') + res.send('Welcome to ' + hostname + '! Your app is up and running!\n') }) app.listen(8080, function() { console.log('Sample app is listening on port 8080.') diff --git a/labs/3_K8sScaleAndUpdate/deployment.yaml b/labs/3_K8sScaleAndUpdate/deployment.yaml index c26e80e..45dda87 100644 --- a/labs/3_K8sScaleAndUpdate/deployment.yaml +++ b/labs/3_K8sScaleAndUpdate/deployment.yaml @@ -13,7 +13,7 @@ spec: spec: containers: - name: hello-world - image: us.icr.io//hello-world:1 + image: us.icr.io/sn-labs-s9tingli/hello-world:1 ports: - containerPort: 8080 resources: