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 namespace: default
spec: spec:
replicas: 1 replicas: 1
selector:
matchLabels:
k8s-app: fortune-teller-app
template: template:
metadata: metadata:
labels: labels:
@ -16,5 +19,5 @@ spec:
- name: fortune-teller-app - name: fortune-teller-app
image: quay.io/kubernetes-ingress-controller/grpc-fortune-teller:0.1 image: quay.io/kubernetes-ingress-controller/grpc-fortune-teller:0.1
ports: ports:
- containerPort: 50051 - containerPort: 50051
name: grpc name: grpc