How Launch Darkly works
Launch Darkly is a SaaS which allows you to implement feature toggles which allow you to enable or disable some functionality. At CD2022 I had the opportunity to talk with one of the engineers and found out how LD works with a high overview. In essence, LD provides the developer with a library to include in their code. This library talks with LD’s feature toggle panel and gets the state (toggles) of the features. When a feature is toggled, the code from the library returns a string which tells the app that the feature has been turned on. It is then up to the app to interpret the feature toggle with additional functionality.
Day two
Is it safe to run databases on Kubernetes?
I joined a talk from Nicolas Vermande who showed us that Kubernetes operators extract a lot of the responsibility of managing and maintaining the availability of a database from the engineer. Simply put, if you plan on running a database or a stateful workload on kuberntes make sure there’s an operator for it which can handle all the responsibility of maintaining and upgrading that application.
Moving beyond operators on Kubernetes
An interesting concept was presented at CD22 where the authors claim that operators and CRD are a glue logic between our k8s clusters and SaaS providers. Apart from not being scalable on multiple clusters, they’re hard to trust and add unnecessary complexity. Instead of using operators the authors presented a possible future implementation (in Kubernetes) in which the only thing an engineer has to manage is an API resource. The resource will create and provide a URL for the SaaS service which will be exposed and consumed by the apps running on k8s. Essentially, the authors propose the operator logic/code to be deployed, executed and managed on the SaaS provider and the only thing that the engineer will have to manage is the API connection resource thus simplifying the scalability of operators and CRD on multiple clusters.
How to create trusted execution environments in the public cloud?
More than often organizations, especially large enterprises, have difficulty trusting the underlying infrastructure on top of which workloads are executed. Thus adoption of public clouds stagnates. In this case, the author presented 3 possible solutions which can alleviate that anti-trust. The solutions includes the usage MarbleRun , a tool which leverages Intels’ SGX technology to execute the k8s ControlPlane in a trusted environment. Not only that, the author introduced Constellation, a tool which allows you to secure not only the Control Plane but also the workloads which run on top of k8s. The aforementioned tools can be used with a lift-and-shift strategy.
Takeaways
Contaner Days 2022 is a decent international conference and I feel that I did get in touch with current and some future developments in the space on containerized workloads.
Hamburg is the 2nd largest city (by population) in Germany and has a great public transport with lots of options for car, bike and step sharing. There are plenty of things to do during the day and night. Check out the U-boat museum, a real 1970 Russian submarine, if you’re around.
Crossplane from Upbound was a highly praised tool which attempts to abstract infrastructure provisioning from the engineer and make things as seamless as possible. It’s probably the tool I’m going to be exploring next.