12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- apiVersion: v1
- items:
- - apiVersion: v1
- kind: DeploymentConfig
- metadata:
- labels:
- app: redis
- name: redis
- spec:
- replicas: 3
- selector:
- app: redis
- template:
- metadata:
- labels:
- app: redis
- spec:
- containers:
- - image: 172.30.151.14:5000/redis/redis@sha256:e508f686a4f50eb54350c091f3df8fc6a9649dd8c613482088534c5ca70cfc37
- imagePullPolicy: Always
- name: redis
- volumeMounts:
- - mountPath: /redis-master-data
- name: data
- ports:
- - containerPort: 6379
- resources: {}
- dnsPolicy: ClusterFirst
- restartPolicy: Always
- securityContext: {}
- terminationGracePeriodSeconds: 30
- volumes:
- - name: data
- emptyDir: {}
- test: false
- triggers:
- - type: ConfigChange
- - imageChangeParams:
- automatic: true
- containerNames:
- - redis
- from:
- kind: ImageStreamTag
- name: redis:latest
- namespace: redis
- type: ImageChange
- status: {}
- kind: List
- metadata: {}
|