Using spring-boot microservices within kubernetes using native k8s service discovery and label filters

Since we’re migrating our whole netflix-oss cloud native and spring cloud infrastructure to kubernetes we would like to get rid of most netflix-oss dependencies because features like service discovery over eureka which is now provided natively by kubernetes mostly aren’t needed anymore since the netflix-oss stack was build when technologies like kubernetes weren’t born.

In most cases we are also getting rid of client-side-load-balancing over ribbon replacing it by kubernetes (virtual IPs) server-side tcp load-balancers (called services). It’s also possible to use client-side load balancing in kubernetes context furthermore but our real-world-use-cases have shown that in 95% of business and application logic the difference between both mechanisms are so small that they don’t really make any amount of difference having one hop between the calling service and called service. The benefit we get is that we have have dependency-less spring boot microservices and also services based on other technologies all using the same way of communication. You also should have less configuration affort since eureka isn’t needed anymore and the kubernetes default load balancing settings are working really well so rolling-upgrades with zero down-time are even more stable regardless how many pods or replicas of your service you have running. In 5% of the cases where it makes sense to use client-side-load-balancing you can still use it by plugging the corresponding dependencies in. Continue reading →

How to setup an IOTA full node using docker

We’re glad to announce that we are now providing officially IOTA public nodes from germany. Our nodes are in ALPHA stage and might restart or resync sometimes if we need to do maintenance. If that is the case just be patient or switch your wallet node temporary. Because our whole infrastructure is orchestrated via docker and orchestration tools like Rancher or Kubernetes it wasn’t easy to use the existing docker image from iotas IRI (full node, iota reference implementation) because of missing possibility to configure the container by docker environment variables. So we decided to fork IRI and contribute a new configuration system and docker image to the IOTA project. We hope that this will be merged into the official IRI repository soon. Andreas Osowski, core developer at the iota project already confirmed that he will check our pull request the next few days.

 

You can find more information regarding our public node here.

Continue reading →

Top