-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
141 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
## Create your new kubefirst cluster | ||
|
||
Adjust the following command with your GitHub and gcp tokens in addition to the appropriate values for your new platform. | ||
Adjust the following command with your GitHub and Google Cloud tokens in addition to the appropriate values for your new platform. | ||
|
||
```shell | ||
export GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxx | ||
export gcp_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
|
||
kubefirst gcp create \ | ||
kubefirst beta gcp create \ | ||
--alerts-email [email protected] \ | ||
--github-org your-github-org \ | ||
--domain-name your-domain.io \ | ||
--cluster-name kubefirst | ||
``` | ||
|
||
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. | ||
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 gcp cluster. | ||
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. | ||
|
||
If your deployment is not successful, errors and troubleshooting information will be stored in a local log file specified during the installation run. | ||
|
||
![terminal handoff](../../../img/gcp/gitlab/handoff-screen.png) | ||
*add console ui image for kubefirst launch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# gcp Platform Installation | ||
# Google Cloud Platform Installation | ||
|
||
kubefirst generates your cloud native platform from a `helm install` or a `kubefirst` CLI execution. | ||
|
||
|
@@ -10,31 +10,32 @@ kubefirst generates your cloud native platform from a `helm install` or a `kubef | |
- A new GitHub [account](https://docs.github.com/en/get-started/signing-up-for-github/signing-up-for-a-new-github-account) for your `kbot` automation user. | ||
- A GitHub [personal access token](../../../common/git-auth.mdx) for your `kbot` account. | ||
|
||
### gcp Prerequisites | ||
### Google Cloud Prerequisites | ||
|
||
For kubefirst to be able to provision your gcp cloud resources: | ||
For kubefirst to be able to provision your Google Cloud resources: | ||
|
||
- A [gcp account](https://dashboard.gcp.com/signup) in which you are an account owner. | ||
- A publicly routable [DNS](https://www.gcp.com/learn/configure-dns#adding-a-domain-name). | ||
- A [gcp token](https://dashboard.gcp.com/security). | ||
- A [Google Cloud account](https://cloud.google.com) in which you are an account owner. | ||
- A publicly routable [DNS](https://cloud.google.com/dns/docs/overview). | ||
- Generate [Application Default Credentials](https://cloud.google.com/docs/authentication/application-default-credentials#GAC) (ADC) (you could use the [Google Cloud CLI](https://cloud.google.com/sdk/gcloud) with the command `gcloud auth application-default login`) | ||
|
||
## Create your new kubefirst cluster | ||
|
||
Adjust the following command with your GitHub and gcp tokens in addition to the appropriate values for your new platform. | ||
Adjust the following command with your GitHub and Google Cloud credentials file path (it's set to the default for macOS in the code example below) in addition to the appropriate values for your new platform. | ||
|
||
```shell | ||
export GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxx | ||
export gcp_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
kubefirst gcp create \ | ||
export GOOGLE_APPLICATION_CREDENTIALS=$HOME/.config/gcloud/application_default_credentials.json | ||
|
||
kubefirst beta gcp create \ | ||
--alerts-email [email protected] \ | ||
--github-org your-github-org \ | ||
--domain-name your-domain.io \ | ||
--cluster-name kubefirst | ||
``` | ||
|
||
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. | ||
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 gcp cluster. | ||
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. | ||
|
||
If your deployment is not successful, errors and troubleshooting information will be stored in a local log file specified during the installation run. | ||
|
||
|
@@ -51,7 +52,7 @@ If your deployment is not successful, errors and troubleshooting information wil | |
To obtain your 3 initial passwords, run | ||
|
||
```bash | ||
kubefirst gcp root-credentials | ||
kubefirst beta gcp root-credentials | ||
``` | ||
|
||
![terminal handoff](../../../img/common/kubefirst/root-credentials.png) | ||
|
@@ -72,4 +73,4 @@ kubectl get pods -A | |
|
||
### Installed Applications | ||
|
||
To see what is installed by kubefirst, check the [overview page](../../overview.mdx). | ||
To see what is installed by kubefirst, check the [overview page](../../overview.mdx). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
## Create your new kubefirst cluster | ||
|
||
Adjust the following command with your GitHub and gcp tokens in addition to the appropriate values for your new platform. | ||
Adjust the following command with your GitHub and Google Cloud tokens in addition to the appropriate values for your new platform. | ||
|
||
```shell | ||
export GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxx | ||
export gcp_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
|
||
kubefirst gcp create \ | ||
kubefirst beta gcp create \ | ||
--alerts-email [email protected] \ | ||
--git-provider gitlab \ | ||
--gitlab-group your-gitlab-group \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# gcp Platform Installation | ||
# Google Cloud Platform Installation | ||
|
||
kubefirst is the name of our CLI that installs the platform of the same name to your local or cloud environment. | ||
|
||
|
@@ -13,33 +13,33 @@ kubefirst is the name of our CLI that installs the platform of the same name to | |
|
||
> GitLab SaaS offering has limitations that require us to use groups contrary to GitHub which can be use without an organization. | ||
### gcp | ||
### Google Cloud | ||
|
||
For kubefirst to be able to provision your gcp cloud resources: | ||
For kubefirst to be able to provision your Google Cloud resources: | ||
|
||
- A [gcp account](https://dashboard.gcp.com/signup) in which you are an account owner. | ||
- A publicly routable [DNS](https://www.gcp.com/learn/configure-dns#adding-a-domain-name). | ||
- A [gcp token](https://dashboard.gcp.com/security). | ||
- A [Google Cloud account](https://cloud.google.com) in which you are an account owner. | ||
- A publicly routable [DNS](https://cloud.google.com/dns/docs/overview). | ||
- Generate [Application Default Credentials](https://cloud.google.com/docs/authentication/application-default-credentials#GAC) (ADC) (you could use the [Google Cloud CLI](https://cloud.google.com/sdk/gcloud) with the command `gcloud auth application-default login`) | ||
|
||
## Create your new kubefirst cluster | ||
|
||
Adjust the following command with your GitHub and gcp tokens in addition to the appropriate values for your new platform. | ||
Adjust the following command with your GitHub and Google Cloud credentials file path (it's set to the default for macOS in the code example below) in addition to the appropriate values for your new platform. | ||
|
||
```shell | ||
export GITLAB_TOKEN=xxxxxxxxxxxxxxxx | ||
export gcp_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
export GOOGLE_APPLICATION_CREDENTIALS=$HOME/.config/gcloud/application_default_credentials.json | ||
|
||
kubefirst gcp create \ | ||
kubefirst beta gcp create \ | ||
--alerts-email [email protected] \ | ||
--git-provider gitlab \ | ||
--gitlab-group your-gitlab-group \ | ||
--domain-name your-domain.io \ | ||
--cluster-name kubefirst | ||
``` | ||
|
||
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. | ||
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 gcp cluster. | ||
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. | ||
|
||
If your deployment is not successful, errors and troubleshooting information will be stored in a local log file specified during the installation run. | ||
|
||
|
@@ -56,7 +56,7 @@ If your deployment is not successful, errors and troubleshooting information wil | |
To obtain your 3 initial passwords, run | ||
|
||
```bash | ||
kubefirst gcp root-credentials | ||
kubefirst beta gcp root-credentials | ||
``` | ||
|
||
![terminal handoff](../../../img/common/kubefirst/root-credentials.png) | ||
|
@@ -77,4 +77,4 @@ kubectl get pods -A | |
|
||
### Installed Applications | ||
|
||
To see what is installed by kubefirst, check the [overview page](../../overview.mdx). | ||
To see what is installed by kubefirst, check the [overview page](../../overview.mdx). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.