ceph-csi/vendor/k8s.io/kubernetes/cluster/addons/fluentd-gcp/scaler-deployment.yaml

37 lines
968 B
YAML
Raw Normal View History

2018-03-06 22:33:18 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: fluentd-gcp-scaler
namespace: kube-system
labels:
k8s-app: fluentd-gcp-scaler
2018-11-26 18:23:56 +00:00
version: v0.5.0
2018-03-06 22:33:18 +00:00
addonmanager.kubernetes.io/mode: Reconcile
spec:
selector:
matchLabels:
k8s-app: fluentd-gcp-scaler
template:
metadata:
labels:
k8s-app: fluentd-gcp-scaler
spec:
serviceAccountName: fluentd-gcp-scaler
containers:
- name: fluentd-gcp-scaler
2018-11-26 18:23:56 +00:00
image: k8s.gcr.io/fluentd-gcp-scaler:0.5
2018-03-06 22:33:18 +00:00
command:
- /scaler.sh
2018-11-26 18:23:56 +00:00
- --ds-name=fluentd-gcp-{{ fluentd_gcp_yaml_version }}
2018-03-06 22:33:18 +00:00
- --scaling-policy=fluentd-gcp-scaling-policy
env:
# Defaults, used if no overrides are found in fluentd-gcp-scaling-policy
- name: CPU_REQUEST
value: 100m
- name: MEMORY_REQUEST
value: 200Mi
2018-07-18 14:47:22 +00:00
- name: CPU_LIMIT
value: 1000m
2018-03-06 22:33:18 +00:00
- name: MEMORY_LIMIT
2018-07-18 14:47:22 +00:00
value: 500Mi