123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297 |
- apiVersion: v1
- items:
- - apiVersion: v1
- kind: BuildConfig
- metadata:
- creationTimestamp: null
- labels:
- app: redis-build
- name: redis
- name: redis-build
- spec:
- nodeSelector: null
- output:
- to:
- kind: ImageStreamTag
- name: redis:latest
- postCommit: {}
- resources: {}
- runPolicy: Serial
- source:
- contextDir: image
- git:
- uri: https://github.com/mangirdaz/redis-openshift.git
- type: Git
- strategy:
- dockerStrategy:
- from:
- kind: ImageStreamTag
- name: rhel7:latest
- namespace: openshift
- type: Docker
- triggers: []
- status:
- lastVersion: 0
- - apiVersion: v1
- kind: ImageStream
- metadata:
- labels:
- build: redis
- name: redis
- status:
- dockerImageRepository: ""
- - apiVersion: v1
- kind: DeploymentConfig
- metadata:
- creationTimestamp: null
- generation: 1
- labels:
- app: redis
- name: redis
- spec:
- replicas: 3
- selector:
- app: redis
- strategy:
- resources: {}
- rollingParams:
- intervalSeconds: 1
- maxSurge: 25%
- maxUnavailable: 25%
- timeoutSeconds: 600
- updatePeriodSeconds: 1
- type: Rolling
- template:
- metadata:
- creationTimestamp: null
- labels:
- app: redis
- spec:
- containers:
- - image: ' '
- imagePullPolicy: Always
- name: redis
- ports:
- - containerPort: 6379
- protocol: TCP
- resources: {}
- terminationMessagePath: /dev/termination-log
- volumeMounts:
- - mountPath: /redis-master-data
- name: data
- dnsPolicy: ClusterFirst
- restartPolicy: Always
- securityContext: {}
- terminationGracePeriodSeconds: 30
- volumes:
- - emptyDir: {}
- name: data
- test: false
- triggers:
- - type: ConfigChange
- - imageChangeParams:
- automatic: true
- containerNames:
- - redis
- from:
- kind: ImageStreamTag
- name: redis:latest
- namespace: redis
- type: ImageChange
- status: {}
- - apiVersion: v1
- kind: DeploymentConfig
- metadata:
- creationTimestamp: null
- generation: 1
- labels:
- app: redis-master
- redis-master: "true"
- redis-sentinel: "true"
- role: master
- name: redis-master
- spec:
- replicas: 1
- selector:
- app: redis-master
- redis-master: "true"
- redis-sentinel: "true"
- role: master
- strategy:
- resources: {}
- rollingParams:
- intervalSeconds: 1
- maxSurge: 25%
- maxUnavailable: 25%
- timeoutSeconds: 600
- updatePeriodSeconds: 1
- type: Rolling
- template:
- metadata:
- creationTimestamp: null
- labels:
- app: redis-master
- redis-master: "true"
- redis-sentinel: "true"
- role: master
- spec:
- containers:
- - env:
- - name: MASTER
- value: "true"
- image: ' '
- imagePullPolicy: Always
- name: redis
- ports:
- - containerPort: 6379
- protocol: TCP
- resources: {}
- terminationMessagePath: /dev/termination-log
- volumeMounts:
- - mountPath: /redis-master-data
- name: data
- - env:
- - name: SENTINEL
- value: "true"
- image: ' '
- imagePullPolicy: Always
- name: sentinel
- ports:
- - containerPort: 26379
- protocol: TCP
- resources: {}
- terminationMessagePath: /dev/termination-log
- dnsPolicy: ClusterFirst
- restartPolicy: Always
- securityContext: {}
- terminationGracePeriodSeconds: 30
- volumes:
- - emptyDir: {}
- name: data
- test: false
- triggers:
- - imageChangeParams:
- automatic: true
- containerNames:
- - redis
- from:
- kind: ImageStreamTag
- name: redis:latest
- namespace: redis
- type: ImageChange
- - imageChangeParams:
- automatic: true
- containerNames:
- - sentinel
- from:
- kind: ImageStreamTag
- name: redis:latest
- namespace: redis
- type: ImageChange
- - type: ConfigChange
- status: {}
- - apiVersion: v1
- kind: DeploymentConfig
- metadata:
- creationTimestamp: null
- generation: 1
- labels:
- app: redis-sentinel
- redis-sentinel: "true"
- name: redis-sentinel
- spec:
- replicas: 3
- selector:
- app: redis-sentinel
- redis-sentinel: "true"
- strategy:
- resources: {}
- rollingParams:
- intervalSeconds: 1
- maxSurge: 25%
- maxUnavailable: 25%
- timeoutSeconds: 600
- updatePeriodSeconds: 1
- type: Rolling
- template:
- metadata:
- creationTimestamp: null
- labels:
- app: redis-sentinel
- redis-sentinel: "true"
- spec:
- containers:
- - env:
- - name: SENTINEL
- value: "true"
- image: ' '
- imagePullPolicy: Always
- name: sentinel
- ports:
- - containerPort: 26379
- protocol: TCP
- resources: {}
- terminationMessagePath: /dev/termination-log
- volumeMounts:
- - mountPath: /redis-master-data
- name: data
- dnsPolicy: ClusterFirst
- restartPolicy: Always
- securityContext: {}
- terminationGracePeriodSeconds: 30
- volumes:
- - emptyDir: {}
- name: data
- test: false
- triggers:
- - type: ConfigChange
- - imageChangeParams:
- automatic: true
- containerNames:
- - sentinel
- from:
- kind: ImageStreamTag
- name: redis:latest
- namespace: redis
- type: ImageChange
- status: {}
- - apiVersion: v1
- kind: Service
- metadata:
- creationTimestamp: null
- labels:
- name: master
- role: service
- name: redis-master
- spec:
- ports:
- - port: 6379
- protocol: TCP
- targetPort: 6379
- selector:
- redis-master: "true"
- sessionAffinity: None
- type: ClusterIP
- status:
- loadBalancer: {}
- - apiVersion: v1
- kind: Service
- metadata:
- creationTimestamp: null
- labels:
- name: sentinel
- role: service
- name: redis-sentinel
- spec:
- ports:
- - port: 26379
- protocol: TCP
- targetPort: 26379
- selector:
- redis-sentinel: "true"
- sessionAffinity: None
- type: ClusterIP
- status:
- loadBalancer: {}
- kind: List
- metadata: {}
|