Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Bartek Kus
    @bartekus
    Yeah that's why I thought having azk bind it to a separate uri would be a better idea
    Saito
    @saitodisse
    yep, but if have more than one port you will have to export the port from the dependent system with export_envs: http://docs.azk.io/en/reference/azkfilejs/export_envs.html
    Bartek Kus
    @bartekus
    Do that to the port that
    Saito
    @saitodisse
    Bartek Kus
    @bartekus
    is used by the system so that would allow the other to be assigned to uri and easily accessible by the user
    Saito
    @saitodisse
    so the priim-client will know server ports
    Bartek Kus
    @bartekus
    Exactly
    CJ Lazell
    @cj
    morning. is it possible to access the live process, so you can access the binding.pry in ruby?
    Bartek Kus
    @bartekus
    you could go into the shell and access it from there, try: azk shell followed by you system name
    CJ Lazell
    @cj
    @Bartekus how would I then access it unless azk loads things in screen or tmux?
    Bartek Kus
    @bartekus
    you could execute it like this: azk start<sys-name>-vv && azk logs —follow
    then go to shell to execute whatever other commands you want: azk shell<sys-name>
    or execute them from the console like this: azk shell<sys-name><command>
    Gullit Miranda
    @gullitmiranda
    @cj unfortunately the azk shell still does not have a way to access a container running.
    you can use adocker exec for now.
    example:
    # start system using azk
    azk start [system_name]
    # get id of running container
    adocker ps | grep [system_name]
    #  connecting in running system
    adocker exec $CONTAINER_ID
    CJ Lazell
    @cj
    @gullitmiranda any way to have azk output the ID?
    Gullit Miranda
    @gullitmiranda
    @cj not. the azk does not show the container ID (yet).
    CJ Lazell
    @cj
    @gullitmiranda how would you compare yourselves to http://www.kontena.io/ ?
    Gullit Miranda
    @gullitmiranda
    @cj azk is a tool to orchestrate development environments
    kontena is a tool to deploy your application using container plataform
    CJ Lazell
    @cj
    thank you for the response. azk only pushes to a single DO instance right now, correct?
    Gullit Miranda
    @gullitmiranda
    nope
    CJ Lazell
    @cj
    really? I don't see any load blancing or anything at http://docs.azk.io/en/deploy/
    Gullit Miranda
    @gullitmiranda
    for the DO, there is an image with scripts that automates the process of creation of machines
    http://images.azk.io/#/deploy-digitalocean?_k=p7paz2
    but it is possible to deploy to any machine (based on ubuntu) with ssh access.
    http://images.azk.io/#/deploy?_k=tfcq41
    the focus of the azk is the development environment, but the Azuki will be able to carry it to any cloud service.
    but while the Azuki is not ready, it is possible to use images (as mentioned above) to deploy to where you want it.
    CJ Lazell
    @cj
    I get you... thank you for all the info
    Gullit Miranda
    @gullitmiranda
    example: azukiapp/azk#637
    you are using the azk with Ruby on Rails?
    CJ Lazell
    @cj
    no rails, too bloated :)
    Gullit Miranda
    @gullitmiranda
    interesting, did not know.
    Gullit Miranda
    @gullitmiranda
    worked well with the azk?
    CJ Lazell
    @cj
    yep :)
    Gullit Miranda
    @gullitmiranda
    Cool.
    What are you thinking?
    Slobodan Mišković
    @slobo

    hey folks, is there a quick way to provide a browser access to azk status and azk logs? My ideal would be to have a dashboard that shows a listing of all active manifests (say

    /projects/proj1/Azkfile.js
    /projects/proj2/Azkfile.js
    ...

    and then when clicking in one of them to have a listing of azk status for all systems defined in that Azkfile, and have a tab that will let me stream logs to the browser (say like https://github.com/r7kamura/webtail)

    Gullit Miranda
    @gullitmiranda
    hi @slobo
    for now, do not :cry:
    but the next versions of azk this and other things will be possible
    Slobodan Mišković
    @slobo
    so is this in the works, any eta, or just planning stage?
    Gullit Miranda
    @gullitmiranda
    within a few days we should announce the new backlog.
    with the new backlog we will have an ETA. At the moment is being done on the planning end.
    Slobodan Mišković
    @slobo
    cool, thanks!
    Gullit Miranda
    @gullitmiranda
    but if you want to open already an issue for this, will be of great value
    CJ Lazell
    @cj
    man, I'm going nuts... I have FROM ruby:2.2.4 in my docker file yet I get this error when booting up Your Ruby version is 2.3.0, but your Gemfile specified 2.2.4
    wtf
    Slobodan Mišković
    @slobo
    did you try azk start -B to rebuild the docker image in case azk didnt notice Dockerfile change?
    Gullit Miranda
    @gullitmiranda
    @cj it worked as the tip of @slobo ?
    CJ Lazell
    @cj
    nope, I ended up building my own docker file using ubuntu trusty as the base and installed rbenv that checked a versions.txt file that installed multipule versions of ruby
    Gullit Miranda
    @gullitmiranda
    how is your Azkfile @cj ?
    CJ Lazell
    @cj
    it wasn't an issue with azk, it was some docker thing. loving azk though :)