Commit 99ee36dd authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

moved cbio-api yaml to API repo

parent 3eea48d8
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: cbio-on-demand
name: cbio-api
annotations:
maintainer: Luboslav Pivarc <456130@muni.cz>
spec:
selector:
matchLabels:
app: cbio-api
type: ondemand
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
labels:
app: cbio-api
type: ondemand
spec:
containers:
- name: cbio-api
image: lpivo/api:tr1
ports:
- name: http
containerPort: 8080
livenessProbe:
httpGet:
path: /actuator/health
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 1
successThreshold: 1
failureThreshold: 2
readinessProbe:
httpGet:
path: /actuator/health
port: http
initialDelaySeconds: 1
periodSeconds: 10
timeoutSeconds: 1
successThreshold: 1
failureThreshold: 2
apiVersion: v1
kind: Service
metadata:
name: cbio-api
namespace: cbio-on-demand
labels:
app: cbio-api
type: ondemand
annotations:
maintainer: Luboslav Pivarc <456130@muni.cz>
spec:
selector:
app: cbio-api
type: ondemand
ports:
- port: 80
targetPort: http
apiVersion: example.com/v1beta1
kind: identifier
metadata:
generateName: cod
namespace: cbio-on-demand
# annotations:
# maintainer: Luboslav Pivarc <456130@muni.cz>
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: identifiers.example.com
annotations:
maintainer: Luboslav Pivarc <456130@muni.cz>
spec:
scope: Namespaced
group: example.com
version: v1beta1
names:
kind: identifier
singular: identifier
plural: identifiers
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment