You are viewing content from a past/completed QCon -

Presentation: Cloud Native Infrastructure With Kubicorn

Track: Tools and Culture: What's Beyond a Stack of Containers?

Location: Pacific DEKJ

Day of week: Tuesday

Slides: Download Slides

Level: Intermediate - Advanced

Persona: Backend Developer, DevOps Engineer

What You’ll Learn

  • Find out about Kubicorn and what infrastructure problems it can solve.
  • Learn about the infrastructure reconciler pattern and what are some of the perils of managing infrastructure.
  • Hear about writing infrastructure software that can solve real problems.

Abstract

Kubicorn is an open source Go project that is aimed an solving the Kubernetes infrastructure problem. The day after the project was open-sourced it had already climbed to the number 1 fastest growing Go project on GitHub. This talk will dicuss the reasoning behind the project and how the core of the tool is developed strictly for cloud native application. We will clearly identify the problem space with existing infrastructure tooling and discuss how Kubicorn satisfies new patterns that can easily be vendored into control loops and operators.

Managing infrastructure via a cloud native application is a ground breaking idea and the project is a shining example of how we can begin to reason about infrastructure in this exciting new cloud native world we are living in. We explore the bootstrap problem of needing infrastructure in place to run the infrastructure management application and look at the importance of atomic infrastructure changes.

We will learn how the tool is a lovely implementation of the infrastructure reconciler pattern defined in my book "Cloud Native Infrastructure" and learn the dangers of managing infrastructure in other ways. The lessons discussed are battle tested and have been proven over time. The audience will gain a rich understanding of what it means to run a cloud native application that manages underlying cloud native infrastructure through concrete examples from the Kubicorn project.

Question: 

What is the focus of the work that you do today?

Answer: 

I'm working today on making the infrastructure layer of the stack better, faster and stronger, particularly in regards to Kubernetes, and how we handle all this noise known as infrastructure bits.

Question: 

What's the motivation for this talk?

Answer: 

This is almost a life goal of mine. I wrote a book on it. I have contributed to Kubernetes for quite some time, and I open sourced this new tool called Kubicorn. This is all work that I've done trying to use software to manage infrastructure. As a DevOps engineer I started my career as a systems administrator, and I've done clicking buttons, writing scripts, infrastructure as code, and I decided to write software that does all of that for me because I'm done dealing with it any other way.

Question: 

What's the meat of this talk, infrastructure automation, or a tool to deal with the infrastructure noise?

Answer: 

Some of my best friends, founders of Kubernetes, said "We won't deal with infrastructure; that is something you get on your own." Ending up with a fragmented community, I decided to write this tool called Kubicorn. That would be the core of the talk. One of the beautiful things about this tool is that it gives you a starting place but it doesn't necessarily give you all of the answers to all of the questions. It has some opinions, it allows you to bring your own implementation along the way. There are eight or nine places where you can plug in out of the box, but if you want to pull out one of those components and replace it with your own, please, by all means, do it.

Question: 

Is there an alternative to Kubicorn in this space?

Answer: 

There is and isn't. There are tools that attempt to solve the same problem as Kubicorn but in a very different way. Kubicorn has this idea of residually running software over time, that you don't really see in the infrastructure land. You might see it in application land. That's one of the reasons Kubernetes is so successful because you have robotics control that reconciles applications state over time, but for infrastructure it's very much a one time throw the ball over the fence, that kind of mentality. Kubicorn has this while loop that runs over and over again to reconcile infrastructure.

Question: 

Are there takeaways for someone who might not be able to use Kubicorn?

Answer: 

The pattern is what really gets me excited. It is this idea of having a loop that runs over and over again. I think it's a lot easier for people to learn about this pattern with a concrete implementation like Kubicorn. And my last slide is going to be all caps: START WRITING INFRASTRUCTURE APPS. Go, do it on your own. I want you to go do this. I want you to learn these lessons, but here's how I did it.

Question: 

Who is the persona that you're talking to?

Answer: 

