by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 20 2018 20:45

    traviscrist on nl-remove-host-wiki

    (compare)

  • Jun 20 2018 20:45

    traviscrist on master

    feat: remove adding hosts to wi… Merge pull request #3 from codi… (compare)

  • Jun 20 2018 20:45
    traviscrist closed #3
  • Jun 20 2018 20:32
    njlie opened #3
  • Jun 20 2018 20:31

    njlie on nl-remove-host-wiki

    feat: remove adding hosts to wi… (compare)

  • Jun 15 2018 23:03

    njlie on master

    fix: typo (compare)

  • Jun 15 2018 22:07

    njlie on nl-updates

    (compare)

  • Jun 15 2018 18:10

    njlie on master

    feat: more examples (compare)

  • Jun 14 2018 00:19

    njlie on master

    feat: add wiki and mailing list (compare)

  • Jun 13 2018 00:09

    njlie on master

    fix: git url typo (compare)

  • Jun 12 2018 19:17

    njlie on master

    fix: docs use bootstrap nodes i… (compare)

  • Jun 07 2018 21:05

    njlie on master

    feat: host architecture doc (compare)

  • Jun 07 2018 17:09

    njlie on master

    fix: four components -> three c… (compare)

  • Jun 07 2018 00:32

    njlie on master

    fix: proper blog links (compare)

  • Jun 07 2018 00:13

    njlie on master

    fix: broken links Merge branch 'nl-updates' (compare)

  • Jun 07 2018 00:10

    njlie on nl-updates

    fix: broken links (compare)

  • Jun 06 2018 15:50

    njlie on master

    feat: updates to latest codius … Merge pull request #2 from codi… (compare)

  • Jun 06 2018 15:50
    njlie closed #2
  • Jun 06 2018 15:50
    njlie opened #2
  • Jun 06 2018 15:50

    njlie on nl-updates

    feat: updates to latest codius … (compare)

Sidewinder3514
@Sidewinder3514
I did this all on a CentOS 8 deployment
CoraxR
@CoraxR
@Sidewinder3514 I had the same problem. I installed certbot and generated certificate before installation of the codius. And then after just pick location.
by the way you should change your payment pointer from "$ilp... to 'https://ilp..."
Sidewinder3514
@Sidewinder3514
@CoraxR Do you mean fill that in step [+] What is the file path for your SSL certificate? Leave blank to auto-generate certificate.
Filepath:
I did the certbot installation first like in the orignal https://medium.com/codius/how-to-run-your-own-codius-host-42e13afe1fb2
CoraxR
@CoraxR
yes on thet step enter the path : /etc/letsencrypt/live/codius.example.com/fullchain.pem
but with your host name
Sidewinder3514
@Sidewinder3514
@CoraxR @wilsonianb Thank you very much for your support
I think I have an heureka moment
image.png
Brandon Wilson
@wilsonianb
:+1:
Sidewinder3514
@Sidewinder3514
What would be the next step now I have it running?
Brandon Wilson
@wilsonianb
For future reference, you can check the logs of the cert-manager to debug the install failing to generate the certificate
Sidewinder3514
@Sidewinder3514
What is the best possible way to test the codios host actualy works?
I will surely take a look at the logs of the cert-manager
Brandon Wilson
@wilsonianb
You can visit the host's web address and try deploying services to it
Sidewinder3514
@Sidewinder3514
@wilsonianb Another question about Codius. Each contract would use 512 MB of memory. Is this still true?
Brandon Wilson
@wilsonianb
The 512 MB of memory was for the previous hyper.sh version of codius.
The host installer currently uses the default kata-qemu configuration which allocates 2 GB+ per service
https://github.com/kata-containers/documentation/wiki/UserGuide#memory
It's important to note that the new version of codius scales unused services to zero.
opened a related issue codius/codius-operator#18
Sidewinder3514
@Sidewinder3514
Sidewinder3514
@Sidewinder3514
@wilsonianb Concerning "The host installer currently uses the default kata-qemu configuration which allocates 2 GB+ per service" Is it neccesary then to allocate a max mem to every kata-container lower then the standard 2GB?
@wilsonianb Currently my two codius host have these specs:
Sidewinder3514
@Sidewinder3514
2 CPU Cores
4096 MB RAM
200 GB SSD read: 0.03 IOPs / write: 4.50 IOPs
1 IPv4
2 Snaphots
Traffic pool of 20000 GB / month
TCP-monitoring
VPS-mailservices
VPS-Firewall
CentOS 7
and extra's
  • Daily and Weekly automatic backup system
Brandon Wilson
@wilsonianb
it should be possible to change the 2 GB default_memory in /opt/kata/share/defaults/kata-containers/configuration-qemu.toml
I think you would then need to restart k3s (service k3s restart) to make containerd reload the configuration.
I want to try out both kata + firecracker and kata microvm as alternatives which I expect would improve service cold boot times
but for now kata-qemu with its default is the simplest option for the installer
I'm also hoping to have an easy means of installing codius on a GKE cluster with gvisor (instead of kata) as the runtime
https://cloud.google.com/kubernetes-engine/docs/how-to/sandbox-pods
CoraxR
@CoraxR
@Sidewinder3514 do you have ilp pointers from gatehub ? have you entered as "https://ilp.gatehub.wallet ?When I open your hosts with coil sub nothing happens. I mean I see only "Awaiting Web Monetization...
Sidewinder3514
@Sidewinder3514
@CoraxR in the setup in centos7 I have put the pointer in the https format. The payment pointer currently needs to be entered as a URL (https://wallet/user as opposed to $wallet/user). I not done that in the coil website itself. So $ format. Is that what you are trying to say?
Sidewinder3514
@Sidewinder3514
I you go there it's annother message I think?
CoraxR
@CoraxR
I meant I have coil subscription 5$/month. So If i visit your host - I should see token/bearer , some information about how to upload service on your host. Thats what I see on Brandon's hosts test.suidoc.net , proxy.suidoc.net, preview.suidoc.net. And also you should receive small amounts of money( perhaps xrp or else, depends on your paymentpointer) per request your host . But when I visit your host url https://sidewinder.internos.be I see pending message"Awaiting Web Monetization..." and nothing else. Also could you check your balance ? Did you receive some money?
Sidewinder3514
@Sidewinder3514
@CoraxR Sommething is coming in I think
image.png
Gatehub is showing:
@CoraxR But indeed sidewinder.internos.be is showing Awaiting Web Monetization...
and sidewinder2.internos.be nothing
Strange things
@wilsonianb Any clues?
Sidewinder3514
@Sidewinder3514
for the sidewinde2.internos.be I did "systemctl restart k3s.service"
And is now also showing "Awaiting Web Monetization..."
Sidewinder3514
@Sidewinder3514

@CoraxR Sommething is coming in I think

On my Interledger Payment Pointer in my Gatehub wallet

Brandon Wilson
@wilsonianb
Looking at my Coil extension logs, the SPSP request to https://sidewinder.internos.be/.well-known/pay is returning 503
Can you confirm that the receipt verifier pod is running and that the payment_pointer_url is a url (https://ilp.gatehub.net/XXXXXX not $ilp.gatehub.net/XXXXXX) in the the configmap
kubectl describe configmap -n codius-system codius-config
you could also check the receipt-verifier logs
kubectl logs  -n codius-system   receipt-verifier-XXXXX receipt-verifier
Sidewinder3514
@Sidewinder3514
Ok checking the logs
image.png
image.png
This one is for sidewinder.internos.be
image.png
This one is for sidewinder2.internos.be
Looks normal I think?