Start Koschei migration to OpenShift from scratch
This commit is contained in:
parent
4f140305bc
commit
654998e7ef
4 changed files with 0 additions and 118 deletions
|
@ -14,24 +14,3 @@
|
|||
description: koschei
|
||||
appowners:
|
||||
- mizdebsk
|
||||
- role: openshift/imagestream
|
||||
app: koschei
|
||||
imagename: koschei-web
|
||||
- role: openshift/object
|
||||
app: koschei
|
||||
template: buildconfig.yml
|
||||
objectname: buildconfig.yml
|
||||
- role: openshift/object
|
||||
app: koschei
|
||||
template: service.yml
|
||||
objectname: service.yml
|
||||
- role: openshift/object
|
||||
app: koschei
|
||||
template: deploymentconfig.yml
|
||||
objectname: deploymentconfig.yml
|
||||
- role: openshift/route
|
||||
app: koschei
|
||||
routename: koschei-web
|
||||
host: "koschei{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: koschei-web
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
apiVersion: v1
|
||||
items:
|
||||
- apiVersion: v1
|
||||
kind: BuildConfig
|
||||
metadata:
|
||||
labels:
|
||||
build: koschei-web
|
||||
name: koschei-web
|
||||
spec:
|
||||
runPolicy: Serial
|
||||
source:
|
||||
dockerfile: |-
|
||||
FROM registry.fedoraproject.org/fedora-minimal:28
|
||||
RUN microdnf install koschei-frontend-fedora
|
||||
EXPOSE 80
|
||||
CMD httpd -DFOREGROUND
|
||||
type: Dockerfile
|
||||
strategy:
|
||||
type: Docker
|
||||
dockerStrategy:
|
||||
noCache: false
|
||||
output:
|
||||
to:
|
||||
kind: ImageStreamTag
|
||||
name: koschei-web:latest
|
||||
kind: List
|
||||
metadata: {}
|
|
@ -1,55 +0,0 @@
|
|||
apiVersion: v1
|
||||
items:
|
||||
- apiVersion: v1
|
||||
kind: DeploymentConfig
|
||||
metadata:
|
||||
labels:
|
||||
app: koschei
|
||||
service: web
|
||||
name: koschei-web
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
deploymentconfig: koschei-web
|
||||
strategy:
|
||||
activeDeadlineSeconds: 21600
|
||||
recreateParams:
|
||||
timeoutSeconds: 600
|
||||
resources: {}
|
||||
rollingParams:
|
||||
intervalSeconds: 1
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
timeoutSeconds: 600
|
||||
updatePeriodSeconds: 1
|
||||
type: Rolling
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
app: koschei-web
|
||||
deploymentconfig: koschei-web
|
||||
spec:
|
||||
containers:
|
||||
- name: koschei-web
|
||||
image: docker-registry.default.svc:5000/koschei/koschei-web:latest
|
||||
ports:
|
||||
- containerPort: 80
|
||||
resources: {}
|
||||
volumeMounts: {}
|
||||
readinessProbe:
|
||||
timeoutSeconds: 10
|
||||
initialDelaySeconds: 5
|
||||
httpGet:
|
||||
path: /
|
||||
port: 80
|
||||
livenessProbe:
|
||||
timeoutSeconds: 10
|
||||
initialDelaySeconds: 30
|
||||
httpGet:
|
||||
path: /
|
||||
port: 80
|
||||
volumes: {}
|
||||
triggers: {}
|
||||
kind: List
|
||||
metadata: {}
|
|
@ -1,15 +0,0 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: koschei-web
|
||||
labels:
|
||||
app: koschei
|
||||
service: web
|
||||
namespace: koschei
|
||||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
targetPort: 80
|
||||
selector:
|
||||
deploymentconfig: koschei-web
|
Loading…
Add table
Add a link
Reference in a new issue