6

You might not need Kubernetes

 4 years ago
source link: https://blog.jessfraz.com/post/you-might-not-need-k8s/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

You might not need Kubernetes

Monday, November 5, 2018 · 2 min read

Table of Contents

I have realized recently that a lot of people think I am just a shill for Kubernetes and I am not. What I have done is write a few blog posts on some interesting problems to be solved in Kubernetes. But I would like to emphasize that those problems are pretty exclusive to the way Kubernetes was designed and you could easily build your own orchestrator without them.

Use Containerd

If you need an example of a custom, minimal orchestrator with containerd you should checkout stellar.

Or see my design doc for a multi-tenant orchestrator.

I’ll let you dive into that in your own time though. Let’s take a new look at a blog post I wrote about Building images securely on Kubernetes.

I feel like I should have more clearly stated how this problem is pretty exclusive to Kubernetes. It’s also not really a hard problem. The hard problem I was solving in that post was not how to build images on Kubernetes but how to build images as an unprivileged user in Linux. That is a hard problem. And a serious problem for companies who don’t allow root on their machines.

The easier choice if all you need to do is build an image and you are already using containerd, is to run buildkit on the same machine and then you can use the buildkit API library to build your dockerfiles.

Or just run docker-in-docker, I have done this for years on my CI with absolutely no problems.

Anyways, the point I am trying to make is you should use whatever is the easiest thing for your use case and not just what is popular on the internet. With complexity comes a steep learning curve and with a massive number of pluggable layers comes yak shaves until the end of time.

Think for yourselves, don’t be sheep.

/img/sheep.gif

Recommend

  • 24
    • 掘金 juejin.im 6 years ago
    • Cache

    [译] You Might Not Use ES6

    原文作者:Addy Osmani 原文链接: es6-equivalents-in-es5 译者:snow 喜欢理由:帮助我们更好的了解 ES6 语法 语法目录 箭头函数 块级作用域 模板字符串 计算属性 解构赋值 默认参数 Iterators 和 Fo

  • 13
    • medium.com 4 years ago
    • Cache

    You Might Not Need Redux

    Responses People often choose Redux before they need it. “What if our app doesn’t scale without it?” Later, developers frown at the indirection Redux introduced to their code. “Why do I have to touch...

  • 15
    • rachelbythebay.com 4 years ago
    • Cache

    Where I started might not be useful to you

    Where I started might not be useful to you Every now and then, people ask what books or other materials I would recommend, and ask for info on what might have helped me along the way. While I've

  • 8
    • rachelbythebay.com 4 years ago
    • Cache

    What works for you might not work for me

    What works for you might not work for me I occasionally get requests for advice regarding how to learn something or other. This is actually a difficult question to answer, since everyone has their own way of integrating new infor...

  • 3

    6 Reasons Cloud Might Not Be What You Think It Is November 5, 2021 James Roe

  • 10

    @ilyoskhujaIlyoskhujaSenior Frontend developerNEWABOUT PAGE

  • 10

    10 Keyboard Shortcuts You Might Not Know! In this post, I will talk about the keyboard shortcuts, every coder needs to master! 1. Clipboard History Without wasting much of time, I will start with the f...

  • 10

    Software Architecture: It Might Not Be What You Think It Is Apr 15, 2022...

  • 1
    • css-irl.info 2 years ago
    • Cache

    Quick Tip: You Might Not Need Calc()

    Quick Tip: You Might Not Need Calc() Mon May 16 2022 Did you know, if you use CSS math functions like...

  • 5
    • driftingin.space 2 years ago
    • Cache

    You might not need a CRDT

    You might not need a CRDTDecember 5, 2022

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK