Skip to content

Commit

Permalink
docs: add info about the new Cloudflare DNS flag (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
fharper authored Jul 26, 2023
1 parent eaa2938 commit d4091c1
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/aws/partials/github/_cluster-create.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import CloudflareDNS from "@site/docs/common/partials/common/_cloudflare-dns.mdx";

## Create your new kubefirst cluster

Adjust the following command with your GitHub token in addition to the appropriate values for your new platform.
Expand All @@ -11,3 +13,5 @@ kubefirst aws create \
--cluster-name kubefirst-mgmt \
--github-org your-github-organization-name
```

<CloudflareDNS />
4 changes: 4 additions & 0 deletions docs/aws/partials/gitlab/_cluster-create.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import CloudflareDNS from "@site/docs/common/partials/common/_cloudflare-dns.mdx";

## Create your new kubefirst cluster

Adjust the following command with your GitLab token in addition to the appropriate values for your new platform.
Expand All @@ -12,3 +14,5 @@ kubefirst aws create \
--domain-name your-domain.io \
--cluster-name kubefirst
```

<CloudflareDNS />
4 changes: 4 additions & 0 deletions docs/civo/partials/github/_cluster-create.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import CloudflareDNS from "@site/docs/common/partials/common/_cloudflare-dns.mdx";

## Create your new kubefirst cluster

Adjust the following command with your GitHub and Civo tokens in addition to the appropriate values for your new platform.
Expand All @@ -13,6 +15,8 @@ kubefirst civo create \
--cluster-name kubefirst
```

<CloudflareDNS />

The kubefirst CLI will produce a directory of utilities, a state file, and some staged platform content that can now be found in the `~/.kubefirst` and `~/.k1` folders on your local machine.

After the ~10 minute installation, your browser will launch a new tab to the [kubefirst Console](https://github.com/kubefirst/console), which will help you navigate your new suite of tools running in your new Civo cluster.
Expand Down
4 changes: 4 additions & 0 deletions docs/civo/partials/gitlab/_cluster-create.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import CloudflareDNS from "@site/docs/common/partials/common/_cloudflare-dns.mdx";

## Create your new kubefirst cluster

Adjust the following command with your GitHub and Civo tokens in addition to the appropriate values for your new platform.
Expand All @@ -13,3 +15,5 @@ kubefirst civo create \
--domain-name your-domain.io \
--cluster-name kubefirst
```

<CloudflareDNS />
9 changes: 9 additions & 0 deletions docs/common/partials/common/_cloudflare-dns.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
:::tip

By default kubefirst use the cloud providers to manage DNS. You also have the option to use Cloudflare.

To do so, add the `dnsProvider` flag with the value `cloudflare` to your create command `—dnsProvider cloudflare`.

You also need to set the `CF_API_TOKEN` environment variable with a Cloudflare token (`export CF_API_TOKEN=xxxxxxxxx`) having the `Zone.Zone`, and `Zone.DNS` edit permission. More information on Cloudflare token creation [in their documentation](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/).

:::
4 changes: 4 additions & 0 deletions docs/gcp/partials/github/_cluster-create.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import CloudflareDNS from "@site/docs/common/partials/common/_cloudflare-dns.mdx";

## Create your new kubefirst cluster

Adjust the following command with your GitHub and Google Cloud tokens in addition to the appropriate values for your new platform.
Expand All @@ -13,6 +15,8 @@ kubefirst beta gcp create \
--cluster-name kubefirst
```

<CloudflareDNS />

The kubefirst CLI will produce a directory of utilities, a state file, and some staged platform content that can now be found in the `~/.kubefirst` and `~/.k1` folders on your local machine.

After the ~10 minute installation, your browser will launch a new tab to the [kubefirst Console](https://github.com/kubefirst/console), which will help you navigate your new suite of tools running in your new Google Cloud cluster.
Expand Down
4 changes: 4 additions & 0 deletions docs/gcp/partials/gitlab/_cluster-create.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import CloudflareDNS from "@site/docs/common/partials/common/_cloudflare-dns.mdx";

## Create your new kubefirst cluster

Adjust the following command with your GitHub and Google Cloud tokens in addition to the appropriate values for your new platform.
Expand All @@ -13,3 +15,5 @@ kubefirst beta gcp create \
--domain-name your-domain.io \
--cluster-name kubefirst
```

<CloudflareDNS />
4 changes: 4 additions & 0 deletions docs/vultr/partials/github/_cluster-create.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import CloudflareDNS from "@site/docs/common/partials/common/_cloudflare-dns.mdx";

## Create your new kubefirst cluster

Adjust the following command with your GitHub and Vultr key in addition to the appropriate values for your new platform.
Expand All @@ -13,6 +15,8 @@ kubefirst beta vultr create \
--cluster-name kubefirst
```

<CloudflareDNS />

The kubefirst CLI will produce a directory of utilities, a state file, and some staged platform content that can now be found in the `~/.kubefirst` and `~/.k1` folders on your local machine.

After the ~10 minute installation, your browser will launch a new tab to the [kubefirst Console](https://github.com/kubefirst/console), which will help you navigate your new suite of tools running in your new Vultr cluster.
Expand Down
4 changes: 4 additions & 0 deletions docs/vultr/partials/gitlab/_cluster-create.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import CloudflareDNS from "@site/docs/common/partials/common/_cloudflare-dns.mdx";

## Create your new kubefirst cluster

Adjust the following command with your GitHub and Vultr tokens in addition to the appropriate values for your new platform.
Expand All @@ -13,3 +15,5 @@ kubefirst beta vultr create \
--domain-name your-domain.io \
--cluster-name kubefirst
```

<CloudflareDNS />

0 comments on commit d4091c1

Please sign in to comment.