24 lines
633 B
YAML
24 lines
633 B
YAML
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
|
|
#image: harbor-001.jimmysong.io/library/heapster-amd64:v1.3.0-beta.1
|
|
image: harbor-001.jimmysong.io/library/heapster-amd64:v1.4.3
|
|
imagePullPolicy: IfNotPresent
|
|
command:
|
|
- /heapster
|
|
- --source=kubernetes:https://kubernetes.default
|
|
- --sink=influxdb:http://monitoring-influxdb:8086
|