finalized info_fgrid sync
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
- [Introduction](#introduction)
|
||||
- [Requirements](#requirements)
|
||||
- [Configs Tab](#configs-tab)
|
||||
- [Admin and Workers Tabs](#admin-and-workers-tabs)
|
||||
- [Leader and Workers Tabs](#leader-and-workers-tabs)
|
||||
- [The Domain Name](#the-domain-name)
|
||||
- [Domain Name Example](#domain-name-example)
|
||||
- [How to Know the IP Address](#how-to-know-the-ip-address)
|
||||
@@ -31,10 +31,10 @@ Caprover is a very cool management app for containers based on Docker Swarm.
|
||||
|
||||
It has following benefits :
|
||||
|
||||
- easy to deploy apps (in seconds)
|
||||
- easy to create new apps
|
||||
- super good monitoring
|
||||
- can be extended over the TFGrid
|
||||
- Easy to deploy apps (in seconds)
|
||||
- Easy to create new apps
|
||||
- Super good monitoring
|
||||
- Can be extended over the TFGrid
|
||||
|
||||
## Requirements
|
||||
|
||||
@@ -46,23 +46,51 @@ It has following benefits :
|
||||
|
||||

|
||||
|
||||
- Enter domain for you Caprover instance, Be very careful about the domain name: it needs to be a wildcard domain name you can configure in your chosen domain name system.
|
||||
- Enter domain for you Caprover instance.
|
||||
- Be very careful about the domain name: it needs to be a wildcard domain name you can configure in your chosen domain name system.
|
||||
- Enter password for you Caprover instance.
|
||||
|
||||
If you have more than one SSH keys set, you can click on `Manage SSH keys` to select which one to use for this deployment.
|
||||
|
||||
## Admin and Workers Tabs
|
||||
## Leader and Workers Tabs
|
||||
|
||||
Each deployment will have one leader and there can be many workers. By default, CapRover is deployed on nodes with IPv4.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
Use the Leader and Workers tabs to add nodes to your deployment.
|
||||
|
||||
- Enter a name for the deployment or keep the default name
|
||||
- Select a capacity package:
|
||||
- **Small**: {cpu: 1, memory: 2, diskSize: 25 }
|
||||
- **Medium**: {cpu: 2, memory: 4, diskSize: 50 }
|
||||
- **Large**: {cpu: 4, memory: 16, diskSize: 100 }
|
||||
- Or choose a **Custom** plan
|
||||
- Choose the network
|
||||
- `Mycelium` flag gives the virtual machine a Mycelium address
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the node
|
||||
- Automated
|
||||
- Choose the location of the node
|
||||
- `Region`
|
||||
- `Country`
|
||||
- `Farm Name`
|
||||
- Click on `Load Nodes`
|
||||
- Click on the node you want to deploy on
|
||||
- Manual selection
|
||||
- Select a specific node ID
|
||||
- Click `Deploy`
|
||||
|
||||
Note: Worker nodes only accept SSH keys of RSA format.
|
||||
|
||||
Deployment will take couple of minutes.
|
||||
|
||||
## The Domain Name
|
||||
|
||||
As per the [CapRover documentation](https://caprover.com/docs/get-started.html), you need to point a wildcard DNS entry to the VM IP address of your CapRover instance. You have to do this after having deployed the CapRover instance, otherwise you won't have access to the VM IP address.
|
||||
As per the [CapRover documentation](https://caprover.com/docs/get-started.html), you need to point a wildcard DNS entry to the VM IP address of your CapRover Leader instance. You have to do this after having deployed the CapRover instance, otherwise you won't have access to the VM IP address.
|
||||
|
||||
Let’s say your domain is **example.com** and your subdomain is **subdomain**. You can set **\*.subdomain.example.com** as an A record in your DNS settings to point to the VM IP address of the server hosting the CapRover instance, where **\*** acts as the wildcard. To do this, go to the DNS settings of your domain name registrar, and set a wild card A record entry.
|
||||
|
||||
@@ -97,54 +125,14 @@ Go back to your CapRover weblet and go to the deployment list. Click on `Show De
|
||||

|
||||
|
||||
- The public IPv4 address is visible in here
|
||||
|
||||

|
||||
|
||||
- Now you can configure the domain name (see above, don't forget to point the wildcard domain to the public IP address)
|
||||
|
||||
Click on details if you want to see more details
|
||||
Go to the `JSON` tab to see the Json ouput:
|
||||
|
||||
```json
|
||||
|
||||
{
|
||||
"version": 0,
|
||||
"name": "caprover_leader_cr_156e44f0",
|
||||
"created": 1637843368,
|
||||
"status": "ok",
|
||||
"message": "",
|
||||
"flist": "https://hub.grid.tf/samehabouelsaad.3bot/tf-caprover-main-a4f186da8d.flist",
|
||||
"publicIP": {
|
||||
"ip": "185.206.122.136/24",
|
||||
"gateway": "185.206.122.1"
|
||||
},
|
||||
"planetary": false,
|
||||
"yggIP": "",
|
||||
"interfaces": [
|
||||
{
|
||||
"network": "caprover_network_cr_156e44f0",
|
||||
"ip": "10.200.4.2"
|
||||
}
|
||||
],
|
||||
"capacity": {
|
||||
"cpu": 4,
|
||||
"memory": 8192
|
||||
},
|
||||
"mounts": [
|
||||
{
|
||||
"name": "data0",
|
||||
"mountPoint": "/var/lib/docker",
|
||||
"size": 107374182400,
|
||||
"state": "ok",
|
||||
"message": ""
|
||||
}
|
||||
],
|
||||
"env": {
|
||||
"SWM_NODE_MODE": "leader",
|
||||
"CAPROVER_ROOT_DOMAIN": "apps.openly.life",
|
||||
"PUBLIC_KEY": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/9RNGKRjHvViunSOXhBF7EumrWvmqAAVJSrfGdLaVasgaYK6tkTRDzpZNplh3Tk1aowneXnZffygzIIZ82FWQYBo04IBWwFDOsCawjVbuAfcd9ZslYEYB3QnxV6ogQ4rvXnJ7IHgm3E3SZvt2l45WIyFn6ZKuFifK1aXhZkxHIPf31q68R2idJ764EsfqXfaf3q8H3u4G0NjfWmdPm9nwf/RJDZO+KYFLQ9wXeqRn6u/mRx+u7UD+Uo0xgjRQk1m8V+KuLAmqAosFdlAq0pBO8lEBpSebYdvRWxpM0QSdNrYQcMLVRX7IehizyTt+5sYYbp6f11WWcxLx0QDsUZ/J"
|
||||
},
|
||||
"entrypoint": "/sbin/zinit init",
|
||||
"metadata": "",
|
||||
"description": "caprover leader machine/node"
|
||||
}
|
||||
```
|
||||

|
||||
|
||||
## How to Access the Admin Interface
|
||||
|
||||
|
@@ -30,8 +30,8 @@ __Process__ :
|
||||
- Or choose a **Custom** plan
|
||||
- Choose the network
|
||||
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||||
|
||||
- `Dedicated` flag to retrieve only dedeicated nodes
|
||||
- `Mycelium` flag gives the virtual machine a Mycelium address
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
- `Region`
|
||||
@@ -46,8 +46,8 @@ If you have more than one SSH keys set, you can click on `Manage SSH keys` to se
|
||||
|
||||
After that is done you can see a list of all of your deployed instances
|
||||
|
||||

|
||||

|
||||
|
||||
Click on ***Visit*** to go to the homepage of your Casperlabs instance! The node takes a long time in order for the RPC service to be ready so be patient!
|
||||
|
||||

|
||||

|
@@ -27,8 +27,10 @@
|
||||
- **Medium**: {cpu: 2, memory: 4, diskSize: 50 }
|
||||
- **Large**: {cpu: 4, memory: 16, diskSize: 100 }
|
||||
- Or choose a **Custom** plan
|
||||
|
||||
- `Dedicated` flag to retrieve only dedeicated nodes
|
||||
- Choose the network
|
||||
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||||
- `Mycelium` flag gives the virtual machine a Mycelium address
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
- `Region`
|
||||
|
@@ -40,7 +40,7 @@ Deploy a new full virtual machine on the Threefold Grid
|
||||
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||||
- `Public IPv6` flag gives the virtual machine a Public IPv6
|
||||
- `Planetary Network` to connect the Virtual Machine to Planetary network
|
||||
- `Myceluim` to enable mycelium on the virtual machine
|
||||
- `Mycelium` to enable Mycelium on the virtual machine
|
||||
- `Wireguard Access` to add a wireguard access to the Virtual Machine
|
||||
- `GPU` flag to add GPU to the Virtual machine
|
||||
- To deploy a Full VM with GPU, you first need to [rent a dedicated node](node_finder.md#dedicated-nodes)
|
||||
|
@@ -37,8 +37,8 @@ __Process__ :
|
||||
- Or choose a **Custom** plan
|
||||
- Choose the network
|
||||
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||||
|
||||
- `Dedicated` flag to retrieve only dedeicated nodes
|
||||
- `Mycelium` flag gives the virtual machine a Mycelium address
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
- `Region`
|
||||
|
@@ -39,7 +39,7 @@ __Process__ :
|
||||
- `Public IPv6` flag gives the virtual machine a Public IPv6
|
||||
- `Planetary Network` to connect the Virtual Machine to Planetary network
|
||||
- `Mycelium` flag gives the virtual machine a Mycelium address
|
||||
- `Dedicated` flag to retrieve only dedeicated nodes
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
- `Region`
|
||||
|
@@ -41,7 +41,7 @@ On the TF grid, Kubernetes clusters can be deployed out of the box. We have impl
|
||||
|
||||
## Kubeconfig
|
||||
Once the cluster is ready, you can SSH into the cluster using `ssh root@IP`
|
||||
> IP can be the public IP or the planetary network IP
|
||||
> IP can be the public IP, Mycelium or the Planetary Network IP
|
||||
|
||||
Onced connected via SSH, you can execute commands on the cluster like `kubectl get nodes`, and to get the kubeconfig, you can find it in `/root/.kube/config`
|
||||
|
||||
|
@@ -29,7 +29,10 @@
|
||||
- **Medium**: {cpu: 2, memory: 4, diskSize: 50 }
|
||||
- **Large**: {cpu: 4, memory: 16, diskSize: 100 }
|
||||
- Or choose a **Custom** plan
|
||||
- `Dedicated` flag to retrieve only dedeicated nodes
|
||||
- Choose the network
|
||||
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||||
- `Mycelium` flag gives the virtual machine a Mycelium address
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
- `Region`
|
||||
|
@@ -68,7 +68,7 @@ If you're not sure and just want the easiest, most affordable option, skip the p
|
||||
- Choose the network
|
||||
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||||
- `Mycelium` flag gives the virtual machine a Mycelium address
|
||||
- `Dedicated` flag to retrieve only dedeicated nodes
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
- `Region`
|
||||
|
@@ -29,7 +29,7 @@ This is a simple instance of upstream [Node Pilot](https://nodepilot.tech).
|
||||
- 256 MB of memory
|
||||
- 15 GB of storage
|
||||
|
||||
- `Dedicated` flag to retrieve only dedeicated nodes
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
|
||||
- Choose the location of the node
|
||||
@@ -40,7 +40,7 @@ This is a simple instance of upstream [Node Pilot](https://nodepilot.tech).
|
||||
|
||||
> Or you can select a specific node with manual selection.
|
||||
|
||||
- When using the [flist](https://hub.grid.tf/tf-official-vms/node-pilot-zdbfs.flist) you get a node pilot instance ready out-of-box. You need to get a public ipv4 to get it to works.
|
||||
- When using the [flist](https://hub.grid.tf/tf-official-vms/node-pilot-zdbfs.flist) you get a node pilot instance ready out-of-box. You need to get a public IPv4 to get it to works.
|
||||
|
||||
After that is done you can see a list of all of your deployed instances
|
||||
|
||||
|
@@ -30,13 +30,10 @@
|
||||
- **Medium**: { cpu: 2, memory: 4, diskSize: 100 }
|
||||
- **Large**: { cpu: 4, memory: 16, diskSize: 250 }
|
||||
- Or choose a **Custom** plan
|
||||
|
||||
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||||
- `Public IPv6` flag gives the virtual machine a Public IPv6
|
||||
- `Planetary Network` to connect the Virtual Machine to Planetary network
|
||||
- `Wiregaurd Access` to add a wiregaurd acces to the Virtual Machine
|
||||
- `Dedicated` flag to retrieve only dedeicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the network
|
||||
- `Mycelium` flag gives the virtual machine a Mycelium address
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
- `Region`
|
||||
- `Country`
|
||||
|
@@ -33,8 +33,9 @@
|
||||
- Choose the network
|
||||
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||||
- `Planetary Network` to connect the Virtual Machine to Planetary network
|
||||
- `Mycelium` flag gives the virtual machine a Mycelium address
|
||||
|
||||
- `Dedicated` flag to retrieve only dedeicated nodes
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
- `Region`
|
||||
|
@@ -34,7 +34,9 @@ Static Website is an application where a user provides a GitHub repository URL f
|
||||
- **Medium**: {cpu: 2, memory: 4, diskSize: 100 }
|
||||
- **Large**: {cpu: 4, memory: 16, diskSize: 250 }
|
||||
- Or choose a **Custom** plan
|
||||
|
||||
- Choose the network
|
||||
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||||
- `Mycelium` flag gives the virtual machine a Mycelium address
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
|
@@ -32,8 +32,9 @@
|
||||
- **Medium**: {cpu: 2, memory: 4, diskSize: 100 }
|
||||
- **Large**: {cpu: 4, memory: 16, diskSize: 250 }
|
||||
- Or choose a **Custom** plan
|
||||
|
||||
- `Dedicated` flag to retrieve only dedeicated nodes
|
||||
- Choose the network
|
||||
- `Mycelium` flag gives the virtual machine a Mycelium address
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
- `Region`
|
||||
|
@@ -31,8 +31,10 @@
|
||||
- **Medium**: {cpu: 4, memory: 8, diskSize: 150 }
|
||||
- **Large**: {cpu: 4, memory: 16, diskSize: 250 }
|
||||
- Or choose a **Custom** plan
|
||||
|
||||
- `Dedicated` flag to retrieve only dedeicated nodes
|
||||
- Choose the network
|
||||
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||||
- `Mycelium` flag gives the virtual machine a Mycelium address
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
- `Region`
|
||||
|
@@ -41,10 +41,10 @@
|
||||
- Choose the network
|
||||
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||||
- `Public IPv6` flag gives the virtual machine a Public IPv6
|
||||
- `Planetary Network` to connect the Virtual Machine to Planetary network
|
||||
- `Mycelium` to enable Mycelium on the virtual machine
|
||||
- `Wireguard Access` to add a wireguard access to the Virtual Machine
|
||||
- `Dedicated` flag to retrieve only dedeicated nodes
|
||||
- `Planetary Network` flag gives the virtual machine an Yggdrasil address
|
||||
- `Mycelium` flag gives the virtual machine a Mycelium address
|
||||
- `Wireguard Access` to add a WireGuard acces to the Virtual Machine
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
- `Region`
|
||||
|
@@ -31,8 +31,12 @@
|
||||
- **Medium**: { cpu: 2, memory: 4 , diskSize: 50 }
|
||||
- **Large**: { cpu: 4, memory: 16 , diskSize: 100 }
|
||||
- Or choose a **Custom** plan
|
||||
|
||||
- `Dedicated` flag to retrieve only dedeicated nodes
|
||||
- Choose the network
|
||||
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||||
- `Planetary Network` to connect the Virtual Machine to Planetary network
|
||||
- `Mycelium` to enable Mycelium on the virtual machine
|
||||
- `Wireguard Access` to add a wireguard acces to the Virtual Machine
|
||||
- `Dedicated` flag to retrieve only dedicated nodes
|
||||
- `Certified` flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
- `Region`
|
||||
|
@@ -88,8 +88,8 @@ In this section, we cover the steps to deploy a WordPress instance on the Playgr
|
||||
- Or choose a **Custom** plan
|
||||
|
||||
- Choose the network
|
||||
- **Public IPv4** flag gives the virtual machine a Public IPv4
|
||||
|
||||
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||||
- `Mycelium` to enable Mycelium on the virtual machine
|
||||
- **Dedicated** flag to retrieve only dedicated nodes
|
||||
- **Certified** flag to retrieve only certified nodes
|
||||
- Choose the location of the node
|
||||
|
Reference in New Issue
Block a user