Live data from Hacker News

Kubernetes for Developers Who Know How to Develop

blog.ali.dev

91–100 of 106 posts

Re: Kubernetes for Developers Who Know How to Develop

#91
post #28

the problem I have with k8s or whole concept of "cloud native" is it almost ONLY focus on web based application, if your application is not HTTP based or "stateless", it is very hard to run or design to be "cloud native" , specially in a managed k8s service(like eks/aks).

If you need to run stateful applications take a look at Service Fabric. It has it quirks but we are running it in production and we are pretty happy with it so far.

Re: Kubernetes for Developers Who Know How to Develop

#92

Earlier quoted context omitted.

if you're at the size of needing K8S, you can afford a devops/cloud engineering team. To OP's point, this seems to be a trend among corporate blogs. Targeting devs with irrelevant content. A few weeks back I remember seeing a "SOC 2 for devs" blog article and was really scratching my head. That's not the level that devs work at, at all. If you're paying six figure salaries to devs to sit around all day worrying about…

No. Kubernetes is extremely valuable to small orgs. Google Kubernetes Engine is pretty much fire & forget. You turn it on, set the maintenance window and it just works. It also saves you from having to reinvent health checks, ingresses, etc. It's actually less work than maintaining plain old servers when you factor in maintenance, and since state is immutable you don't run into issues where some developer fixed an is…

At a small org, what is the advantage of Kubernetes over the vendor provided application runners i.e. AWS AppRunner or Google's App Engine?

Re: Kubernetes for Developers Who Know How to Develop

#93
post #89

Is there a platform for small companies to ease deployment and maintenance? Something like order vps, apt install that, go to ip:4321, login, enter a master ip, and now it’s part of a farm to which you can drag and drop containers (or repositories, or even just init scripts with tarballs) and edit configs/secrets accordingly, and see logs. I understand docker and what k8s does, but in our situation setting them up an…

You might be best served by some platform-as-a-service (Heroku, platform.sh, Netlify, ...) than by a cluster offering. PaaS are pretty much turnkey for many apps, and cost mostly scales with the actual usage which tends to fit well small companies. They completely hide infra management from you, deployment can be entirely automated through Git with no SSH or Docker registry management, and they provide access to what…

The interface/dsl should have to be really easy though to make it worth it. E.g., if you are making your own buildpack on heroku you have gone too far. The whole idea should be ubiquity in knowledge of these platforms. The idea that you can easily hire someone or expect someone to have these skills. Kubernetes might not be simple but it is becoming ubiquitous and that is worth something in the long run.

So if you are looking for the easy solution, use a SaaS / PaaS that really is turnkey and, for example is not just another peaky abstraction of kubernetes. You are choosing an easy solution so you should not need to invest a lot of your energy. Likewise recognize that when you need more customization that you might need to jump ship instead of investing in ducktaping your SaaS/PaaS.

Re: Kubernetes for Developers Who Know How to Develop

#94
post #30

Earlier quoted context omitted.

My biggest issue with Kubernetes is huge costs of running it. It's 3 servers with 4 GB RAM. It's almost $100/month just for Kubernetes alone. And you need one load balancer for control nodes which is another $25 for my hoster. And you need second load balancer for production workloads which is another $25. So you have to pay $150/month for the privilege of using Kubernetes. And they double your costs for your applica…

k3s will run on a $5 droplet happily. If you want k8s for the yaml and not for the heavy-duty hyperscale redundancy, k3s works great

It's hard to stop when HA is one config line (and few additional dozens of bucks) away.

Re: Kubernetes for Developers Who Know How to Develop

#95
post #89

Is there a platform for small companies to ease deployment and maintenance? Something like order vps, apt install that, go to ip:4321, login, enter a master ip, and now it’s part of a farm to which you can drag and drop containers (or repositories, or even just init scripts with tarballs) and edit configs/secrets accordingly, and see logs. I understand docker and what k8s does, but in our situation setting them up an…

