Giter Club home page Giter Club logo

plankton's Introduction

Cover image

Hi there ๐Ÿ‘‹, I'm Adarlan

As a fervent enthusiast of open-source technology and the vibrant DevOps culture, I am driven by a passion for learning, teaching, and advancing the realm of cloud-native infrastructure. My journey as a DevOps Engineer has been marked by a commitment to embracing innovative solutions and fostering collaborative environments.

Portfolio Projects

Plankton: An open-source pipeline orchestration tool that leverages the power of containers to run each job within its own isolated environment. This project is written in Java and shows my abilities with programming, design patterns, containers, and software documentation, in addition to my creativity in implementing complex ideas into practical code solutions.

K8sLab: A collection of IaC modules, CI/CD workflows, and other utilities designed to simplify the provisioning and management of Kubernetes clusters across different environments, including major cloud providers and local setups. It creates a ready-to-use Kubernetes platform bundled with popular open-source tools and example applications. This project exemplifies my proficiency in Kubernetes, AWS, Terraform, GitHub Actions, Argo CD, and other cutting-edge technologies, encapsulating best practices in Cloud Computing, Container Orchestration, Infrastructure-as-Code, and Continuous Integration/Delivery.

plankton's People

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

Watchers

 avatar

plankton's Issues

Limit simultaneous jobs

Each job must be scheduled when the number of running jobs is less than the limit.

When a job is scheduled, all of the jobs that depends on it with condition service_health must also be able to be scheduled.

Directories and files are created with root user

Plankton always create a .plankton directory inside the workspace.
When it is running from within a container, this directory is created with root user.
So, to delete it on the host, you must be a sudo user.

How to run the container with the same user on the host?

I have tried these options:

  • --user 1001:1001
  • -v /etc/passwd:/etc/passwd:ro
  • --group-add docker

But did not work.

Specify target jobs instead of profiles?

Instead of implement profiles, it's better to implement an option to specify the target jobs.
Plankton will only run the target jobs and the jobs they depends on, directly or indirectly.

When all of the target jobs have a final status,
any other service/job running is stopped.

The pipeline succeeds only if all of the target jobs succeed.
The final status of any other job does not matter.

If no target job is specified,
all the jobs are considered target jobs.

If a job is a dependency for other jobs with the condition service_healthy or service_started,
it can not be defined as target job.
It will always be stopped when no more jobs depends on it based on these conditions.

Create jobs dynamically for each item in a file or directory

Example:

services:
  foo-[for each item in examples]:
    image: alpine
    entrypoint:
      - cd ${item}
      - ls -a

It can loop through a directory files or through a file lines.
It automatically adds the variable item or whatever it is called (for each name in names.txt)

Timeout

When the job is started, it should start a timeout countdown thread.
When this thread is finished, the job must be interrupted.

It does not mean "stop the container".
It means stop whatever the job is doing, such as pulling or building image.

Depends on abstract jobs

When a job depends on an abstract jobs (those with name starting with .), this dependency should be replaced by all the concrete jobs that extends the abstract job.

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.