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
Add example for using cvmfs-snapshotter with k3s (#234)
* fix formatting errors
Signed-off-by: Amal Thundiyil <[email protected]>
* add example for using cvmfs-snapshotter with k3s
Signed-off-by: Amal Thundiyil <[email protected]>
---------
Signed-off-by: Amal Thundiyil <[email protected]>
After configuration, restart k3s with ``systemctl restart k3s``.
295
+
296
+
To test, apply this sample pod configuration:
297
+
298
+
.. code-block:: yaml
299
+
300
+
apiVersion: v1
301
+
kind: Pod
302
+
metadata:
303
+
name: python-http-server
304
+
spec:
305
+
containers:
306
+
- name: python-server
307
+
image: python:3.9
308
+
imagePullPolicy: Always
309
+
command: ["python", "-m", "http.server", "8000"]
310
+
ports:
311
+
- containerPort: 8000
312
+
313
+
Verify the setup using ``kubectl describe`` to check pod details. Note the startup time is about 2-3 seconds, compared to 13 seconds with the default snapshotter. For further verification, check the cvmfs-snapshotter logs using ``journalctl -u cvmfs-snapshotter``.
0 commit comments