mirror of
https://github.com/zalando-incubator/kube-metrics-adapter.git
synced 2024-12-23 03:26:26 +00:00
82a96580a2
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: kube-metrics-adapter
|
|
namespace: kube-system
|
|
labels:
|
|
application: kube-metrics-adapter
|
|
version: latest
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
application: kube-metrics-adapter
|
|
template:
|
|
metadata:
|
|
labels:
|
|
application: kube-metrics-adapter
|
|
version: latest
|
|
annotations:
|
|
iam.amazonaws.com/role: "kube-aws-test-1-app-zmon"
|
|
spec:
|
|
serviceAccountName: custom-metrics-apiserver
|
|
containers:
|
|
- name: kube-metrics-adapter
|
|
image: ghcr.io/zalando-incubator/kube-metrics-adapter:latest
|
|
args:
|
|
# - --v=9
|
|
- --prometheus-server=http://prometheus.kube-system.svc.cluster.local
|
|
- --skipper-ingress-metrics
|
|
- --aws-external-metrics
|
|
- --scaling-schedule
|
|
env:
|
|
- name: AWS_REGION
|
|
value: eu-central-1
|
|
resources:
|
|
limits:
|
|
cpu: 100m
|
|
memory: 100Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 100Mi
|