Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions flyctl/cmd/fly_extensions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,24 @@ title: fly extensions
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions
---

Extensions are additional functionality that can be added to your Fly apps
Provision and manage services from Fly.io extension partners, such as
Tigris object storage, Sentry, Upstash Vector, Arcjet and Wafris, as well as
Fly Kubernetes clusters. Many extensions can be attached to an app, which
then gets the extension's credentials as secrets.

Each extension has its own subcommand, such as `fly ext storage` or
`fly ext sentry`. Most start with a create command.

## Usage
```
fly extensions [command] [flags]
```
## Available Commands
* [arcjet](/flyctl/cmd/fly_extensions_arcjet) - Provision and manage Arcjet
* [kubernetes](/flyctl/cmd/fly_extensions_kubernetes) - Provision and manage Kubernetes clusters
* [sentry](/flyctl/cmd/fly_extensions_sentry) - Setup a Sentry project for this app
* [arcjet](/flyctl/cmd/fly_extensions_arcjet) - Provision and manage Arcjet sites
* [kubernetes](/flyctl/cmd/fly_extensions_kubernetes) - Provision and manage Fly Kubernetes clusters
* [sentry](/flyctl/cmd/fly_extensions_sentry) - Provision and manage Sentry projects
* [storage](/flyctl/cmd/fly_extensions_storage) - Provision and manage Tigris object storage buckets
* [vector](/flyctl/cmd/fly_extensions_vector) - Provision and manage Upstash Vector index
* [vector](/flyctl/cmd/fly_extensions_vector) - Provision and manage Upstash Vector indexes
* [wafris](/flyctl/cmd/fly_extensions_wafris) - Provision and manage Wafris WAFs (Web Application Firewalls)

## Options
Expand Down
7 changes: 4 additions & 3 deletions flyctl/cmd/fly_extensions_arcjet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ title: fly extensions arcjet
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_arcjet
---

Provision and manage Arcjet

Provision and manage Arcjet sites for your Fly apps. Create one with
`fly ext arcjet create`, check it with `fly ext arcjet status`, and open
Arcjet's console with `fly ext arcjet dashboard`.

## Usage
```
Expand All @@ -31,4 +32,4 @@ fly extensions arcjet [command] [flags]
```
## See Also

* [fly extensions](/flyctl/cmd/fly_extensions) - Extensions are additional functionality that can be added to your Fly apps
* [fly extensions](/flyctl/cmd/fly_extensions) - Provision and manage extensions for Fly apps
19 changes: 17 additions & 2 deletions flyctl/cmd/fly_extensions_arcjet_create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,23 @@ title: fly extensions arcjet create
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_arcjet_create
---

Create an Arcjet site
Create an Arcjet site. In an app directory, or with `--app`, the site is
attached to that app, and the command fails if the app already has one.
Otherwise the site belongs to an organization, which you pick from a
list unless you pass `--org` or set FLY_ORG.

The first time you use Arcjet you must accept its terms of service;
`--yes` accepts them, and is required to do so without a terminal. You
may also be asked for a name and region, unless you pass `--name` and
`--region`; `--yes` skips the name prompt but not the region one.
Without a terminal and outside an app, `--org` or FLY_ORG is required
too.

For an app's site, the values Arcjet provides are set as secrets on the
app and its machines restart to pick them up; if the app hasn't been
deployed yet, they take effect on its first deploy. If any of those
secrets already exist, none are set, and the values are printed for you
to set yourself.

## Usage
```
Expand All @@ -30,4 +45,4 @@ fly extensions arcjet create [flags]
```
## See Also

* [fly extensions arcjet](/flyctl/cmd/fly_extensions_arcjet) - Provision and manage Arcjet
* [fly extensions arcjet](/flyctl/cmd/fly_extensions_arcjet) - Provision and manage Arcjet sites
11 changes: 9 additions & 2 deletions flyctl/cmd/fly_extensions_arcjet_dashboard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ title: fly extensions arcjet dashboard
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_arcjet_dashboard
---

Visit the Arcjet dashboard
Open the Arcjet console for a site in your browser, using a sign-in link
from Fly.io. Name the site as an argument, or run the command in an app
directory (or with `--app`) to use the app's site. With `--org`, or with
FLY_ORG set, it opens that organization's Arcjet dashboard instead, even
if you name a site.

If you haven't accepted Arcjet's terms of service yet, you're asked to;
`--yes` accepts them, and is required to do so without a terminal.

## Usage
```
Expand All @@ -27,4 +34,4 @@ fly extensions arcjet dashboard [site_name] [flags]
```
## See Also

