From 735f098fb3f8478da269b7ea25a875cdf507efa8 Mon Sep 17 00:00:00 2001 From: criamico Date: Wed, 6 Sep 2023 15:50:37 +0200 Subject: [PATCH 1/2] [Fleet] Readme improvements --- x-pack/plugins/fleet/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/x-pack/plugins/fleet/README.md b/x-pack/plugins/fleet/README.md index b4a14c83ff986..c87a73bdf90f5 100644 --- a/x-pack/plugins/fleet/README.md +++ b/x-pack/plugins/fleet/README.md @@ -67,6 +67,14 @@ yarn kbn bootstrap #### Useful tips +To avoid the enforcing of version headers when running in dev mode, add the following to your `kibana.dev.yml`: + +``` +server.versioned.versionResolution: oldest +``` +This will provide a default version for the public apis. + + If Kibana fails to start, it is possible that your local setup got corrupted. An easy fix is to run: ``` @@ -81,6 +89,7 @@ To avoid losing all your data when you restart Elasticsearch, you can provide a Refer to the [Running Elasticsearch during development](https://www.elastic.co/guide/en/kibana/current/running-elasticsearch.html) page of the guide for other options. + ### Running Fleet Server Locally in a Container It can be useful to run Fleet Server in a container on your local machine in order to free up your actual "bare metal" machine to run Elastic Agent for testing purposes. Otherwise, you'll only be able to a single instance of Elastic Agent dedicated to Fleet Server on your local machine, and this can make testing integrations and policies difficult. From 9685b5748f89a3117eb4944a12b72824e9a5a277 Mon Sep 17 00:00:00 2001 From: criamico Date: Wed, 6 Sep 2023 15:53:45 +0200 Subject: [PATCH 2/2] remove line --- x-pack/plugins/fleet/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/x-pack/plugins/fleet/README.md b/x-pack/plugins/fleet/README.md index c87a73bdf90f5..ebe65d77e3bbf 100644 --- a/x-pack/plugins/fleet/README.md +++ b/x-pack/plugins/fleet/README.md @@ -89,7 +89,6 @@ To avoid losing all your data when you restart Elasticsearch, you can provide a Refer to the [Running Elasticsearch during development](https://www.elastic.co/guide/en/kibana/current/running-elasticsearch.html) page of the guide for other options. - ### Running Fleet Server Locally in a Container It can be useful to run Fleet Server in a container on your local machine in order to free up your actual "bare metal" machine to run Elastic Agent for testing purposes. Otherwise, you'll only be able to a single instance of Elastic Agent dedicated to Fleet Server on your local machine, and this can make testing integrations and policies difficult.