Skip to content

Commit

Permalink
kubernetes-2
Browse files Browse the repository at this point in the history
  • Loading branch information
aasdhajkshd committed Nov 15, 2023
1 parent 20a637d commit f949081
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions kubernetes/reddit/comment-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ metadata:
name: comment
labels:
app: reddit
component: ui
component: comment
spec:
type: NodePort
ports:
- port: 9292
protocol: TCP
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/reddit/mongo-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
labels:
app: reddit
component: mongo
post-db: "true"
comment-db: "true"
post-db: "true"
spec:
replicas: 1
selector:
Expand All @@ -20,8 +20,8 @@ spec:
labels:
app: reddit
component: mongo
post-db: "true"
comment-db: "true"
post-db: "true"
spec:
restartPolicy: Always
containers:
Expand Down

0 comments on commit f949081

Please sign in to comment.