You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
642 B

6 years ago
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert --file docker-stack-k8s.yml
kompose.version: 1.11.0 (39ad614)
creationTimestamp: null
labels:
io.kompose.service: db
name: db
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: db
spec:
containers:
- image: swr.cn-north-4.myhuaweicloud.com/phoenix-sample-jackyzhou/postgres:9.4
name: db
restartPolicy: Always
imagePullSecrets:
- name: regcred
restartPolicy: Always
status: {}