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
38749212
Commit
38749212
authored
Feb 08, 2022
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more high-level runner scaling princples to the blueprint
parent
9cd3bed4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
doc/architecture/blueprints/runner_scaling/index.md
doc/architecture/blueprints/runner_scaling/index.md
+14
-5
No files found.
doc/architecture/blueprints/runner_scaling/index.md
View file @
38749212
...
@@ -44,7 +44,7 @@ and the documentation for it has been removed from the official page. This
...
@@ -44,7 +44,7 @@ and the documentation for it has been removed from the official page. This
means that the original reason to use Docker Machine is no longer valid too.
means that the original reason to use Docker Machine is no longer valid too.
To keep supporting our customers and the wider community we need to design a
To keep supporting our customers and the wider community we need to design a
new mechanism for GitLab Runner autoscaling. It not only needs to support
new mechanism for GitLab Runner auto
-
scaling. It not only needs to support
auto-scaling, but it also needs to do that in the way to enable us to build on
auto-scaling, but it also needs to do that in the way to enable us to build on
top of it to improve efficiency, reliability and availability.
top of it to improve efficiency, reliability and availability.
...
@@ -144,7 +144,7 @@ on a single machine bring. It is difficult to predict that, so ideally we
...
@@ -144,7 +144,7 @@ on a single machine bring. It is difficult to predict that, so ideally we
should build a PoC that will help us to better understand what we can expect
should build a PoC that will help us to better understand what we can expect
from this.
from this.
To run this experi
e
ment we most likely we will need to build an experimental
To run this experiment we most likely we will need to build an experimental
plugin, that not only allows us to schedule running multiple builds on a single
plugin, that not only allows us to schedule running multiple builds on a single
machine, but also has a set of comprehensive metrics built into it, to make it
machine, but also has a set of comprehensive metrics built into it, to make it
easier to understand how it performs.
easier to understand how it performs.
...
@@ -204,7 +204,7 @@ document, define requirements and score the solution accordingly. This will
...
@@ -204,7 +204,7 @@ document, define requirements and score the solution accordingly. This will
allow us to choose a solution that will work best for us and the wider
allow us to choose a solution that will work best for us and the wider
community.
community.
###
Plugin system d
esign principles
###
D
esign principles
Our goal is to design a GitLab Runner plugin system interface that is flexible
Our goal is to design a GitLab Runner plugin system interface that is flexible
and simple for the wider community to consume. As we cannot build plugins for
and simple for the wider community to consume. As we cannot build plugins for
...
@@ -215,7 +215,16 @@ To achieve this goal, we will follow a few critical design principles. These
...
@@ -215,7 +215,16 @@ To achieve this goal, we will follow a few critical design principles. These
principles will guide our development process for the new plugin system
principles will guide our development process for the new plugin system
abstraction.
abstraction.
General high-level principles:
#### General high-level principles
1.
Design the new auto-scaling architecture aiming for having more choices and
flexibility in the future, instead of imposing new constraints.
1.
Design the new auto-scaling architecture to experiment with running multiple
jobs in parallel, on a single machine.
1.
Design the new provisioning architecture to replace Docker Machine in a way
that the wider community can easily build on top of the new abstractions.
#### Principles for the new plugin system
1.
Make the entry barrier for writing a new plugin low.
1.
Make the entry barrier for writing a new plugin low.
1.
Developing a new plugin should be simple and require only basic knowledge of
1.
Developing a new plugin should be simple and require only basic knowledge of
...
@@ -227,7 +236,7 @@ General high-level principles:
...
@@ -227,7 +236,7 @@ General high-level principles:
1.
Invest in a flexible solution, avoid one-way-door decisions, foster iteration.
1.
Invest in a flexible solution, avoid one-way-door decisions, foster iteration.
1.
When in doubts err on the side of making things more simple for the wider community.
1.
When in doubts err on the side of making things more simple for the wider community.
A few most important technical details:
#### The most important technical details
1.
Favor gRPC communication between a plugin and GitLab Runner.
1.
Favor gRPC communication between a plugin and GitLab Runner.
1.
Make it possible to version communication interface and support many versions.
1.
Make it possible to version communication interface and support many versions.
...
...
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