GithubHelp home page GithubHelp logo

github-developer / self-hosted-runners-anthos Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 8.0 45 KB

GitHub Actions Self Hosted Runners on Anthos GKE

Home Page: https://github.com/github-developer/self-hosted-runners-anthos

License: MIT License

Dockerfile 75.52% Shell 24.48%
anthos github-actions google-cloud

self-hosted-runners-anthos's People

Contributors

bharathkkb avatar imjohnbo avatar jonico avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

self-hosted-runners-anthos's Issues

Prebaking Container Image with Runner

hi @imjohnbo
Got a chance to play around with this today - a couple of questions:

i) Is there a reason why we are not prebaking the runner into the Dockerfile? Runner will also auto update, so even if we bundle an older version, they can get auto updated. Current startup time for this image to become active per pod is 50-60s. I have a prebaked runner which is less than 5s.

ii) Do we have plans to support both an official "DIND" and "regular" version of the runner docker image?

Updating dind image to `docker:stable-dind`

I believe dind image was pinned to docker:18.09-dind because of this:

Starting in 18.09+, the dind variants of this image will automatically generate TLS certificates in the directory specified by the DOCKER_TLS_CERTDIR environment variable.

Source: Docker Hub

Without creating another volumeMount and volume for certs, we can ensure that 18.09+ doesn't run it's TLS cert script by overriding the entrypoint using command: ["dockerd"].

To disable this image behavior, simply override the container command or entrypoint to run dockerd directly (... docker:dind dockerd ... or ... --entrypoint dockerd docker:dind ...).

Source: Docker Hub

Although, I couldn't seem to get docker to run on port 2375 with this, but it avoided creating the certs and wasn't running on 2376. It seemed to just run off the sock and accept connections that way.

This could really be an issue with the docker image, but I just wanted to get some insight based on why the tag was pinned to docker:18.09-dind.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.