Skip to content

Commit

Permalink
fix matchlabels
Browse files Browse the repository at this point in the history
  • Loading branch information
nefelitav committed Feb 29, 2024
1 parent 14e4c56 commit c56cb03
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions service/messaging_app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
io.kompose.service: service
io.kompose.service: messaging-app
name: messaging-app
spec:
type: NodePort
Expand All @@ -11,7 +11,7 @@ spec:
protocol: TCP
name: http
selector:
io.kompose.service: service
io.kompose.service: messaging-app
---
apiVersion: apps/v1
kind: Deployment
Expand All @@ -21,18 +21,18 @@ metadata:
kompose.version: 1.16.0 (0c01309)
creationTimestamp: null
labels:
io.kompose.service: service
io.kompose.service: messaging-app
name: messaging-app
spec:
selector:
matchLabels:
io.kompose.service: service
io.kompose.service: messaging-app
replicas: 1
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: service
io.kompose.service: messaging-app
spec:
containers:
- image: messaging_app
Expand Down

0 comments on commit c56cb03

Please sign in to comment.