Closed luigi-bitonti closed 2 months ago
Hello,
node.gke.autopilot
to true
and is your backend set to bpf
?Hi,
Because you are using a custom registry url, you need to work with Google to allowlist the use of this registry url. Until they allow list it the custom registry url in your account, you will be prevented from deploying and keep getting the error message stating such.
I have already worked with Google to make GKE able to retrieve the docker image from our private Registry. So much so that the same image is correctly downloaded by a GKE Standard. The problem is not the download of the image by the kubernetes cluster (this step happens correctly both in GKE Standard and in GKE Autopilot), but it seems to be related to permissions that are set in the deployment and that in GKE Autopilot are not supported.
The permissions that you see in the daemonset have already been allowlisted by Google for GKE Autopilot as part of the partner workload program. See https://cloud.google.com/kubernetes-engine/docs/resources/autopilot-partners
Also, providing an example values yaml file without CID and Secrets, would be helpful.
Hi thanks for the clarification! I opened a case to Google Support to whitelist my repo.
I tried to install Falcon Sensor on GKE Autopilot and this is the output:
Violations details: {"[denied by autogke-default-linux-capabilities]":["linux capability 'SYS_ADMIN,DAC_READ_SEARCH,BPF,PERFMON,SYS_RESOURCE,NET_ADMIN' on container 'falcon-node-sensor' not allowed; Autopilot only allows the capabilities: 'AUDIT_WRITE,CHOWN,DAC_OVERRIDE,FOWNER,FSETID,KILL,MKNOD,NET_BIND_SERVICE,NET_RAW,SETFCAP,SETGID,SETPCAP,SETUID,SYS_CHROOT,SYS_PTRACE'.","linux capability 'SYS_ADMIN,DAC_READ_SEARCH' on container 'init-falconstore' not allowed; Autopilot only allows the capabilities: 'AUDIT_WRITE,CHOWN,DAC_OVERRIDE,FOWNER,FSETID,KILL,MKNOD,NET_BIND_SERVICE,NET_RAW,SETFCAP,SETGID,SETPCAP,SETUID,SYS_CHROOT,SYS_PTRACE'."],"[denied by autogke-disallow-hostnamespaces]":["enabling hostPID is not allowed in Autopilot.","enabling hostIPC is not allowed in Autopilot.","enabling hostNetwork is not allowed in Autopilot."],"[denied by autogke-disallow-privilege]":["container falcon-node-sensor is privileged; not allowed in Autopilot","container init-falconstore is privileged; not allowed in Autopilot"],"[denied by autogke-no-write-mode-hostpath]":["hostPath volume falconstore in container falcon-node-sensor is accessed in write mode; disallowed in Autopilot."]}
The values are hard-coded in daemonset template.