Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
okd-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marcones Silva
okd-apps
Commits
3b9e9dde
Commit
3b9e9dde
authored
Dec 09, 2021
by
Marcones Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Execicrio cap 7 schedule-limit, arquivo deployment
parent
2ebf57a0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
88 additions
and
0 deletions
+88
-0
schedule-limit/loadtest.yaml
schedule-limit/loadtest.yaml
+70
-0
schedule-limit/quota-limits.yaml
schedule-limit/quota-limits.yaml
+18
-0
No files found.
schedule-limit/loadtest.yaml
0 → 100644
View file @
3b9e9dde
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
:
{}
schedule-limit/quota-limits.yaml
0 → 100644
View file @
3b9e9dde
-
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment