kubernetes-handbook/manifests/heapster/heapster-deployment.yaml

24 lines
663 B
YAML
Raw Normal View History

2017-04-14 17:39:40 +08:00
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: heapster
namespace: kube-system
spec:
replicas: 1
template:
metadata:
labels:
task: monitoring
k8s-app: heapster
spec:
serviceAccountName: heapster
containers:
- name: heapster
2017-10-18 14:15:10 +08:00
#image: sz-pg-oam-docker-hub-001.tendcloud.com/library/heapster-amd64:v1.3.0-beta.1
image: sz-pg-oam-docker-hub-001.tendcloud.com/library/heapster-amd64:v1.4.3
2017-04-14 17:39:40 +08:00
imagePullPolicy: IfNotPresent
command:
- /heapster
- --source=kubernetes:https://kubernetes.default
- --sink=influxdb:http://monitoring-influxdb:8086