Less than one month after the first flight, another milestone has been achieved with the open-source container-orchestration system flying on a Dragon Lady aircraft.
On Oct. 16, 2020, a U-2 intelligence gathering aircraft with the 9th Reconnaissance Wing at Beale Air Force Base, California, running a Kubernetes, an open-source container-orchestration system for automating computer application deployment, scaling, and management.
As I’ve explained in detail in a previous article, “Kubernetes is used to deploy and automate microservice-based applications. As opposed to the past when applications were monolithic, current applications are made of collections of services (or micro-services) each one implementing a different feature of the application. For instance, one service in an app is used to implement the search on a website, another one implements the comment section, another one implements the payments and so on. A microservice-based application enables quick and reliable delivery of complex applications and make the change management easier. In fact, each microservices is loosely coupled to the others and can be independently tested, optimized and deployed. This means that developers can test and update the code of a service without touching or affecting the rest of the micro-services. As you may imagine, this approach has significantly shortened the lifecycle of software.”
During the first test, carried out on Sept. 22, Kubernetes was used to pool available on-board computing power: it ran advanced machine learning algorithms on four individual, flight-certified computers.
USAF has used Kubernetes to run Machine Learning across 4 computers on a U-2. Does it matter? Yes. Just think to a future when new features can be made available through SW updates issued with the same frequency as app updates are published on Apple Store: https://t.co/GMNnxNy8ea
— David Cenciotti (@cencio4) October 8, 2020
The second test, saw Kubernetes “update” the code on the U-2. Assistant Secretary of the Air Force for Acquisition, Technology, and Logistics, Will Roper, unveiled some interesting details about this test:
ASKED/ANSWERED. Friday, a @usairforce U-2 spy plane updated code during flight–a military first! Update #2 improved automatic target recognition algorithms. Update #1 was a docker container generating log files. I just got this copy! 😄 “What’s next?” you ask: AI at the edge! pic.twitter.com/GsE8Dpj7l2
— Will Roper (@WILLROP3R) October 19, 2020
With the first update, Kubernetes ran a logging container that wrote some text along with a timestamp in a file (whose fetched output was shown by Toper); the second update saw Kubernetes deploy “improved automatic target recognition algorithms” in an unspecified test application/sensor.
We don’t have the whole details here, so the extent of the “update” is not clear (actually, the deployment of a new container in Kubernetes can be seen more like a configuration update than a code change). Anyway, the achievement of the latest milestone proves that the U.S. Air Force is continuing to advance in its program to give its weapons system the ability to leverage the power of containerization.
Here’s what I wrote in the last article about Kubernetes published here at The Aviationist:
The benefits of microservices orchestration will be significant in the future when there will be aircraft designed to run cloud native software from the beginning.
In fact, the U.S. Air Force and DoD are just conducting a series of tests to validate the concept and prepare to field Kubernetes as well as other Open Source systems on future weapons systems.
With the legacy waterfall process, it might take years for new code to make it all the way from the developers to production. And even then, updates, testing and even security reviews relied heavily on human effort. A waste of time and labour that can be prevented with automation already used in the commercial sector, to accelerate the time to market. In the future, with the proper automation and CI/CD (Continuous Integration/Continuous Development) processes, the U.S. military will be able to make new features/upgrades/fixes available to the warfighters in a similar fashion and frequency as Apple or Google publish an update for your smartphone apps on their public stores.
Noteworthy, Roper himself had the opportunity to fly at 70,000 feet in a TU-2S:
At 70,000 ft, the view is as breathtaking as the harsh environment outside this @usairforce U-2 pressure suit. Thankful for this beautiful blue planet and all who defend it and its freedoms. #breathless pic.twitter.com/oK7ELCGxLW
— Will Roper (@WILLROP3R) October 16, 2020
BTW, if you are interested in the U-2, listen to this +2-hour live interview with Ross Franquemont, a former Dragon Lady pilot, here: