-
Notifications
You must be signed in to change notification settings - Fork 4
/
deployment.yaml
37 lines (37 loc) · 911 Bytes
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: k8s-spot-price-monitor
namespace: kube-system
labels:
app: k8s-spot-price-monitor
spec:
replicas: 1
selector:
matchLabels:
app: k8s-spot-price-monitor
template:
metadata:
labels:
app: k8s-spot-price-monitor
spec:
# Uncomment the following line if using RBAC
# serviceAccountName: k8s-spot-price-monitor
containers:
- image: quay.io/pusher/k8s-spot-price-monitor:v0.2.0
name: k8s-spot-price-monitor
resources:
limits:
cpu: 20m
memory: 100Mi
requests:
cpu: 10m
memory: 50Mi
args:
- --running-in-cluster=True
- --scrape-interval=60
- --metrics-port=8000
ports:
- name: http
containerPort: 8000