@@ -238,11 +238,11 @@ work between Windows and Linux:
238238The following list documents differences between how Pod specifications work between Windows and Linux:
239239
240240* ` hostIPC ` and ` hostpid ` - host namespace sharing is not possible on Windows
241- * ` hostNetwork ` - There is no Windows OS support to share the host network
241+ * ` hostNetwork ` - [ see below ] ( /docs/concepts/windows/intro#compatibility-v1-pod-spec-containers-hostnetwork )
242242* ` dnsPolicy ` - setting the Pod ` dnsPolicy ` to ` ClusterFirstWithHostNet ` is
243243 not supported on Windows because host networking is not provided. Pods always
244244 run with a container network.
245- * ` podSecurityContext ` ( see below)
245+ * ` podSecurityContext ` [ see below] ( /docs/concepts/windows/intro#compatibility-v1-pod-spec-containers-securitycontext )
246246* ` shareProcessNamespace ` - this is a beta feature, and depends on Linux namespaces
247247 which are not implemented on Windows. Windows cannot share process namespaces or
248248 the container's root filesystem. Only the network can be shared.
@@ -261,6 +261,17 @@ The following list documents differences between how Pod specifications work bet
261261* You cannot enable ` mountPropagation ` for volume mounts as this is not
262262 supported on Windows.
263263
264+ #### Field compatibility for hostNetwork {#compatibility-v1-pod-spec-containers-hostnetwork}
265+
266+ {{< feature-state for_k8s_version="v1.26" state="alpha" >}}
267+
268+ The kubelet can now request that pods running on Windows nodes use the host's network namespace instead
269+ of creating a new pod network namespace. To enable this functionality pass ` --feature-gates=WindowsHostNetwork=true ` to the kubelet.
270+
271+ {{< note >}}
272+ This functionality requires a container runtime that supports this functionality.
273+ {{< /note >}}
274+
264275#### Field compatibility for Pod security context {#compatibility-v1-pod-spec-containers-securitycontext}
265276
266277None of the Pod [ ` securityContext ` ] ( /docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context ) fields work on Windows.
0 commit comments