Closed ivanaguilario closed 5 months ago
Hello,
The sidecar shouldn't be used for GKE autopilot. Please use the node sensor instead. Example config:
apiVersion: falcon.crowdstrike.com/v1alpha1
kind: FalconNodeSensor
metadata:
name: falcon-node-sensor
namespace: falcon-operator
spec:
falcon:
tags:
- '${crowdstrike_company_tag}'
trace: info
falcon_api:
client_id: '${crowdstrike_client_id}'
client_secret: '${crowdstrike_client_secret}'
cloud_region: autodiscover
node:
backend: bpf
gke:
autopilot: true
resources:
requests:
cpu: <min 250m | default 750m>
memory: <min 500Mi | default 1.5Gi>
tolerations:
- effect: NoSchedule
operator: Equal
key: kubernetes.io/arch
value: amd64
Hi @redhatrises thanks for your response.
That's what we initially tried but the Node sensor is generating a lot of errors in the logs. From this comment, I assume GCOS is not supported (not sure if there's an update on that).
GKE Autopilot only uses GCOS, and there's no way to change it currently to any other node image unfortunately.
Is that still the case, or are the errors normal and expected? I've attached a log file to the comment so you can see the errors.
Thanks.
I have removed the logs as sensor logs shouldn't be provided via this forum.
I assume GCOS is not supported (not sure if there's an update on that).
GCOS has been supported for a while now using eBPF (not kernel mode). I would check with support if concerned about the log messages as some errors are benign.
For autopilot, the node sensor method should be used instead of the sidecar. https://cloud.google.com/kubernetes-engine/docs/resources/autopilot-partners#allowlisted-partner-workloads
@redhatrises thank you very much for your answers, that's more clear now!
I'll close the issue as it seems that it is indeed working, I was just missing some info about it.
Thanks!
I'm trying to deploy the FalconContainer resource into a GKE Autopilot cluster but seems like Autopilot admission controllers reject the generated deployment.
Here's the manifest I'm trying to deploy:
And I'm getting the following error:
Any ideas on what might be going on?
My guess is the deployment created by the operator is adding some tolerations or affinity selectors containing
node-role.kubernetes.io/master
but I don't see any way to remove them using theFalconContainer
resource.