add selecrtor labels
This commit is contained in:
parent
dbb0970393
commit
003d1efdfd
1 changed files with 5 additions and 2 deletions
|
@ -7,6 +7,9 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: fortune-teller-app
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
@ -16,5 +19,5 @@ spec:
|
|||
- name: fortune-teller-app
|
||||
image: quay.io/kubernetes-ingress-controller/grpc-fortune-teller:0.1
|
||||
ports:
|
||||
- containerPort: 50051
|
||||
name: grpc
|
||||
- containerPort: 50051
|
||||
name: grpc
|
||||
|
|
Loading…
Reference in a new issue