In my mind there's this fictional grumpy DevOps guy complaining he's been doing this work for 20 years. I want to meet this person and this is who I'm talking to. And I have a little bit of interest in becoming a software engineer because a lot of what I'm prescribing here is this idea that after writing Bash scripts we can take it to the next level and start writing enterprise level applications to solve these problems that we've been working in the past.

Speaker: Kris Nova

Kubernetes Maintainer & Kubicorn Creator

Kris Nova is an open source engineer with an emphasis in containers and the Linux operating. She lives and breathes open source. She believes in advocating for the best interest of the software, and keeping the design process open and honest. She is a backend infrastructure engineer, with roots in Linux, and C. She has a deep technical background in the Go programming language, and has authored many succesful tools in Go. She is a Kubernetes maintainer, and the creator of kubicorn, a successful Kubernetes infrastructure management tool. She organizes a special interest group in Kubernetes, and is a leader in the community. Kris understands the grievances with running cloud native infrastructure via a distributed cloud native application, and is authoring an O'Reilly book on the topic called Cloud Native Infrastructure.

Find Kris Nova at

Last Year's Tracks

  • Monday, 16 November

  • Paths to Production: Deployment Pipelines as a Competitive Advantage

    Deployment pipelines allow us to push to production at ever increasing volume. Paths to production looks at how some of software's most well known shops continuous deliver code.

  • Java, The Platform

    Mobile, Micro, Modular: The platform continues to evolve and change. Discover how the platform continues to drive us forward.

  • Security for Engineers

    How to build secure, yet usable, systems from the engineer's perspective.

  • Modern Data Engineering

    The innovations necessary to build towards a fully automated decentralized data warehouse.

  • Machine Learning for the Software Engineer

    AI and machine learning are more approachable than ever. Discover how ML, deep learning, and other modern approaches are being used in practice by Software Engineers.

  • Inclusion & Diversity in Tech

    The road map to an inclusive and diverse tech organization. *Diversity & Inclusion defined as the inclusion of all individuals in an within tech, regardless of gender, religion, ethnicity, race, age, sexual orientation, and physical or mental fitness.

  • Tuesday, 17 November

  • Architectures You've Always Wondered About

    How do they do it? In QCon's marquee Architectures track, we learn what it takes to operate at large scale from well-known names in our industry. You will take away hard-earned architectural lessons on scalability, reliability, throughput, and performance.

  • Architecting for Confidence: Building Resilient Systems

    Your system will fail. Build systems with the confidence to know when they do and you won’t.

  • Remotely Productive: Remote Teams & Software

    More and more companies are moving to remote work. How do you build, work on, and lead teams remotely?

  • Operating Microservices

    Building and operating distributed systems is hard, and microservices are no different. Learn strategies for not just building a service but operating them at scale.

  • Distributed Systems for Developers

    Computer science in practice. An applied track that fuses together the human side of computer science with the technical choices that are made along the way

  • The Future of APIs

    Web-based API continue to evolve. The track provides the what, how, and why of future APIs, including GraphQL, Backend for Frontend, gRPC, & ReST

  • Wednesday, 18 November

  • Resurgence of Functional Programming

    What was once a paradigm shift in how we thought of programming languages is now main stream in nearly all modern languages. Hear how software shops are infusing concepts like pure functions and immutablity into their architectures and design choices.

  • Social Responsibility: Implications of Building Modern Software

    Software has an ever increasing impact on individuals and society. Understanding these implications helps build software that works for all users

  • Non-Technical Skills for Technical Folks

    To be an effective engineer, requires more than great coding skills. Learn the subtle arts of the tech lead, including empathy, communication, and organization.

  • Clientside: From WASM to Browser Applications

    Dive into some of the technologies that can be leveraged to ultimately deliver a more impactful interaction between the user and client.

  • Languages of Infra

    More than just Infrastructure as a Service, today we have libraries, languages, and platforms that help us define our infra. Languages of Infra explore languages and libraries being used today to build modern cloud native architectures.

  • Mechanical Sympathy: The Software/Hardware Divide

    Understanding the Hardware Makes You a Better Developer