@@ -8,7 +8,7 @@ weight: 6
88
99Within the O11y Cloud UI:
1010
11- Data Setup -> Monitor Applications -> Python (traces) -> Add Integration
11+ Data Management -> Add Integration -> Monitor Applications -> Python (traces) -> Add Integration
1212
1313Provide the following to the Configure Integration Wizard:
1414
@@ -104,11 +104,23 @@ Note that the only lines, in bold, added to the Dockerfile
104104- Generate a new container image with docker build in the ‘finished’ directory
105105- Notice that I have changed the repository name from ` localhost:8000/review:0.01 ` to ` localhost:8000/review-splkotel:0.01 `
106106
107- ``` text
107+
108+
109+ Ensure you are in the correct directory.
110+ ``` bash
108111 pwd
109112 ./workshop/flask_apps_finish/review
113+ ```
114+
115+ {{< tabs >}}}
110116
117+ {{% tab name="docker build" %}}
118+ ``` bash
111119 docker build -f Dockerfile.review -t localhost:8000/review-splkotel:0.01 .
120+ ```
121+ {{% /tab %}}
122+ {{% tab name="docker build Output" %}}
123+ ``` text
112124 [+] Building 27.1s (12/12) FINISHED
113125 => [internal] load build definition from Dockerfile 0.0s
114126 => => transferring dockerfile: 364B 0.0s
@@ -129,11 +141,21 @@ Note that the only lines, in bold, added to the Dockerfile
129141 => => writing image sha256:164977dd860a17743b8d68bcc50c691082bd3bfb352d1025dc3a54b15d5f4c4d 0.0s
130142 => => naming to docker.io/localhost:8000/review-splkotel:0.01 0.0s
131143 ```
144+ {{% /tab %}}{{< /tabs >}}
132145
133146- Push the image to Docker Hub with docker push command
134147
135- ``` text
148+ {{< tabs >}}}
149+
150+ {{% tab name="docker push" %}}
151+ ``` bash
136152 docker push localhost:8000/review-splkotel:0.01
153+ ```
154+
155+ {{% /tab %}}
156+ {{% tab name="docker push Output" %}}
157+
158+ ``` text
137159 The push refers to repository [docker.io/localhost:8000/review-splkotel]
138160 682f0e550f2c: Pushed
139161 dd7dfa312442: Pushed
@@ -147,6 +169,7 @@ Note that the only lines, in bold, added to the Dockerfile
147169 fd95118eade9: Mounted from localhost:8000/review
148170 0.01: digest: sha256:3b251059724dbb510ea81424fc25ed03554221e09e90ef965438da33af718a45 size: 2412
149171 ```
172+ {{% /tab %}}{{< /tabs >}}
150173
151174## 3. Update the REVIEW deployment in Kubernetes
152175
@@ -206,10 +229,12 @@ Note that the only lines, in bold, added to the Dockerfile
206229
207230 - Notice that the review-* pod has been restarted
208231
209- ` ` ` text
210- kubectl apply -f review.deployment.yaml
232+ ` ` ` bash
233+ kubectl apply -f review.deployment.yaml
211234 deployment.apps/review configured
235+ ```
212236
237+ ``` text
213238 kubectl get pods
214239 NAME READY STATUS RESTARTS AGE
215240 kafka-client 0/1 Unknown 0 155d
0 commit comments