==== 2. Creating a checkpoint of the running container ====
+
==== 2. Create <code>client-admin.crt</code> and <code>client-admin.key</code> files ====
−
<pre>
+
These certificate and key files will be used to authorize the use of the checkpoint API:
−
curl -X POST "https://localhost:10250/checkpoint/default/counters/counter"
−
</pre>
−
−
The following command-line options are necessary for <code>curl</code> to accept the kubelet's self-signed certificate (<code>--insecure</code>) and authorize the use of the checkpoint API (<code>--cert</code>, <code>--key</code>).