* [fly extensions arcjet](/flyctl/cmd/fly_extensions_arcjet) - Provision and manage Arcjet
* [fly extensions arcjet](/flyctl/cmd/fly_extensions_arcjet) - Provision and manage Arcjet sites
10 changes: 8 additions & 2 deletions flyctl/cmd/fly_extensions_arcjet_destroy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ title: fly extensions arcjet destroy
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_arcjet_destroy
---

Permanently destroy an Arcjet site
Permanently destroy an Arcjet site. This can't be undone. Name the site
as an argument, or run the command in an app directory (or with `--app`)
to destroy the app's site.

You're asked to confirm first. Pass `--yes` to skip the prompt; without
a terminal, `--yes` is required. The site's secrets are not removed from
the app; unset them with `fly secrets unset`.

## Usage
```
Expand All @@ -26,4 +32,4 @@ fly extensions arcjet destroy [name] [flags]
```
## See Also

* [fly extensions arcjet](/flyctl/cmd/fly_extensions_arcjet) - Provision and manage Arcjet
* [fly extensions arcjet](/flyctl/cmd/fly_extensions_arcjet) - Provision and manage Arcjet sites
6 changes: 4 additions & 2 deletions flyctl/cmd/fly_extensions_arcjet_list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ title: fly extensions arcjet list
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_arcjet_list
---

List your Arcjet sites
List the Arcjet sites you have access to, with the organization each one
belongs to. Pass `--org` or set FLY_ORG to list only one organization's
sites.

## Usage
```
Expand All @@ -25,4 +27,4 @@ fly extensions arcjet list [flags]
```
## See Also

* [fly extensions arcjet](/flyctl/cmd/fly_extensions_arcjet) - Provision and manage Arcjet
* [fly extensions arcjet](/flyctl/cmd/fly_extensions_arcjet) - Provision and manage Arcjet sites
8 changes: 5 additions & 3 deletions flyctl/cmd/fly_extensions_arcjet_status.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ title: fly extensions arcjet status
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_arcjet_status
---

Show details about an Arcjet site setup

Show an Arcjet site's name, primary region and status. Name the site as
an argument, or run the command in an app directory (or with `--app`) to
use the app's site. When the site is found through an app, the app's
name is shown too.

## Usage
```
Expand All @@ -27,4 +29,4 @@ fly extensions arcjet status [name] [flags]
```
## See Also

* [fly extensions arcjet](/flyctl/cmd/fly_extensions_arcjet) - Provision and manage Arcjet
* [fly extensions arcjet](/flyctl/cmd/fly_extensions_arcjet) - Provision and manage Arcjet sites
9 changes: 5 additions & 4 deletions flyctl/cmd/fly_extensions_kubernetes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ title: fly extensions kubernetes
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_kubernetes
---

Provision and manage Kubernetes clusters

Provision and manage Fly Kubernetes clusters, which are in beta. Create
a cluster with `fly ext k8s create`, which writes a kubeconfig file for
kubectl. Fetch that file again later with `fly ext k8s save-kubeconfig`.

## Usage
```
Expand All @@ -14,7 +15,7 @@ fly extensions kubernetes [command] [flags]
* [create](/flyctl/cmd/fly_extensions_kubernetes_create) - Provision a Kubernetes cluster for an organization
* [destroy](/flyctl/cmd/fly_extensions_kubernetes_destroy) - Permanently destroy a Kubernetes cluster
* [list](/flyctl/cmd/fly_extensions_kubernetes_list) - List your Kubernetes clusters
* [save-kubeconfig](/flyctl/cmd/fly_extensions_kubernetes_save-kubeconfig) - Save the kubeconfig file of your cluster
* [save-kubeconfig](/flyctl/cmd/fly_extensions_kubernetes_save-kubeconfig) - Save a Kubernetes cluster's kubeconfig to a file

## Options

Expand All @@ -30,4 +31,4 @@ fly extensions kubernetes [command] [flags]
```
## See Also

* [fly extensions](/flyctl/cmd/fly_extensions) - Extensions are additional functionality that can be added to your Fly apps
* [fly extensions](/flyctl/cmd/fly_extensions) - Provision and manage extensions for Fly apps
12 changes: 10 additions & 2 deletions flyctl/cmd/fly_extensions_kubernetes_create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@ title: fly extensions kubernetes create
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_kubernetes_create
---

