Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- kind: ImageStream
- apiVersion: v1
- metadata:
- name: sample-phpinfo
- annotations:
- description: very simple app that display phpinfo() method
- ---
- kind: BuildConfig
- apiversion: v1
- metadata:
- name: sample-phpinfo
- spec:
- triggers:
- - type: GitHub
- github:
- secret: secret101
- source:
- type: Git
- git:
- uri: "https://github.com/fvillain/sample-phpinfo.git"
- strategy:
- type: Docker
- output:
- to:
- kind: "ImageStreamTag"
- name: "sample-phpinfo:latest"
- ---
- kind: DeploymentConfig
- apiVersion: v1
- metadata:
- name: sample-phpinfo
- spec:
- template:
- metadata:
- labels:
- name: "sample-phpinfo"
- spec:
- containers:
- - name: sample-phpinfo
- image: sample-phpinfo
- ports:
- - containerPort: 9000
- protocol: "TCP"
- livenessProbe:
- tcpSocket:
- port: 9000
- initialDelaySeconds: 30
- timeoutSeconds: 1
- readinessProbe:
- tcpSocket:
- port: 9000
- initialDelaySeconds: 30
- timeoutSeconds: 1
- replicas: 5
- selector:
- name: sample-phpinfo
- triggers: []
- strategy:
- type: "Rolling
Add Comment
Please, Sign In to add comment