Giter VIP home page Giter VIP logo

cube's Introduction

Hello ๐Ÿ‘‹

cube's People

Contributors

gdankov avatar herrjulz avatar julz avatar mnitchev avatar smoser-ibm avatar

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cube's Issues

Implement stopStaging handler

The cloud controller sends stop staging request to cube in case staging needs to be stopped. Therefor, the stopStaging handler needs to be implemented.

Make k8s namespace configurable

We need this to be able to re-use a single k8s cluster for two different pipelines.

Pass the name as a parameter to sync process when it is started.

CATs smoke tests should pass

This is a catch-all story to cover the first MVP goal of CF Smoke Tests 'apps' test suite passing

Prerequisites:

  • We will need to figure out how to deal with the lack of loggregator APIs at this point, possibly by forking the CATs to allow the logging to be done directly via kubectl get logs or similar.

Acceptance:

  1. Follow instructions on smoke tests repo pointed at a CF deployed with eirini (following instructions on eirini repo for this), they pass, weeee!

Spike how to get LOGS (Application logs)

Check with Adam (Loggregator) if they have an early piece we could use.

Other options? CF plugin.

What does CATs need to pass WRT logs. (Run them all and report on what fails why)

Implement Run and TPS endpoints

bulk loop works for a demo, but we need to implement immediate endpoints so we don't have to wait for the loop to run to kick off a deployment and so cf apps comes back with the right things

Make a cube-release

should be deployable to CF, this should also allow wiring sync and registry together since we can actually have the networking work between the registry and the syncer (so we can remove the hardcoded busybox).

Recipe: Security of admin user/password

The download of app-bits requires auth. Therefor, the admin user and password are provided as environment variables to the staging jobs on kubernetes. You can lookup the env vars in kubectl describe job, which is very insecure.

The recipe should retrieve credentials from a vault or the like.

Extend TaskDesirer with Cancel (and perhaps Delete?)

@julz @andrew-edgar This is probably not a complete story yet, but we wanted to capture the requirement that came up as part of the discussion in this PR.

TaskDesirer needs to able to cancel (and potentially delete) a task.

In Diego these are documented as DeleteTask and CancelTask.

AC:

  • Deploy CF with Eirini
  • cf push an app that has at least one task (see docs)
  • Cancel the running task
  • Check that the task is no longer running usingcf tasks my-app

/CC @JulzDiverse

Remove description of k8s staging job after it has completed

Right now when a staging succeeded successfully, we leave the job description behind in k8s (because in a generic k8s scenario you might want to start that job again). But in Eirini we never want to run the same staging job again. Instead of leaving cruft behind, we should clean up after ourselves.

Implementation notes:

AC:

  • Stage an app
  • Check k8s that the staging job description is gone

My app should be immediately started when I `cf start` (no waiting for convergence)

Acceptance:

  1. Deploy and enable eirini following instructions on repo
  2. cf push --no-start
  3. cf start
  4. See that the app is immediately started (i.e. deployments created and set to non-zero instance count), where immediately means doesn't wait for convergence loop (this may require a bit of white-box accepting, depending on how quick convergence is)

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.