From 99e2d1397cd1521be7e9532c4841f7adb87939aa Mon Sep 17 00:00:00 2001 From: Chelsea Mafrica Date: Fri, 20 Mar 2020 13:48:24 -0700 Subject: [PATCH] howto: Update deprecated CRI-O conf option CRI-O config option manage_network_ns_lifecycle is replaced with manage_ns_lifecycle in 1.17, which determines whether we pin and remove namespaces and manage their lifecycle. Update docs to reflect both. Fixes #617 Signed-off-by: Chelsea Mafrica --- how-to/run-kata-with-k8s.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/how-to/run-kata-with-k8s.md b/how-to/run-kata-with-k8s.md index d4e43cd49..c8ed783ea 100644 --- a/how-to/run-kata-with-k8s.md +++ b/how-to/run-kata-with-k8s.md @@ -112,10 +112,17 @@ default_workload_trust = "untrusted" #### Network namespace management To enable networking for the workloads run by Kata, CRI-O needs to be configured to -manage network namespaces, by setting the following key to `true`: +manage network namespaces, by setting the following key to `true`. + +In CRI-O v1.16: ```toml manage_network_ns_lifecycle = true ``` +In CRI-O v1.17+: +```toml +manage_ns_lifecycle = true +``` + ### containerd with CRI plugin