News for hackers. Stuff that matters.
Re:Kubernetes 1.18 by jjtheblunt on Wednesday March 25, 2020 @05:58PM (#22688872)
What are recommendable simpler system examples, or managed options you allude to?
Re:Kubernetes 1.18 by alpb on Wednesday March 25, 2020 @06:00PM (#22688878)
Google Cloud Run, AWS Fargate, Google App Engine, Heroku etc. are comparable experiences to Kubernetes if you have the flexibility of (1) running on cloud (2) not having to configure host OS or rely on host GPUs etc.

Disclaimer: I work at Google Cloud Run.

Re:Kubernetes 1.18 by psankar on Thursday March 26, 2020 @04:15AM (#22691504)
Since you mentioned about CloudRun, I had one query.

I run docker compose locally for development. For prod, I just use a different docker compose file (with some values changed, for example the postgres database url etc.). I do this from a 5 USD per month droplet/vm. I can launch multiple services like this for my microservices platform. I can use a hosted database solution for another 15 USD per month, to get backups etc. Also I get a generous 1 TB bandwidth and predictable performance for my system as a whole.

In the past I have used appengine and been bitten by their update times (took more than 20 mins for a single code update, things could have improved now). Also I need to write deployment artifacts for each service.

Now is there any benefit that cloud run (or any paas) could offer compared to this ? Would it be not easier to just stay with docker-compose and defer upgrading to kubernetes until you turn profitable or become unmanageable with a single VM ?

Re:Kubernetes 1.18 by yahyaheee on Wednesday March 25, 2020 @06:18PM (#22689007)
You have vendor lock-in with all of these though
Re:Kubernetes 1.18 by alpb on Wednesday March 25, 2020 @07:29PM (#22689412)
Not really, no.

Cloud Run implements the Knative API, so you can actually take it away and run it on any Kubernetes cluster anywhere on a cloud or in your datacenter.

Re:Kubernetes 1.18 by gtaylor on Thursday March 26, 2020 @01:38AM (#22690969)
Doesn't that require Istio and a few other things as well? I wouldn't wish Istio configuration and maintenance on anyone but the larger shops/teams. You might not be technically locked in, but not everyone can afford to dedicate the attention to tuning and maintaining Istio.

Source: at mid-sized company who has Istio in the stack.

Re:Kubernetes 1.18 by alpb on Thursday March 26, 2020 @02:33AM (#22691121)
Knative just needs a gateway (LB); not a full mesh. Istio is the default option. Alternatively you can use Gloo, Ambassador or something specifically built for Knative such as Kourier.
Re:Kubernetes 1.18 by bg24 on Thursday March 26, 2020 @03:10AM (#22691272)
Vendor lock-in does not come from using GKE/EKS/AKS or derivatives.

What ends up happening is that your application consumes services (storage, analytics, etc.). You start using those services from the cloud provider, which makes sense as long as it is the right thing for your business (aligns w/ your cloud-native blueprint).

Kubernetes, by itself, is cloud-provider agnostic.

Re:Kubernetes 1.18 by mstg on Wednesday March 25, 2020 @07:25PM (#22689389)
Hello! Cloud Run would be better if it supported Cloud IAP and wildcard managed certificates.

Overall though it is an amazing service and it is really fast and easy to use.

Re:Kubernetes 1.18 by gravypod on Wednesday March 25, 2020 @06:05PM (#22688914)
Does cloud run or fargate have an equivalent to a statefulset? Persistent storage and the ability to talk to a specific node/instance?
Re:Kubernetes 1.18 by jjtheblunt on Wednesday March 25, 2020 @06:15PM (#22688986)
Thanks; Fargate was what i was anticipating, or Heroku, hadn't looked at Cloud Run but definitely will.
Re:Kubernetes 1.18 by threeseed on Wednesday March 25, 2020 @07:57PM (#22689628)
This comment makes no sense.

There is AWS Fargate for Kubernetes, AWS Elastic Kubernetes Service, DigitalOcean Kubernetes, Google Kubernetes Engine etc.

All of which are on the cloud and all of which don't require you to configure host OS etc. Some offer full control over node configuration e.g. EKS whilst others manage that for you e.g. Fargate.

Re:Kubernetes 1.18 by alpb on Wednesday March 25, 2020 @08:04PM (#22689683)
Thanks for repeating what I already said. I responded to the question asked. OP asked if there are simpler alternatives. These are simpler alternatives to Kubernetes.

I don't know which part you're not getting, but it appears that this person's intention is not to learn Kubernetes or deal with nodes in the first place.

Re:Kubernetes 1.18 by aphexairlines on Wednesday March 25, 2020 @06:06PM (#22688923)
AWS SAM has been great for running rust in AWS Lambda + API Gateway and for managing tables in DynamoDB.
Re:Kubernetes 1.18 by jjtheblunt on Wednesday March 25, 2020 @06:15PM (#22688987)
thanks
Re:Kubernetes 1.18 by kawsper on Wednesday March 25, 2020 @06:42PM (#22689159)
Nomad and Consul from Hashicorp.
Re:Kubernetes 1.18 by merb on Wednesday March 25, 2020 @06:54PM (#22689227)
which is way more complex to setup than k3s
Re:Kubernetes 1.18 by mm89 on Wednesday March 25, 2020 @07:43PM (#22689509)
Perhaps installation and config are not as streamlined as one of the many available k8s setup tools, but the tools themselves are much easier to understand and less broad than the k8s system.

Used nomad/consul/fabio at a previous job for running containers, it was very easy to adopt. Way less new concepts as well.

It's worth mentioning I later chose GCP managed kubernetes for a small cluster to run at my startup. I had to learn a few new things, but I'm not familiar of any "nomad as a service" offerings, so I went with k8s on Google cloud.

Re:Kubernetes 1.18 by Legogris on Wednesday March 25, 2020 @11:48PM (#22690650)
When was the last time you used it? I found it straightforward and not so many knobs to twist. ACLs and cert management can be a bit of a PITA the first time (especially the former, and it’s something you really want to do before you’re replying on Consul for mission-critical stuff), but that’s about it. Still, those two things are mainly confusing due to poor documentation and not that complicated once you get up to speed, so it’s mainly the first time you do a new setup.
Re:Kubernetes 1.18 by Legogris on Thursday March 26, 2020 @02:03AM (#22691036)
Downvoters: Care to elaborate what you think is wrong with my comment?