Skip to content

Instantly share code, notes, and snippets.

@tyrion70
Created November 27, 2019 19:15
Show Gist options
  • Select an option

  • Save tyrion70/184e8c14bbe08a878d3aed941c95f0ac to your computer and use it in GitHub Desktop.

Select an option

Save tyrion70/184e8c14bbe08a878d3aed941c95f0ac to your computer and use it in GitHub Desktop.
# To check if your Akash provider is happily accepting your requests follow the following steps..
# first the correct riot.yml. Use the below riot.yml and change your moniker and region accordingly. Thats all it takes to deploy to your moniker:
To deploy this use the following code:
```
akash deployment create riot.yml -k keyname
```
While doing this, check the logging of your akash container in another window:
```
kubectl logs -l app=akash-provider -f
```
#You should see a line in the logging like
```
D[2019-11-27|19:12:52.108] reservation requested module=provider-cluster app=akash cmp=service cmp=inventory-service order=3e621940dd67694e81466eadebc95995dfad1993a9402ff75d5d8232c351d598/1/2 resources="id:<deployment:\">b\\031@\\335giN\\201Fn\\255\\353\\311Y\\225\\337\\255\\031\\223\\251@/\\367]]\\2022\\303Q\\325\\230\" seq:1 > name:\"global\" orderTTL:5 requirements:<name:\"moniker\" value:\"chainlayer\" > requirements:<name:\"region\" value:\"sfo\" > resources:<unit:<CPU:10 memory:67108864 disk:250000000 > count:1 price:500 > "
```
If you then see an error: Key provider not found you need to redeploy your akash container using the guide in this gist:
https://gist.github.com/tyrion70/cf0f593ff6ac99f59f64ccdc087a4dad
---
version: "1.0"
services:
web:
image: bubuntux/riot-web
expose:
- port: 80
to:
- global: true
profiles:
compute:
web:
cpu: "0.25"
memory: "512Mi"
disk: "1G"
placement:
global:
attributes:
moniker: chainlayer
region: sfo
pricing:
web: 500u
deployment:
web:
global:
profile: web
count: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment