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
When deploying a container with a Windows 10 base image and enabling Azure workload identity, we get the following error when the pods are trying to startup:
MountVolume.SetUp failed for volume "azure-identity-token" : chown c:\var\lib\kubelet\pods\a3abe5b9-5235-498b-acc3-b350bf0d21a0\volumes\kubernetes.io~projected\azure-identity-token\..2023_07_05_08_47_27.1110042648\azure-identity-token: not supported by windows
When we try to enable the sidecars instead (as the application running uses adalsql), AKS is unable to pull the image for the sidecar, stating the following message:
Failed to pull image "mcr.microsoft.com/oss/azure/workload-identity/proxy-init:v1.0.0": rpc error: code = NotFound desc = failed to pull and unpack image "mcr.microsoft.com/oss/azure/workload-identity/proxy-init:v1.0.0": no match for platform in manifest: not found
Environment
Kubernetes version (use kubectl version): v1.26.3
Cloud provider or hardware configuration: Azure
OS (e.g: cat /etc/os-release): Windows 10 - mcr.microsoft.com/windows:1809
The text was updated successfully, but these errors were encountered:
The following issue kubernetes/kubernetes#102849 on the Kubernetes GitHub pages has led me to a solution for the chown xxx: not supported by Windows issue.
When deploying a container with a Windows 10 base image and enabling Azure workload identity, we get the following error when the pods are trying to startup:
MountVolume.SetUp failed for volume "azure-identity-token" : chown c:\var\lib\kubelet\pods\a3abe5b9-5235-498b-acc3-b350bf0d21a0\volumes\kubernetes.io~projected\azure-identity-token\..2023_07_05_08_47_27.1110042648\azure-identity-token: not supported by windows
When we try to enable the sidecars instead (as the application running uses adalsql), AKS is unable to pull the image for the sidecar, stating the following message:
Failed to pull image "mcr.microsoft.com/oss/azure/workload-identity/proxy-init:v1.0.0": rpc error: code = NotFound desc = failed to pull and unpack image "mcr.microsoft.com/oss/azure/workload-identity/proxy-init:v1.0.0": no match for platform in manifest: not found
Environment
kubectl version
): v1.26.3cat /etc/os-release
): Windows 10 - mcr.microsoft.com/windows:1809The text was updated successfully, but these errors were encountered: