mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-21 17:01:35 +00:00
copy mintnet-kubernetes from https://github.com/tendermint/mintnet-kubernetes
This commit is contained in:
13
mintnet-kubernetes/docs/SETUP_K8S_ON_DO.md
Normal file
13
mintnet-kubernetes/docs/SETUP_K8S_ON_DO.md
Normal file
@ -0,0 +1,13 @@
|
||||
# Setup a Kubernetes cluster on Digital Ocean (DO)
|
||||
|
||||
Available options:
|
||||
|
||||
1. [kubeadm (alpha)](https://kubernetes.io/docs/getting-started-guides/kubeadm/)
|
||||
2. [kargo](https://kubernetes.io/docs/getting-started-guides/kargo/)
|
||||
3. [terraform](https://github.com/hermanjunge/kubernetes-digitalocean-terraform)
|
||||
|
||||
As you can see, there is no single tool for creating a cluster on DO.
|
||||
Therefore, choose the one you know and comfortable working with. If you know
|
||||
and used [terraform](https://www.terraform.io/) before, then choose it. If you
|
||||
know Ansible, then pick kargo. If none of these seem familiar to you, go with
|
||||
kubeadm.
|
31
mintnet-kubernetes/docs/SETUP_K8S_ON_GCE.md
Normal file
31
mintnet-kubernetes/docs/SETUP_K8S_ON_GCE.md
Normal file
@ -0,0 +1,31 @@
|
||||
# Setup a Kubernetes cluster on Google Cloud Engine (GCE)
|
||||
|
||||
Main article: [Running Kubernetes on Google Compute
|
||||
Engine](https://kubernetes.io/docs/getting-started-guides/gce/)
|
||||
|
||||
## 1. Create a cluster
|
||||
|
||||
The recommended way is to use [Google Container
|
||||
Engine](https://cloud.google.com/container-engine/) (GKE). You should be able
|
||||
to create a fully fledged cluster with just a few clicks.
|
||||
|
||||
## 2. Connect to it
|
||||
|
||||
Install `gcloud` as a part of [Google Cloud SDK](https://cloud.google.com/sdk/).
|
||||
|
||||
Make sure you have credentials for GCloud by running `gcloud auth login`.
|
||||
|
||||
In order to make API calls against GCE, you must also run `gcloud auth
|
||||
application-default login`
|
||||
|
||||
Press `Connect` button:
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
and execute the first command in your shell. Then start a proxy by
|
||||
executing `kubectl proxy`.
|
||||
|
||||
Now you should be able to run `kubectl` command to create resources, get
|
||||
resource info, logs, etc.
|
Reference in New Issue
Block a user