Giter VIP home page Giter VIP logo

kubexit's Introduction

Kubexit

fn-kubexit is a mirrored image of karlkfi/kubexit.

Artifactory

The mirrored image is pushed to JFrog Artifactory

Development

Run prepare-for-development.sh. It will create a mirror directory where you will do your patching. Do your changes in mirror, don't do any commits or git add. Run create-patch.sh once done, it will create a patch in patches out of the uncommitted changes in mirror.

https://jfrog.ais.acquia.io/ui/repos/tree/General/devops-pipeline-dev/fn-kubexit

Use case

Kubernetes supports multiple containers in a pod, but there is no current feature to manage dependency ordering, so all the containers (other than init containers) start at the same time. This can cause a number of issues with certain configurations, some of which kubexit is designed to mitigate.

  • Kubernetes jobs run until all containers have exited. If a sidecar container is supporting a primary container, the sidecar needs to be gracefully terminated after the primary container has exited, before the job will end. Kubexit mitigates this with death dependencies.
  • Sidecar proxies (e.g. Istio, CloudSQL Proxy) are often designed to handle network traffic to and from a pod's primary container. But if the primary container tries to make egress call or recieve ingress calls before the sidecar proxy is up and ready, those calls may fail. Kubexit mitigates this with birth dependencies.

Docker pull

docker pull jfrog.ais.acquia.io/devops-pipeline/fn-kubexit:latest

Maintenance

  • Update go.mod dependencies and Dockerfile
  • Keep fork synced with the latest changes of karlkfi/kubexit
  • Commits made to the this forked repo earlier (acquia/fn-kubexit), is applied as a patch.
    • To maintain further, please add more patches to the /patches directory
    git diff origin/<branch> upstream/<branch>  > changes01.patch
    

kubexit's People

Contributors

renishb10 avatar karlkfi avatar acquiaanil avatar dependabot[bot] avatar alexxed avatar remcodm avatar stephpalis avatar blkperl avatar

Watchers

James Cloos avatar  avatar

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.