Changes
Jump to navigation
Jump to search
← 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
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Request account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version
News
Twitter
YouTube
External resources
Github / source code
Issues / bugs
Mr. Jenkins
Open Hub
OpenVZ