Skip to content

Commit 4d998a3

Browse files
Merge pull request #237478 from MGoedtel/bug101419
updated use-windows-hpc.md
2 parents dce89b3 + 63c658d commit 4d998a3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

articles/aks/use-windows-hpc.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Use Windows HostProcess containers
33
description: Learn how to use HostProcess & Privileged containers for Windows workloads on AKS
44
ms.topic: article
5-
ms.date: 4/6/2022
5+
ms.date: 05/09/2023
66
ms.author: juda
77

88
---
@@ -13,7 +13,6 @@ HostProcess / Privileged containers extend the Windows container model to enable
1313

1414
A privileged DaemonSet can carry out changes or monitor a Linux host on Kubernetes but not Windows hosts. HostProcess containers are the Windows equivalent of host elevation.
1515

16-
1716
## Limitations
1817

1918
* HostProcess containers require Kubernetes 1.23 or greater.
@@ -26,7 +25,6 @@ A privileged DaemonSet can carry out changes or monitor a Linux host on Kubernet
2625
* Resource limits such as disk, memory, and cpu count, work the same way as fashion as processes on the host.
2726
* Named pipe mounts and Unix domain sockets aren't directly supported, but can be accessed on their host path, for example `\\.\pipe\*`.
2827

29-
3028
## Run a HostProcess workload
3129

3230
To use HostProcess features with your deployment, set *hostProcess: true* and *hostNetwork: true*:
@@ -73,7 +71,7 @@ spec:
7371
hostProcess: true
7472
runAsUserName: "NT AUTHORITY\\SYSTEM"
7573
command:
76-
- powershell.exe
74+
- C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
7775
- -command
7876
- |
7977
$AdminRights = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]"Administrator")
@@ -120,6 +118,5 @@ Process has admin rights:
120118

121119
For more information on HostProcess containers and Microsoft's contribution to Kubernetes upstream, see the [Alpha in v1.22: Windows HostProcess Containers][blog-post].
122120

123-
124121
<!-- LINKS - External -->
125122
[blog-post]: https://kubernetes.io/blog/2021/08/16/windows-hostprocess-containers/

0 commit comments

Comments
 (0)