Code Monkey home page Code Monkey logo

jsonnet-libs's People

Contributors

awais-letsbuild avatar patthesilent avatar paulrostorp avatar yuriibudnyi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

jsonnet-libs's Issues

Configurable tolerations

We're forced to have a taint on spot instances on Azure clusters:

taints:
  - key: kubernetes.azure.com/scalesetpriority
    value: spot
    effect: NoSchedule

This means that if we want to run Pods on those the pods need to tolerate that taint. We want to run our Pods on spot instances as much as we can to save costs. Because our library doesn't currently support setting tolerations or affinities we add them to deployments by overriding them like here. This is a very crude approach and we should rather have it configurable with options defined in the _config object.

TODO:

  • add support for configuring tolerations
  • update all services that currently use overrides

Configurable Pod Affinities

We'd like to be able to easily configure pod affinities. We'd also like to prevent multiple Pods of the same deployment get scheduled onto the same node.

TODO:

  • add support for configuring pod affinities
  • add a default anti-affinity config that will suggest the scheduler not to put pods of the same deployment on one node.

replicas field of resources is always hidden

Initially, HPA behavior was controlled by the existence of these fields:

  • _config.deployment.autoscaling
  • _config.statefulSet.autoscaling

but since #60 this field always exists because it contains default policies.
Due to that the replicas field is always hidden and if you want to set a fixed amount of replicas you need to "unhide" it, which is counter-intuitive.

withTtlSecondsAfterFinished doesn't work

job.mixin.spec.withTtlSecondsAfterFinished(180) which we add to Jobs doesn't work because the feature is hidden behind a feature gate that we don't have enabled.
EKS clusters don't have the option to enable feature gates on demand, so we'll most likely need to find different ways of cleaning up Jobs.

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.