GKE hostprocess pod could not deployed due to windows admission webhook

Hi, I was trying to deploy windows pod on windows nodepool with hostprocess.

I have faced that issue : Error creating: admission webhook “windows.common-webhooks.networking.gke.io” denied the request : [spec.hostNetwork: invalid value: true windows does not support this field.

Could you help me for that issue?

Which GKE version are you using?

Unfortunately, GKE does not currently support Windows HostProcess pods. Please open a feature request here. This will help prioritize this.

2 Likes

I have tested those versions: 1.27.3-gke.100 and 1.24.15-gke.1700

Hey, I’m also facing similar error “Error creating: admission webhook “windows.common-webhooks.networking.gke.io” denied the request: [spec.hostNetwork: Invalid value: true: Windows does not support this field. Note that defaults may be allowed for compatibility., spec.hostPID: Invalid value: true: Windows does not support this field. Note that defaults may be allowed for compatibility.]”

gke cluster version is 1.30.6-gke.1125000

GKE still does not support HostProcess pods on Windows nodes.

1 Like