Commit c8bc229b authored by Marcones Silva's avatar Marcones Silva

Execicrio cap 7 schedule-limit, arquivo deployment

parent 2ebf57a0
apiVersion: v1
items:
- apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: loadtest
name: loadtest
spec:
replicas: 1
selector:
matchLabels:
app: loadtest
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: loadtest
spec:
containers:
- image: quay.io/redhattraining/loadtest:v1.0
name: loadtest
resources:
requests:
cpu: "100m"
memory: 20M
limits:
cpu: "500m"
memory: 200M
status: {}
- apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app: loadtest
name: loadtest
spec:
ports:
- port: 80
protocol: TCP
targetPort: 8080
selector:
app: loadtest
status:
loadBalancer: {}
- apiVersion: route.openshift.io/v1
kind: Route
metadata:
annotations:
haproxy.router.openshift.io/timeout: 60s
creationTimestamp: null
labels:
app: loadtest
name: loadtest
spec:
host: "loadtest.apps.ocp4.example.com"
port:
targetPort: 8080
subdomain: ""
to:
kind: ""
name: loadtest
weight: null
status:
ingress: null
kind: List
metadata: {}
- apiVersion: v1
kind: ResourceQuota
metadata:
name: ${PROJECT_NAME}-quota
spec:
hard:
cpu: 3
memory: 10G
- apiVersion: v1
kind: LimitRange
metadata:
name: ${PROJECT_NAME}-limits
spec:
limits:
- type: Container
defaultRequest:
cpu: 30m
memory: 30M
Markdown is supported
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