Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f6f133ad
Commit
f6f133ad
authored
Feb 12, 2020
by
Suzanne Selhorn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unneccesary symbols
Related to
https://gitlab.com/gitlab-org/gitlab/issues/205386
parent
b6ae072f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
doc/development/testing_guide/review_apps.md
doc/development/testing_guide/review_apps.md
+7
-7
No files found.
doc/development/testing_guide/review_apps.md
View file @
f6f133ad
...
@@ -230,10 +230,10 @@ Look at a recent `review-deploy` job log, and at the Tiller logs.
...
@@ -230,10 +230,10 @@ Look at a recent `review-deploy` job log, and at the Tiller logs.
```
shell
```
shell
# Identify if node spikes are common or load on specific nodes which may get rebalanced by the Kubernetes scheduler
# Identify if node spikes are common or load on specific nodes which may get rebalanced by the Kubernetes scheduler
›
kubectl top nodes |
sort
--key
3
--numeric
kubectl top nodes |
sort
--key
3
--numeric
# Identify pods under heavy CPU load
# Identify pods under heavy CPU load
›
kubectl top pods |
sort
--key
2
--numeric
kubectl top pods |
sort
--key
2
--numeric
```
```
### The `logging/user/events/FailedMount` chart is going up
### The `logging/user/events/FailedMount` chart is going up
...
@@ -253,19 +253,19 @@ Any secrets or config maps older than 5 days are suspect and should be deleted.
...
@@ -253,19 +253,19 @@ Any secrets or config maps older than 5 days are suspect and should be deleted.
```
shell
```
shell
# List secrets and config maps ordered by created date
# List secrets and config maps ordered by created date
›
kubectl get secret,cm
--sort-by
=
'{.metadata.creationTimestamp}'
|
grep
'review-'
kubectl get secret,cm
--sort-by
=
'{.metadata.creationTimestamp}'
|
grep
'review-'
# Delete all secrets that are 5 to 9 days old
# Delete all secrets that are 5 to 9 days old
›
kubectl get secret
--sort-by
=
'{.metadata.creationTimestamp}'
|
grep
'^review-'
|
grep
'[5-9]d$'
|
cut
-d
' '
-f1
| xargs kubectl delete secret
kubectl get secret
--sort-by
=
'{.metadata.creationTimestamp}'
|
grep
'^review-'
|
grep
'[5-9]d$'
|
cut
-d
' '
-f1
| xargs kubectl delete secret
# Delete all secrets that are 10 to 99 days old
# Delete all secrets that are 10 to 99 days old
›
kubectl get secret
--sort-by
=
'{.metadata.creationTimestamp}'
|
grep
'^review-'
|
grep
'[1-9][0-9]d$'
|
cut
-d
' '
-f1
| xargs kubectl delete secret
kubectl get secret
--sort-by
=
'{.metadata.creationTimestamp}'
|
grep
'^review-'
|
grep
'[1-9][0-9]d$'
|
cut
-d
' '
-f1
| xargs kubectl delete secret
# Delete all config maps that are 5 to 9 days old
# Delete all config maps that are 5 to 9 days old
›
kubectl get cm
--sort-by
=
'{.metadata.creationTimestamp}'
|
grep
'review-'
|
grep
-v
'dns-gitlab-review-app'
|
grep
'[5-9]d$'
|
cut
-d
' '
-f1
| xargs kubectl delete cm
kubectl get cm
--sort-by
=
'{.metadata.creationTimestamp}'
|
grep
'review-'
|
grep
-v
'dns-gitlab-review-app'
|
grep
'[5-9]d$'
|
cut
-d
' '
-f1
| xargs kubectl delete cm
# Delete all config maps that are 10 to 99 days old
# Delete all config maps that are 10 to 99 days old
›
kubectl get cm
--sort-by
=
'{.metadata.creationTimestamp}'
|
grep
'review-'
|
grep
-v
'dns-gitlab-review-app'
|
grep
'[1-9][0-9]d$'
|
cut
-d
' '
-f1
| xargs kubectl delete cm
kubectl get cm
--sort-by
=
'{.metadata.creationTimestamp}'
|
grep
'review-'
|
grep
-v
'dns-gitlab-review-app'
|
grep
'[1-9][0-9]d$'
|
cut
-d
' '
-f1
| xargs kubectl delete cm
```
```
### Using K9s
### Using K9s
...
...
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