News for hackers. Stuff that matters.
Re:Show HN: Deploy to K8s without YAML using ShuttleOps by jchw on Tuesday October 06, 2020 @12:14PM (#24699335)
What I like about Kubernetes is that it’s a platform you get things like exponential backoff, replication, liveness and health checking and so forth as part of the platform, and plugins for metric collection and monitoring are fairly standard. These are things I don’t even feel most PaaS have done a great job on across the board, so I can certainly see the appeal of having Kubernetes under the hood.
Re:Show HN: Deploy to K8s without YAML using ShuttleOps by foxtr0t on Tuesday October 06, 2020 @12:34PM (#24699633)
Yeah that is understandable, k8s is a platform with a plethora of capabilities. On the other hand, the vast majority of organizations using k8s have multiple users that have multiple work streams and multiple applications (not true by definition, but close). This lends itself to a code as configuration approach, and makes managing orchestration through a UI risky and error prone. We review code, not clicks.

Further, K8s exposes an YAML interface because it is relatively human readable and of course is machine readable. I'm sure the k8s community encourages users to build on top of this. Want to really do code as config? Write a nice DSL in your favorite scripting language to produce these YAMLs. Submit that as source. You've now automated away the vast majority of toil related to k8s YAML config, because your code can be:

1. modular by design

2. tested

3. tracked as code

etc etc

Re:Show HN: Deploy to K8s without YAML using ShuttleOps by palotasb on Tuesday October 06, 2020 @01:29PM (#24700277)
I've been experimenting on a personal project with https://www.pulumi.com/ where you can do the configuration and deployment in Python or JavasScript and I think I can recommend it.
Re:Show HN: Deploy to K8s without YAML using ShuttleOps by verdverm on Tuesday October 06, 2020 @02:14PM (#24700703)
Do you have pointers on how to merge and manage Pulumi modules(?) when multiple languages are used?
Re:Show HN: Deploy to K8s without YAML using ShuttleOps by throwayws on Tuesday October 06, 2020 @04:42PM (#24702128)
How does it compare to Terraform, which it is based on?
Re:Show HN: Deploy to K8s without YAML using ShuttleOps by stevepike on Tuesday October 06, 2020 @12:20PM (#24699423)
Yeah, there's a whole category of apps that run on heroku with maybe 10 dynos tops that could definitely be deployed on kubernetes with manual / web ui-based configuration.
Re:Show HN: Deploy to K8s without YAML using ShuttleOps by k__ on Tuesday October 06, 2020 @12:23PM (#24699467)
PaaS came before K8s, it's the minimum that K8s is better than PaaS.
Re:Show HN: Deploy to K8s without YAML using ShuttleOps by jchw on Tuesday October 06, 2020 @12:26PM (#24699526)
I actually don’t see why a PaaS couldn’t do all of this better. Especially at larger companies, where containers and monitoring have been the norm internally forever, it is unclear why PaaS offerings still feel primitive... maybe there is some technology limitation here.

Edit: disclaimer, I have not used a PaaS service in a couple years.

Re:Show HN: Deploy to K8s without YAML using ShuttleOps by k__ on Tuesday October 06, 2020 @01:03PM (#24700010)
What I was getting at was, maybe K8s folks should look ahead (serverless) and not back (PaaS).
Re:Show HN: Deploy to K8s without YAML using ShuttleOps by mplewis on Tuesday October 06, 2020 @01:42PM (#24700425)
Serverless is not a strict upgrade to containerized service deploys in any sense.
Re:Show HN: Deploy to K8s without YAML using ShuttleOps by k__ on Tuesday October 06, 2020 @05:21PM (#24702455)
Why not?

It takes containers to their logical conclusion by generalizing them to a function while removing quite some operational overhead on the way.

Re:Show HN: Deploy to K8s without YAML using ShuttleOps by sneak on Tuesday October 06, 2020 @01:01PM (#24699988)
I think PaaS, autodeployed from a branch, is the best system for most orgs.