letsbuilders / jsonnet-libs Goto Github PK
View Code? Open in Web Editor NEWA collection of Jsonnet libraries used by LetsBuild
A collection of Jsonnet libraries used by LetsBuild
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:
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:
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.
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
.
We use a far amount of custom implementations of Custom Resources for strimzi, crossplane, prometheus. We could alternatively use implementations generated by k8s-gen https://github.com/jsonnet-libs
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.