Skip to content

Commit

Permalink
fix travel deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGANGLOFF committed Apr 8, 2024
1 parent 5c8171f commit 8014184
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: travel
namespace: travel
name: enjoy
namespace: enjoy
labels:
name: travel
name: enjoy
spec:
replicas: 2
selector:
matchLabels:
app: travel
app: enjoy
template:
metadata:
labels:
app: travel
app: enjoy
spec:
containers:
- name: travel
image: d3spina/t-web-800:travel-latest
- name: enjoy
image: d3spina/t-web-800:enjoy-latest
imagePullPolicy: Always
env:
- name: ROCKET_ADDRESS
Expand Down
6 changes: 3 additions & 3 deletions service.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: travel-service
namespace: travel
name: enjoy-service
namespace: enjoy
spec:
selector:
app: travel
app: enjoy
ports:
- protocol: TCP
port: 80
Expand Down

0 comments on commit 8014184

Please sign in to comment.