mirror of https://github.com/linkerd/linkerd2.git
42 lines
909 B
YAML
42 lines
909 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
creationTimestamp: null
|
|
name: web
|
|
namespace: emojivoto
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: web-svc
|
|
strategy: {}
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: web-svc
|
|
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
|
|
securityContext:
|
|
allowPrivilegeEscalation: true
|
|
capabilities:
|
|
add:
|
|
- NET_BIND_SERVICE
|
|
drop:
|
|
- ALL
|
|
runAsUser: 33
|