...
1apiVersion: policy.linkerd.io/v1beta1
2kind: Server
3metadata:
4 name: etcd-operator
5 namespace: etcd-operator
6 labels:
7 platform.edge.ncr.com/component: etcd-operator
8spec:
9 port: metrics
10 podSelector:
11 # being specific in what pods you are selecting when possible avoids
12 # potential headaches caused by overlapping Server objects
13 matchLabels:
14 platform.edge.ncr.com/component: etcd-operator
15 # Configures protocol discovery for inbound connections.
16 # Must be one of `unknown`, `HTTP/1`,`HTTP/2`,`gRPC`,`opaque`,`TLS`. Defaults to `unknown` if not set.
17 proxyProtocol: HTTP/1
View as plain text