News for hackers. Stuff that matters.
Re:A Tutorial Introduction to Kubernetes by auslander on Thursday July 05, 2018 @09:24AM (#17463043)
Yes, happy to. Which claim you would like to focus on?
Re:A Tutorial Introduction to Kubernetes by gilbetron on Thursday July 05, 2018 @11:34AM (#17464067)
Not the person that originally asked you, but I'm interested in hearing why ditching docker is needed for high volume production. First, what do you consider high volume? After that, what's wrong with docker within that definition?
Re:A Tutorial Introduction to Kubernetes by auslander on Thursday July 05, 2018 @11:39AM (#17464111)
Maxing out your CPU and networking. If you're there, you'll be running many hosts under load balancers. Be it cloud instances or physical machines. Here you have no need for containers. Web servers and backend apps are capable of multi threading.
Re:A Tutorial Introduction to Kubernetes by ianseyer on Thursday July 05, 2018 @04:30PM (#17466552)
You can't just "enable multi threading" in a varietal ecology of software applications and contexts.

Also, this is not an argument _against_ containerization. You make no argument or show any evidence of performance benefits bare v. docker.

Re:A Tutorial Introduction to Kubernetes by barrkel on Thursday July 05, 2018 @06:20PM (#17467360)
We max out our compute about 3% of the time, and run at about 10% load the rest of the time. It's a similar story for memory consumption. And we run this multitenanted, where the max doesn't overlap for different tenants. And we can't move our customer data out of our data centre, so we can't use cloud elastic compute.

It's in this kind of a world that elastic compute provided by a cluster scheduler with efficient packing looks really appealing. And our jobs, while meaty in time and space, are stateless once the initial data is poured in, up until the results pop out - they are big functions, basically. Good match for a stateless container.

So k8s looks quite attractive.

Re:A Tutorial Introduction to Kubernetes by gilbetron on Monday July 09, 2018 @12:53PM (#17491607)
That's ... not even wrong.
Re:A Tutorial Introduction to Kubernetes by ianseyer on Thursday July 05, 2018 @10:24AM (#17463459)
Containers not being good for production.
Re:A Tutorial Introduction to Kubernetes by auslander on Thursday July 05, 2018 @10:51AM (#17463681)
Excellent point :) So. First of all, you'd not have to worry about following, if you don't use containers.

If your app, running in Docker container, is compromised, like PHP webshell, it might try to escape the container. What capabilities you granted for your containers? CAP_SYS_ADMIN, CAP_NET_ADMIN or you have no idea? This is just one example of escaping https://www.twistlock.com/2017/12/27/escaping-docker-contain... and lets talk about namespaces, like user namespace. Is root inside container is a root user on host system?

Does it feels like production ready system?

Re:A Tutorial Introduction to Kubernetes by jacques_chester on Thursday July 05, 2018 @08:04PM (#17467920)
Most operators lock down to the runtime pretty tightly, leaving very few capabilities enabled.

If that's not enough, it's easy enough to ensure that a Pod is scheduled to run by itself in an otherwise unoccupied VM.

If that's not enough, the IaaS providers can be paid extra to ensure yours is the only VM on the physical machine.

You can have the same expensive guarantees, if you need them, but with a uniform control plane for all workloads. That's pretty attractive.

Re:A Tutorial Introduction to Kubernetes by ianseyer on Thursday July 05, 2018 @04:28PM (#17466537)
Yes, it does.

1. Every system has vulnerabilities. You can defend against them.

2. Any improperly configured system can be abused. In particular, the exploit you linked can be completely stopped with a litany of ways. https://news.ycombinator.com/item?id=16030107

Your argument going from "containers are unfit for production, you'll mature out of them one day" to "here's a small, preventable vulnerability" seems more like a security non-sequiter than an actual argument against containerization.

Further, claiming containers are not production ready is empirically and literally negated by them used, in production, by the largest tech companies that have ever existed.

Re:A Tutorial Introduction to Kubernetes by thinkmassive on Thursday July 05, 2018 @11:31AM (#17464042)
If the same compromised app is running natively then the entire system is now compromised. Capabilities and namespaces can be used with or without containers.
Re:A Tutorial Introduction to Kubernetes by auslander on Thursday July 05, 2018 @11:42AM (#17464131)
1. You may have different apps, owned by different owners, running as containers on same underlying host machine.

2. Not running docker means you can lock your httpd by chroot, FreeBSD jail or OpenBSD pledge.