Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 99e2d13

Browse files
author
Chelsea Mafrica
committed
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 <[email protected]>
1 parent bc22bb8 commit 99e2d13

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

how-to/run-kata-with-k8s.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,17 @@ default_workload_trust = "untrusted"
112112
113113
#### Network namespace management
114114
To enable networking for the workloads run by Kata, CRI-O needs to be configured to
115-
manage network namespaces, by setting the following key to `true`:
115+
manage network namespaces, by setting the following key to `true`.
116+
117+
In CRI-O v1.16:
116118
```toml
117119
manage_network_ns_lifecycle = true
118120
```
121+
In CRI-O v1.17+:
122+
```toml
123+
manage_ns_lifecycle = true
124+
```
125+
119126
120127
### containerd with CRI plugin
121128

0 commit comments

Comments
 (0)