koba
04/06/2021, 7:17 PMSELECT * FROM osquery_info
). Has anyone else face this issue? Am I doing something wrong?zwass
koba
04/06/2021, 7:23 PMzwass
zwass
koba
04/06/2021, 7:26 PMkoba
04/06/2021, 7:26 PMarod
04/06/2021, 7:35 PMdocker pull fleetdm/fleet:3.9.0
koba
04/06/2021, 8:26 PM3.10
, But my web-server pods aren't coming up after kubectl apply
koba
04/06/2021, 8:26 PM❯ kubectl get pods
NAME READY STATUS RESTARTS AGE
fleet-cache-redis-master-0 1/1 Running 0 3d11h
fleet-cache-redis-slave-0 1/1 Running 0 3d10h
fleet-cache-redis-slave-1 1/1 Running 9 74d
fleet-database-mysql-75ff9c4fff-ntt7p 1/1 Running 0 3d11h
fleet-prepare-db-rh78r 0/1 Completed 0 5m13s
fleet-webserver-5548999cc6-2rcjk 0/1 CrashLoopBackOff 5 4m43s
fleet-webserver-5548999cc6-57zks 0/1 Pending 0 4m43s
fleet-webserver-5548999cc6-7hnw7 0/1 CrashLoopBackOff 5 4m43s
fleet-webserver-5548999cc6-nq26m 0/1 CrashLoopBackOff 5 4m43s
fleet-webserver-5548999cc6-wsdcv 0/1 Pending 0 4m43s
zwass
koba
04/07/2021, 3:53 AMfleet-migrations.yml
❯ cat fleet-migrations.yml
apiVersion: batch/v1
kind: Job
metadata:
name: fleet-prepare-db
spec:
template:
metadata:
name: fleet-prepare-db
spec:
containers:
- name: fleet
image: fleetdm/fleet:latest
command: ["fleet", "prepare", "db"]
env:
- name: FLEET_MYSQL_ADDRESS
value: fleet-database-mysql:3306
- name: FLEET_MYSQL_PASSWORD
valueFrom:
secretKeyRef:
name: fleet-database-mysql
key: mysql-password
restartPolicy: Never
backoffLimit: 4
koba
04/07/2021, 5:19 AMfleet-deployment.yml
koba
04/07/2021, 5:20 AMkoba
04/07/2021, 5:22 AMselect * from osquery_info
and this is what i getkoba
04/07/2021, 4:21 PM0 out of 0 online hosts responding
...which is definitely not true because there were some 500+ hosts online at that point.zwass
koba
04/08/2021, 6:44 PMDo hosts show up in the All Hosts label when you are on the home page?Yes.
koba
04/08/2021, 6:45 PMDoes it work consistently when targeting a single host?Yes. Fails to establish web socket connection and show any results for the same host during multiple attempts.
koba
04/08/2021, 6:46 PMkoba
04/08/2021, 6:47 PMzwass
koba
04/08/2021, 6:54 PMkoba
04/08/2021, 6:54 PMkoba
04/08/2021, 7:01 PMIt does try to fall back to XHR instead of websocketsBut does that help though? Because I still didn't see any results...
zwass
koba
04/09/2021, 12:25 PMreplicas: 1
in my fleet-deployment.yml
. Any thing more that 1, XHR fallback fails with 404.zwass