Skip to content

finish lab #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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 labs/2_IntroKubernetes/hello-world-apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
run: hello-world
spec:
containers:
- image: us.icr.io/<my_namespace>/hello-world:1
- image: us.icr.io/s9tingli/hello-world:1
imagePullPolicy: Always
name: hello-world
ports:
Expand Down
2 changes: 1 addition & 1 deletion labs/2_IntroKubernetes/hello-world-create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
containers:
- name: hello-world
image: us.icr.io/<my_namespace>/hello-world:1
image: us.icr.io/s9tingli/hello-world:1
ports:
- containerPort: 8080
imagePullSecrets:
Expand Down
2 changes: 1 addition & 1 deletion labs/3_K8sScaleAndUpdate/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down
2 changes: 1 addition & 1 deletion labs/3_K8sScaleAndUpdate/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
spec:
containers:
- name: hello-world
image: us.icr.io/<my_namespace>/hello-world:1
image: us.icr.io/sn-labs-s9tingli/hello-world:1
ports:
- containerPort: 8080
resources:
Expand Down