You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: RELEASE.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -120,21 +120,21 @@ Running Vagrant locally syncs your repository directory into `/cmk` using by def
120
120
- check whether current branch is `master` and if it's "clean"
121
121
- fetch origin
122
122
- check whether `CMK_RELEASE_VER` is set, follows proper pattern and there in no existing tag with it's value
123
-
- check whether there is no `cmk-release-v1.5.1` branch neither locally nor remotely
124
-
- get previous version string from `Makefile` (`version=v1.5.1`) and check
123
+
- check whether there is no `cmk-release-v1.5.2` branch neither locally nor remotely
124
+
- get previous version string from `Makefile` (`version=v1.5.2`) and check
125
125
126
126
If all above checks pass, script will:
127
-
- create local branch `cmk-release-v1.5.1`
128
-
- replace old release string (`v1.5.1`) with new one (`v1.5.1`) in all repo files
129
-
- commit changes with message `CMK release - version v1.5.1.`
127
+
- create local branch `cmk-release-v1.5.2`
128
+
- replace old release string (`v1.5.2`) with new one (`v1.5.2`) in all repo files
129
+
- commit changes with message `CMK release - version v1.5.2.`
130
130
- push branch to origin
131
131
- checkout to `master` branch.
132
132
133
133
**What will happen after PR gets to `master` branch**
134
134
After PR is "Rebased and merged" into `master` branch, Jenkins CI/CD will start VM based on `.release/Vagrantfile` and execute `.release/make_release.py` inside the VM.
135
135
136
136
**What will `make_release.py` do :**
137
-
- check latest commit message for `CMK release - version v1.5.1.` string
138
-
-`v1.5.1` will become tag value
137
+
- check latest commit message for `CMK release - version v1.5.2.` string
138
+
-`v1.5.2` will become tag value
139
139
- generate change log
140
140
- create release with change log based on tag found in commit message
Copy file name to clipboardExpand all lines: docs/html/docs/architecture.html
+5-13Lines changed: 5 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -82,19 +82,19 @@ <h2>
82
82
<p>CMK accomplishes core isolation by controlling what logical CPUs each
83
83
container may use for execution by wrapping target application commands
84
84
with the CMK command-line program. The <code>cmk</code> wrapper program maintains
85
-
state in a directory hierarchy on disk that describes <strong>pools</strong> from
85
+
state in a <a href="https://kubernetes.io/docs/concepts/configuration/configmap/" rel="nofollow">Kubernetes configmap</a> that describes <strong>pools</strong> from
86
86
which user containers can acquire available <strong>CPU lists</strong>. These pools
87
87
can be exclusive (only one container per CPU list) or non-exclusive
88
-
(multiple containers can share a CPU list.) Each CPU list directory
88
+
(multiple containers can share a CPU list.) Each CPU list entry
89
89
contains a <code>tasks</code> file that tracks process IDs of the container
90
90
subcommand(s) that acquired the CPU list. When the child process exits,
91
91
the <code>cmk</code> wrapper program clears its PID from the tasks file. If the
92
92
wrapper program is killed before it can perform this cleanup step, a
93
93
separate periodic reconciliation program detects this condition and cleans
94
-
the tasks file accordingly. A file system lock guards against conflicting
94
+
the tasks file accordingly. A lock mechanism guards against conflicting
95
95
concurrent modifications.</p>
96
96
<p>The rest of this document discusses the high-level design of CMK.</p>
97
-
<p>For more information about the structure of state on disk, see
97
+
<p>For more information about the structure of state in the configmap, see
<p>For more information about how to use the <code>cmk</code> wrapper program, see
100
100
<a href="cli.html">Using the cmk command-line tool</a>.</p>
@@ -111,10 +111,6 @@ <h2>
111
111
times on the order of ones to tens of seconds or greater.</p>
112
112
</li>
113
113
<li>
114
-
<p>After a workload has started executing, there is no need to
115
-
dynamically update its CPU assignments.</p>
116
-
</li>
117
-
<li>
118
114
<p>Machines running workloads explicitly isolated by <code>cmk</code> must be guarded
119
115
against other workloads that <em>do not</em> consult the <code>cmk</code> tool chain.
120
116
The recommended way to do this is for the operator to taint the node.
@@ -157,7 +153,7 @@ <h2>
157
153
</li>
158
154
<li>
159
155
<p>Interoperate well with the <code>isolcpus</code> kernel parameter. When
160
-
initializing the CMK configuration directory, prefer to align
156
+
initializing the CMK configuration configmap, prefer to align
161
157
exclusive CPU lists with fully-isolated physical cores.</p>
162
158
</li>
163
159
<li>
@@ -256,10 +252,6 @@ <h2>
256
252
<td align="left">This should be extremely rare in practice, but it relates to the above scenario. If a PID of a <code>cmk</code> subcommand leaks as described above and is recycled by the kernel before <code>reconcile</code> runs, then when <code>reconcile</code> does run, it will see that the PID refers to a running process and will not remove that PID from the <code>tasks</code> file. There is currently no mitigation in place to protect against this scenario.</td>
257
253
</tr>
258
254
<tr>
259
-
<td align="left">CMK <code>init</code> flag values for <code>--num-shared-cores</code> and <code>--num-exclusive-cores</code> must be positive integers.</td>
260
-
<td align="left">Zero is unsupported by the tool chain.</td>
261
-
</tr>
262
-
<tr>
263
255
<td align="left">The flag values for <code>--interval</code> (used in <code>cmk reconcile</code> and <code>cmk node-report</code>) must be integers.</td>
264
256
<td align="left">Fractional seconds are not supported by the tool chain.</td>
0 commit comments