Guides Philips Hue Uses Kubernetes to Keep the Lights On

Philips Hue Uses Kubernetes to Keep the Lights On




BERLIN — The open-source Kubernetes container management and orchestration system isn’t just for hyperscale data center operators, it can also benefit consumer electronics vendors. Speaking at the Kubecon / CloudNative EU conference in Berlin this week, Mark Van Straten, Senior Developer at development firm Q42, detailed how Philips embraced Kubernetes to help enable the next generation of the Philips Hue smart light bulb product.

Van Straten told the audience he attended a Kubecon conference in 2015 to make a technical assessment of Kubernetes. At the time, the Philips Hue KubernetesKubernetes 1.2 release was current and Van Straten was looking to see if there were organizations that were actually running Kubernetes in production. What he found was at the time, production deployments of Kubernetes were few and far between.

Though there were not many production deployments, Van Straten was impressed by the passion of the developer community and the direction the Kubernetes project was headed. As a result, in the summer of 2016, Van Straten helped to build the Kubernetes system that now literally helps Philips to keep thousands of lightbulbs on (and off) around the world.

Van Straten explained that the original deployment of Philips Hue back in 2012 made use of the Google App Engine (GAE) for its cloud backend. That system today has now largely migrated over to Kubernetes and Google Container Engine (GCE).

The Transition from Google App Engine to Kubernetes and GCE

The Philips Hue backend has not been re-architected in a microservices approach with Kubernetes. Van Straten explained that all requests now go through the Huge Cloud API, which is run as a Kubernetes service.

From there, the system routes traffic through a token validation system and backend notifier, connected to a bridge websocket API and a bridge HTTP API. Finally, the bridge API communicates with the Philips Hue hub, which in turn controls the actual lightbulbs in a consumer’s home.

Philips recently updated its Hue hub and Van Straten commented that it is now more powerful and is able to make a persistent websocket connection, decreasing the overall latency of the system.

While there are still some pockets of virtual machine legacy infrastructure in place, Van Straten emphasized that the goal and direction is to offload most of the traffic to the Kubernetes microservices approach.

Perhaps the most impressive benefit of the migration to Kubernetes is the operational efficiency. Van Straten said the Philips Hue Kubernetes system is functionally maintained by a team of only five developers.

Resolving the Kubernetes Pain Point for Philips

Moving to Kubernetes was not without its own set of challenges. For one, Van Straten noted that Philips had to move to a DevOps culture and measure everything. He’s hopeful that the Kubernetes cluster federation will mature in the month ahead as well, as he currently sees that as a pain point for Philips.

“We have experienced that Kubernetes is great at resource allocation and lifecycle management to help us build true microservices,” Van Straten said.

“Every Kubernetes release has felt like a gift to us, full of new features,” he added.

Sean Michael Kerner is a senior editor at ServerWatch and InternetNews.com. Follow him on Twitter @TechJournalist.

Latest Posts

How to Convert a Physical Computer to a Virtual Machine

Many organizations are implementing virtualization technology into their networks to convert physical computers to virtual machines (VM). This helps reduce overall physical hardware costs,...

HPE ProLiant DL380 Gen10: Rack Server Overview and Insight

The HPE ProLiant DL380 series has consistently been a market leader in the server space. The Gen10 released in 2017 further increased HPE's market...

Best Server Management Software & Tools 2021

Finding the best server management software tools for your organization can have a major impact on the success of your business operations. Manually handling...

IBM AS/400: Lasting the Test of Time

Some server operating systems (OS) were built to survive the test of time – the IBM AS/400 is one such system.  The AS/400 (Application System/400)...

What is Disaster Recovery?

The modern organization's heavy dependence on using data to drive their business has made having a Disaster Recovery (DR) plan in place a necessity....

Related Stories