Provision a Kubernetes cluster for an organization
Provision a Fly Kubernetes cluster in an organization, which you pick
from a list unless you pass `--org` or set FLY_ORG. Fly Kubernetes is in
beta. You may also be asked for a name and region, unless you pass
`--name` and `--region`. Without a terminal, pass `--name`, `--region`,
and `--org` or FLY_ORG.

After the cluster is created, its kubeconfig is written to a file named
after the cluster, such as `my-cluster.kubeconfig.yml`, in the current
directory, or to the path given with `--output`, replacing any existing
file. Use it with kubectl to connect to the cluster.

## Usage
```
Expand All @@ -28,4 +36,4 @@ fly extensions kubernetes create [flags]
```
## See Also

* [fly extensions kubernetes](/flyctl/cmd/fly_extensions_kubernetes) - Provision and manage Kubernetes clusters
* [fly extensions kubernetes](/flyctl/cmd/fly_extensions_kubernetes) - Provision and manage Fly Kubernetes clusters
9 changes: 7 additions & 2 deletions flyctl/cmd/fly_extensions_kubernetes_destroy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ title: fly extensions kubernetes destroy
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_kubernetes_destroy
---

Permanently destroy a Kubernetes cluster
Permanently destroy a Fly Kubernetes cluster, given by name as the
argument. This can't be undone.

You're asked to confirm first. Pass `--yes` to skip the prompt; without
a terminal, `--yes` is required. Find cluster names with
`fly ext k8s list`.

## Usage
```
Expand All @@ -24,4 +29,4 @@ fly extensions kubernetes destroy [name] [flags]
```
## See Also

* [fly extensions kubernetes](/flyctl/cmd/fly_extensions_kubernetes) - Provision and manage Kubernetes clusters
* [fly extensions kubernetes](/flyctl/cmd/fly_extensions_kubernetes) - Provision and manage Fly Kubernetes clusters
5 changes: 3 additions & 2 deletions flyctl/cmd/fly_extensions_kubernetes_list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ title: fly extensions kubernetes list
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_kubernetes_list
---

List your Kubernetes clusters
List the Fly Kubernetes clusters you have access to, with each cluster's
organization and primary region.

## Usage
```
Expand All @@ -23,4 +24,4 @@ fly extensions kubernetes list [flags]
```
## See Also

* [fly extensions kubernetes](/flyctl/cmd/fly_extensions_kubernetes) - Provision and manage Kubernetes clusters
* [fly extensions kubernetes](/flyctl/cmd/fly_extensions_kubernetes) - Provision and manage Fly Kubernetes clusters
7 changes: 5 additions & 2 deletions flyctl/cmd/fly_extensions_kubernetes_save-kubeconfig.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ title: fly extensions kubernetes save-kubeconfig
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_kubernetes_save-kubeconfig
---

Save the kubeconfig file of your cluster
Fetch the kubeconfig for the cluster named in the argument and write it
to a file named after the cluster, such as `my-cluster.kubeconfig.yml`,
in the current directory, or to the path given with `--output`. The file
is readable only by you and replaces any existing file at that path.

## Usage
```
Expand All @@ -24,4 +27,4 @@ fly extensions kubernetes save-kubeconfig [cluster name] [flags]
```
## See Also

* [fly extensions kubernetes](/flyctl/cmd/fly_extensions_kubernetes) - Provision and manage Kubernetes clusters
* [fly extensions kubernetes](/flyctl/cmd/fly_extensions_kubernetes) - Provision and manage Fly Kubernetes clusters
9 changes: 5 additions & 4 deletions flyctl/cmd/fly_extensions_sentry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ title: fly extensions sentry
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_sentry
---

Setup a Sentry project for this app

Provision and manage Sentry error-tracking projects for your Fly apps.
Each app can have one project. Create it with `fly ext sentry create`,
then open its errors with `fly ext sentry dashboard`.

## Usage
```
Expand All @@ -13,7 +14,7 @@ fly extensions sentry [command] [flags]
## Available Commands
* [create](/flyctl/cmd/fly_extensions_sentry_create) - Provision a Sentry project for a Fly.io app
* [dashboard](/flyctl/cmd/fly_extensions_sentry_dashboard) - View application errors in the Sentry dashboard
* [destroy](/flyctl/cmd/fly_extensions_sentry_destroy) - Permanently destroy a Sentry project
* [destroy](/flyctl/cmd/fly_extensions_sentry_destroy) - Remove a Sentry project from Fly.io
* [list](/flyctl/cmd/fly_extensions_sentry_list) - List your Sentry projects

## Options
Expand All @@ -30,4 +31,4 @@ fly extensions sentry [command] [flags]
```
## See Also

