2017-09-26 16:59:46 +08:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: test
|
|
|
|
namespace: monitoring
|
|
|
|
labels:
|
|
|
|
app: test
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: test
|
|
|
|
spec:
|
|
|
|
serviceAccountName: prometheus-k8s
|
|
|
|
containers:
|
2018-05-04 19:53:39 +08:00
|
|
|
- image: harbor-001.jimmysong.io/library/centos:7.2.1511
|
2017-09-26 16:59:46 +08:00
|
|
|
name: test
|
|
|
|
imagePullPolicy: IfNotPresent
|