add selecrtor labels

This commit is contained in:
Shashank Veerapaneni 2020-02-07 13:27:35 +05:30
parent dbb0970393
commit 003d1efdfd

View file

@ -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