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
11 changes: 8 additions & 3 deletions docs/lab-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,18 @@ Prove that the pod is running:
## Exercise 4 - Create a Java Pod

Write a Kubernetes manifest (YAML file) to create a pod for the Java
Docker image “spring-petclinic” made in the previous lab sessions. This
Docker image “spring-petclinic” made in the previous lab session. This
pod should also be called a “spring-petclinic”, running on the container
port 8080, having labels `app=spring-petclinic` and `team=${team}`.
Persist the manifest in your Git repository under the path
`${git_repo}/k8s/pod-pet-clinic.yaml`.
`${git_repo}/k8s/pod-petclinic.yaml`.



``` sh
# NOTE: write the answer to file "${REPO}/k8s/pod-petclinic.yaml"
```



## Exercise 5 - Operate a Java Pod
Expand Down Expand Up @@ -243,7 +247,8 @@ running at the end.


``` sh
# TODO: enter commands and analysis
# TODO: enter commands and analysis; new Pod manifest should be stored under
# ${REPO}/k8s/pod-hello-server.yaml
```

``` sh
Expand Down
2 changes: 1 addition & 1 deletion k8s/pod-hello-server.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# TODO(lab-2): write down the Pod manifest here.
# TODO(lab-2): implement your logic here
1 change: 1 addition & 0 deletions k8s/pod-nginx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# TODO(lab-1): implement your logic here
1 change: 1 addition & 0 deletions k8s/pod-petclinic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# TODO(lab-2): implement your logic here