Skip to content

Commit 106c6c3

Browse files
committed
Ajustes yaml deploy das apps e build das imagens cri-o.
1 parent af647fd commit 106c6c3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lab-jaeger-istio-nodejs/istio-nodejs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ spec:
3434
spec:
3535
containers:
3636
- name: app
37-
image: csantanapr/service-a-nodejs-istio
37+
image: localhost/service-a-nodejs
3838
#image: image-registry.openshift-image-registry.svc:5000/default/service-a-nodejs-istio
3939
env:
4040
- name: JAEGER_ENDPOINT
41-
value: http://jaeger-collector.istio-system.svc:14268/api/traces
41+
value: http://simplest-collector:14268/api/traces
4242
- name: SERVICE_FORMATTER
4343
value: service-b
4444
imagePullPolicy: Always
@@ -80,11 +80,11 @@ spec:
8080
spec:
8181
containers:
8282
- name: app
83-
image: csantanapr/service-b-nodejs-istio
83+
image: localhost/service-b-nodejs
8484
#image: image-registry.openshift-image-registry.svc:5000/default/service-b-nodejs-istio
8585
env:
8686
- name: JAEGER_ENDPOINT
87-
value: http://jaeger-collector.istio-system.svc:14268/api/traces
87+
value: http://simplest-collector:14268/api/traces
8888
imagePullPolicy: Always
8989
ports:
9090
- containerPort: 8081

lab-jaeger-istio-nodejs/service-a/build-push.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
#docker push csantanapr/service-a-nodejs-istio
88

99
# Versão podman
10-
podman build -t danielrpgj/service-a-nodejs .
11-
podman tag my-nginx-image registry.example.com/my-nginx-image:v1
10+
sudo podman build -t service-a-nodejs .
11+
sudo podman tag my-nginx-image registry.example.com/my-nginx-image:v1

0 commit comments

Comments
 (0)