Open main menu
Home
Random
Log in
Settings
About CRIU
Disclaimers
CRIU
Search
Changes
← Older edit
Newer edit →
Kubernetes
(edit)
Revision as of 14:41, 7 November 2025
228 bytes added
,
7 November
m
→Example
Line 15:
Line 15:
=== Example ===
=== Example ===
−
1.
Create
a Pod
+
1.
Creating
a Pod
called <code>counters</code> with a single container called <code>counter</code>:
<pre>
<pre>
Line 35:
Line 35:
</pre>
</pre>
−
2.
Create
a container
checkpoint
+
The following command can be used to verify that the container is running:
+
+
<pre>
+
kubectl logs -f -c counter counters
+
</pre>
+
+
2.
Creating
a
checkpoint of the running
container
:
<pre>
<pre>
curl -X POST "https://localhost:10250/checkpoint/default/counters/counter"
curl -X POST "https://localhost:10250/checkpoint/default/counters/counter"
</pre>
</pre>
Radostin
509
edits