From da46ecc00296fd01fc872b96fed52f27dd0ee462 Mon Sep 17 00:00:00 2001 From: Tomas Touceda Date: Wed, 28 Jul 2021 19:30:03 -0300 Subject: [PATCH] Update FAQs based on lessons learned (#1495) * Update FAQs based on lessons learned * Update docs/2-Deploying/FAQ.md Co-authored-by: Zach Wasserman Co-authored-by: Zach Wasserman --- docs/1-Using-Fleet/FAQ.md | 2 +- docs/2-Deploying/FAQ.md | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/1-Using-Fleet/FAQ.md b/docs/1-Using-Fleet/FAQ.md index c067835af..99e0b6931 100644 --- a/docs/1-Using-Fleet/FAQ.md +++ b/docs/1-Using-Fleet/FAQ.md @@ -35,7 +35,7 @@ No, currently, there’s no way to retrieve the name of the enroll secret with a Typically folks will use some other unique identifier to create labels that distinguish each type of device. As a workaround, [Fleet's manual labels](./2-fleetctl-CLI.md#host-labels) provide a way to create groups of hosts without a query. These manual labels can then be used as targets for queries or query packs. -In the coming months, Fleet will introduce the [Teams feature](https://github.com/fleetdm/fleet/issues/288) to Fleet Basic customers. Teams will allow users to group hosts into teams using their enroll secret. These teams can then be targeted with specific queries, query packs, and configuration. +There is, however, a way to accomplish this even though the answer to the question remains "no": Teams. As of Fleet v4.0.0, you can group hosts in Teams either by enrolling them with a team specific secret, or by transferring hosts to a team. One the hosts you want to target are part of a team, you can create a query and target the team in question. ## How often do labels refresh? Is the refresh frequency configurable? diff --git a/docs/2-Deploying/FAQ.md b/docs/2-Deploying/FAQ.md index 89fc71431..4514a88d9 100644 --- a/docs/2-Deploying/FAQ.md +++ b/docs/2-Deploying/FAQ.md @@ -11,6 +11,7 @@ - [I upgraded my database, but Fleet is still running slowly. What could be going on?](#i-upgraded-my-database-but-fleet-is-still-running-slowly-what-could-be-going-on) - [Why am I receiving a database connection error when attempting to "prepare" the database?](#why-am-i-receiving-a-database-connection-error-when-attempting-to-prepare-the-database) - [Is Fleet available as a SaaS product?](#is-fleet-available-as-a-saas-product) +- [Is Fleet compatible with X flavor of MySQL?](#is-fleet-compatible-with-x-flavor-of-mysql) ## How do I get support for working with Fleet? @@ -74,6 +75,8 @@ This error usually indicates that the Fleet server has run out of file descripto Some deployments may benefit by setting the [`--server_keepalive`](./2-Configuration.md#server_keepalive) flag to false. +This was also seen as a symptom of a different issue: if you're deploying on AWS on T type instances, there are different scenarios where the activity can increase and the instances will burst. If they run out of credits, then they'll stop processing leaving the file descriptors open. + ## I upgraded my database, but Fleet is still running slowly. What could be going on? This could be caused by a mismatched connection limit between the Fleet server and the MySQL server that prevents Fleet from fully utilizing the database. First [determine how many open connections your MySQL server supports](https://dev.mysql.com/doc/refman/8.0/en/too-many-connections.html). Now set the [`--mysql_max_open_conns`](./2-Configuration.md#mysql_max_open_conns) and [`--mysql_max_idle_conns`](./2-Configuration.md#mysql_max_idle_conns) flags appropriately. @@ -97,3 +100,7 @@ fleet prepare db \ ## Is Fleet available as a SaaS product? No. Currently, Fleet is only available for self-hosting on premises or in the cloud. + +## Is Fleet compatible with X flavor of MySQL? + +Fleet is built to run on MySQL 5.7 or above. However, particularly with AWS Aurora, we recommend 2.10.0 and above, as we've seen issues with anything below that.