mirror of https://github.com/linkerd/linkerd2.git
103 lines
2.8 KiB
YAML
103 lines
2.8 KiB
YAML
apiVersion: apps/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
creationTimestamp: null
|
|
name: web
|
|
namespace: emojivoto
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: web-svc
|
|
strategy: {}
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
linkerd.io/created-by: linkerd/cli undefined
|
|
linkerd.io/proxy-version: testinjectversion
|
|
creationTimestamp: null
|
|
labels:
|
|
app: web-svc
|
|
linkerd.io/control-plane-ns: linkerd
|
|
linkerd.io/proxy-deployment: web
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: WEB_PORT
|
|
value: "80"
|
|
- name: EMOJISVC_HOST
|
|
value: emoji-svc.emojivoto:8080
|
|
- name: VOTINGSVC_HOST
|
|
value: voting-svc.emojivoto:8080
|
|
- name: INDEX_BUNDLE
|
|
value: dist/index_bundle.js
|
|
image: buoyantio/emojivoto-web:v3
|
|
name: web-svc
|
|
ports:
|
|
- containerPort: 80
|
|
name: http
|
|
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: {}
|
|
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: {}
|
|
---
|