* [fly extensions](/flyctl/cmd/fly_extensions) - Extensions are additional functionality that can be added to your Fly apps
* [fly extensions](/flyctl/cmd/fly_extensions) - Provision and manage extensions for Fly apps
13 changes: 11 additions & 2 deletions flyctl/cmd/fly_extensions_sentry_create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,17 @@ title: fly extensions sentry create
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_sentry_create
---

Provision a Sentry project for a Fly.io app
Provision a Sentry project for an app. Run the command in an app
directory or pass `--app`; it fails if the app already has a Sentry
project.

The first time you use Sentry you must accept its terms of service;
`--yes` accepts them, and is required to do so without a terminal.

The values Sentry provides are set as secrets on the app and its
machines restart to pick them up; if the app hasn't been deployed yet,
they take effect on its first deploy. If any of those secrets already
exist, none are set, and the values are printed for you to set yourself.

## Usage
```
Expand All @@ -27,4 +36,4 @@ fly extensions sentry create [flags]
```
## See Also

* [fly extensions sentry](/flyctl/cmd/fly_extensions_sentry) - Setup a Sentry project for this app
* [fly extensions sentry](/flyctl/cmd/fly_extensions_sentry) - Provision and manage Sentry projects
9 changes: 7 additions & 2 deletions flyctl/cmd/fly_extensions_sentry_dashboard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ title: fly extensions sentry dashboard
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_sentry_dashboard
---

View application errors in the Sentry dashboard
Open the Sentry dashboard for an app's project in your browser, using a
sign-in link from Fly.io. Run the command in an app directory or pass
`--app`.

If you haven't accepted Sentry's terms of service yet, you're asked to;
`--yes` accepts them, and is required to do so without a terminal.

## Usage
```
Expand All @@ -26,4 +31,4 @@ fly extensions sentry dashboard [flags]
```
## See Also

* [fly extensions sentry](/flyctl/cmd/fly_extensions_sentry) - Setup a Sentry project for this app
* [fly extensions sentry](/flyctl/cmd/fly_extensions_sentry) - Provision and manage Sentry projects
10 changes: 8 additions & 2 deletions flyctl/cmd/fly_extensions_sentry_destroy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ title: fly extensions sentry destroy
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_sentry_destroy
---

Permanently destroy a Sentry project
Remove a Sentry project from Fly.io's records. The project itself is not
deleted from your Sentry account. Name the project as an argument, or
run the command in an app directory (or with `--app`) to use the app's
project.

You're asked to confirm first. Pass `--yes` to skip the prompt; without
a terminal, `--yes` is required.

## Usage
```
Expand All @@ -26,4 +32,4 @@ fly extensions sentry destroy [project-name] [flags]
```
## See Also

* [fly extensions sentry](/flyctl/cmd/fly_extensions_sentry) - Setup a Sentry project for this app
* [fly extensions sentry](/flyctl/cmd/fly_extensions_sentry) - Provision and manage Sentry projects
6 changes: 4 additions & 2 deletions flyctl/cmd/fly_extensions_sentry_list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ title: fly extensions sentry list
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_sentry_list
---

List your Sentry projects
List the Sentry projects you have access to, with the organization each
one belongs to. Pass `--org` or set FLY_ORG to list only one
organization's projects.

## Usage
```
Expand All @@ -25,4 +27,4 @@ fly extensions sentry list [flags]
```
## See Also

* [fly extensions sentry](/flyctl/cmd/fly_extensions_sentry) - Setup a Sentry project for this app
* [fly extensions sentry](/flyctl/cmd/fly_extensions_sentry) - Provision and manage Sentry projects
8 changes: 6 additions & 2 deletions flyctl/cmd/fly_extensions_storage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ title: fly extensions storage
source_url: https://docs.fly.io/flyctl/cmd/fly_extensions_storage
---

Provision and manage Tigris object storage buckets
Provision and manage Tigris object storage buckets. A bucket can be
attached to an app, which then gets the bucket's credentials as secrets,
or belong only to an organization.

Create a bucket with `fly storage create`, and see its settings with
`fly storage status`.

## Usage
```
Expand Down Expand Up @@ -32,4 +36,4 @@ fly extensions storage [command] [flags]
```
## See Also

* [fly extensions](/flyctl/cmd/fly_extensions) - Extensions are additional functionality that can be added to your Fly apps
* [fly extensions](/flyctl/cmd/fly_extensions) - Provision and manage extensions for Fly apps
Loading
Loading