Files
weave-scope/extras/example/k8s/app-deployment.yaml
2019-09-21 16:00:58 +00:00

26 lines
570 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: app
spec:
replicas: 2
selector:
matchLabels:
name: app
template:
metadata:
labels:
name: app
spec:
containers:
- name: app
image: tomwilkie/app
imagePullPolicy: IfNotPresent
args:
- -echo=http://echo.default.svc.cluster.local/
- -qotd=qotd.default.svc.cluster.local
- -redis=redis.default.svc.cluster.local
- -search=http://search.default.svc.cluster.local/
ports:
- containerPort: 80