Skip to content

Commit

Permalink
updated docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragsarkar97 committed Dec 5, 2021
1 parent db8f54f commit 8b0ec9a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
5 changes: 5 additions & 0 deletions deployments/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@


kubectl apply -f etcd.yaml
kubectl apply -f backend-dep.yaml
kubectl apply -f ui-dep.yaml
2 changes: 1 addition & 1 deletion deployments/backend-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: titan-odin
spec:
containers:
- image: anuragsarkar250/backend:1
- image: anuragsarkar250/titan-backend:latest
name: titan-odin
env:
- name: "ETCD3_URL"
Expand Down
28 changes: 13 additions & 15 deletions deployments/ui-dep.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

apiVersion: v1
kind: Pod
metadata:
Expand All @@ -7,21 +6,20 @@ metadata:
name: titan-ui
spec:
containers:
- image: anuragsarkar250/public:1
- image: anuragsarkar250/titan-frontend:latest
name: titan-ui
env:
- name: "ETCD3_URL"
value: "http://etcd-client:2379"
- name: "ODIN_SERVICE_URL"
value: "http://titan-odin:5000"
env:
- name: "ETCD3_URL"
value: "http://etcd-client:2379"
- name: "ODIN_SERVICE_URL"
value: "http://titan-odin:5000"
ports:
- containerPort: 8080
name: titan-ui
protocol: TCP
- containerPort: 8080
name: titan-ui
protocol: TCP
restartPolicy: Always

---

apiVersion: v1
kind: Service
metadata:
Expand All @@ -31,9 +29,9 @@ metadata:
spec:
type: LoadBalancer
ports:
- name: titan-ui
port: 8080
protocol: TCP
targetPort: 8080
- name: titan-ui
port: 8080
protocol: TCP
targetPort: 8080
selector:
app: titan-ui

0 comments on commit 8b0ec9a

Please sign in to comment.