1234567891011121314151617181920212223242526272829 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- annotations:
- image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"sample:latest"},"fieldPath":"spec.template.spec.containers[?(@.name==\"sample\")].image"}]'
- labels:
- app: sample
- app.kubernetes.io/component: sample
- app.kubernetes.io/instance: sample
- sample: metrics
- name: sample
- namespace: metrics
- spec:
- replicas: 3
- selector:
- matchLabels:
- deployment: sample
- template:
- metadata:
- labels:
- deployment: sample
- spec:
- containers:
- - image: ' '
- imagePullPolicy: IfNotPresent
- name: sample
- ports:
- - containerPort: 8080
- protocol: TCP
|