kubernetes-handbook/manifests/test/centos-test.yaml

20 lines
401 B
YAML
Raw Normal View History

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:
- image: sz-pg-oam-docker-hub-001.tendcloud.com/library/centos:7.2.1511
name: test
imagePullPolicy: IfNotPresent