Files
kops-arm64/deploy/deployment.yaml
Henning Jacobs ff2ac3fe83 v0.9
2018-12-11 19:56:51 +01:00

43 lines
1009 B
YAML

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
application: kube-ops-view
version: v0.9
name: kube-ops-view
spec:
replicas: 1
selector:
matchLabels:
application: kube-ops-view
template:
metadata:
labels:
application: kube-ops-view
version: v0.9
spec:
serviceAccount: kube-ops-view
containers:
- name: service
# see https://github.com/hjacobs/kube-ops-view/releases
image: hjacobs/kube-ops-view:0.9
args:
# remove this option to use built-in memory store
- --redis-url=redis://kube-ops-view-redis:6379
ports:
- containerPort: 8080
protocol: TCP
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 5
timeoutSeconds: 1
resources:
limits:
cpu: 200m
memory: 100Mi
requests:
cpu: 50m
memory: 50Mi