You might be best served by some platform-as-a-service (Heroku, platform.sh, Netlify, ...) than by a cluster offering. PaaS are pretty much turnkey for many apps, and cost mostly scales with the actual usage which tends to fit well small companies. They completely hide infra management from you, deployment can be entirely automated through Git with no SSH or Docker registry management, and they provide access to what…

I think we are already using paas (DO Apps) for a few services, but some requirements are incompatible with it and other paas’es. I’d like to rather have a thin layer over vps, what I do with ssh, but better UX.

Re: Kubernetes for Developers Who Know How to Develop

#96

Earlier quoted context omitted.

Can you tell me what specific challenges you've had with deploying non-HTTP services using Kubernetes? Many features are http-centric, but others seem fairly agnostic to me. What kind of non-http services are we talking about anyway?

Not OP and I don't do K8 in production, but I understand their complaint. You couldn't eg. deploy a game server easily. They typical "web app" flow is Client -> ReverseProxy -> StatelessApp -> DatabaseWithState and back. The typically expectation is HTTP requests that aren't "long lived". Even running a database would be harder since you need to consider where the storage of the content is going (you'd want backups a…

Work has been done on this kind of issue, see e.g. https://github.com/l7mp/stunner

Re: Kubernetes for Developers Who Know How to Develop

#97
post #92

Earlier quoted context omitted.

No. Kubernetes is extremely valuable to small orgs. Google Kubernetes Engine is pretty much fire & forget. You turn it on, set the maintenance window and it just works. It also saves you from having to reinvent health checks, ingresses, etc. It's actually less work than maintaining plain old servers when you factor in maintenance, and since state is immutable you don't run into issues where some developer fixed an is…

At a small org, what is the advantage of Kubernetes over the vendor provided application runners i.e. AWS AppRunner or Google's App Engine?

Having the possibility to test stuff locally using e.g. minikube. Also in general we just build everything around docker containers. Doesn't matter if they run locally on a dev machine or in a gke cluster.

Re: Kubernetes for Developers Who Know How to Develop

#98
post #42

Earlier quoted context omitted.

Can you tell me what specific challenges you've had with deploying non-HTTP services using Kubernetes? Many features are http-centric, but others seem fairly agnostic to me. What kind of non-http services are we talking about anyway?

Deploying them is easy. Figuring out the correct incantations to bind a load balancer or ingress port to redis/kafka/mysql/whatever and/or expose them in some way other than "let the ingress figure out the host from headers/SNI and map to some thing in the Service" is somewhat less than intuitive. Sure, you could argue that you shouldn't expose backend services like that without an API endpoint at all, because one ap…

LoadBalancerIP seems pretty straightforward to me. No Ingress or Gateway needed. Just a plain old Service.

I don't think that would cause issues with long lived connections. It is about as direct as you can get while actually load balancing.

https://cloud.google.com/kubernetes-engine/docs/how-to/servi...

Re: Kubernetes for Developers Who Know How to Develop

#99

Kubernetes was a clever ploy to trick cloud providers into abstracting themselves into irrelevance, but otherwise a dead end. Can we please hurry up and replace it with an open-source Nomad clone?

IMO Kubernetes is not going anywhere. People are jumping to it in huge numbers. It's very hot. It has sane architecture in my opinion. I'd say it has awesome architecture and I have great respects to the ones responsible for it. They've got very quality foundations. Kubernetes is new Linux. You expected to know Linux and Git, now you'll be expected to know Kubernetes if you're developer.

Hadoop is not going anywhere. People are jumping to it in huge numbers. It's very hot. It has sane architecture in my opinion. I'd say it has awesome architecture and I have great respects to the ones responsible for it. They've got very quality foundations. Hadoop is new ETL. You expected to know SQL and ETL, now you'll be expected to know Hadoop if you're a developer.

~HN, circa 2010

Re: Kubernetes for Developers Who Know How to Develop

#100

Kubernetes was a clever ploy to trick cloud providers into abstracting themselves into irrelevance, but otherwise a dead end. Can we please hurry up and replace it with an open-source Nomad clone?

> replace it with an open-source Nomad clone? Nomad is open source; why clone it?

Is the whole thing open? I assumed it was open-core and the good bits were hasicorp secret sauce.
Post reply on HN