mirror of https://github.com/linkerd/linkerd2.git
89 lines
2.2 KiB
YAML
89 lines
2.2 KiB
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
annotations:
|
|
linkerd.io/created-by: linkerd/cli undefined
|
|
linkerd.io/proxy-version: testinjectversion
|
|
creationTimestamp: null
|
|
labels:
|
|
app: vote-bot
|
|
linkerd.io/control-plane-ns: linkerd
|
|
name: vote-bot
|
|
namespace: emojivoto
|
|
spec:
|
|
containers:
|
|
- command:
|
|
- emojivoto-vote-bot
|
|
env:
|
|
- name: WEB_HOST
|
|
value: web-svc.emojivoto:80
|
|
image: buoyantio/emojivoto-web:v3
|
|
name: vote-bot
|
|
resources: {}
|
|
- env:
|
|
- name: LINKERD2_PROXY_LOG
|
|
value: warn,linkerd2_proxy=info
|
|
- name: LINKERD2_PROXY_BIND_TIMEOUT
|
|
value: 10s
|
|
- name: LINKERD2_PROXY_CONTROL_URL
|
|
value: tcp://proxy-api.linkerd.svc.cluster.local:8086
|
|
- name: LINKERD2_PROXY_CONTROL_LISTENER
|
|
value: tcp://0.0.0.0:4190
|
|
- name: LINKERD2_PROXY_METRICS_LISTENER
|
|
value: tcp://0.0.0.0:4191
|
|
- name: LINKERD2_PROXY_OUTBOUND_LISTENER
|
|
value: tcp://127.0.0.1:4140
|
|
- name: LINKERD2_PROXY_INBOUND_LISTENER
|
|
value: tcp://0.0.0.0:4143
|
|
- name: LINKERD2_PROXY_POD_NAMESPACE
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: metadata.namespace
|
|
image: gcr.io/linkerd-io/proxy:testinjectversion
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /metrics
|
|
port: 4191
|
|
initialDelaySeconds: 10
|
|
name: linkerd-proxy
|
|
ports:
|
|
- containerPort: 4143
|
|
name: linkerd-proxy
|
|
- containerPort: 4191
|
|
name: linkerd-metrics
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /metrics
|
|
port: 4191
|
|
initialDelaySeconds: 10
|
|
resources:
|
|
requests:
|
|
cpu: 110m
|
|
memory: 100Mi
|
|
securityContext:
|
|
runAsUser: 2102
|
|
terminationMessagePolicy: FallbackToLogsOnError
|
|
initContainers:
|
|
- args:
|
|
- --incoming-proxy-port
|
|
- "4143"
|
|
- --outgoing-proxy-port
|
|
- "4140"
|
|
- --proxy-uid
|
|
- "2102"
|
|
- --inbound-ports-to-ignore
|
|
- 4190,4191
|
|
image: gcr.io/linkerd-io/proxy-init:testinjectversion
|
|
imagePullPolicy: IfNotPresent
|
|
name: linkerd-init
|
|
resources: {}
|
|
securityContext:
|
|
capabilities:
|
|
add:
|
|
- NET_ADMIN
|
|
privileged: false
|
|
terminationMessagePolicy: FallbackToLogsOnError
|
|
status: {}
|
|
---
|