7 ms·
I checked the sample Kubernetes project in Java [0] and it looks hideous. YAML looks much better in comparison. [0] https://www.pulumi.com/docs/get-started/kub
by cocochanel 4y ago
I checked the sample Kubernetes project in Java [0] and it looks hideous. YAML looks much better in comparison.
[0] https://www.pulumi.com/docs/get-started/kubernetes/review-project/ https://www.pulumi.com/docs/get-started/kubernetes/review-pr...
- CipherThrowaway 4y agoDon't disagree there. Java support is less than a year old and the Java API is.. not great. TypeScript is the more popular and mature choice.
- danudey 4y agoWhat, you mean you don't want to write code like Deployment("nginx",DeploymentArgs.builder().spec(DeploymentSpecArgs.builder().selector(LabelSelectorArgs.builder().matchLabels(labels).build()).replicas(1).template(PodTemplateSpecArgs.builder().metadata(ObjectMetaArgs.builder().labels(labels).build()).spec(PodSpecArgs.builder().containers(ContainerArgs.builder().name("nginx").image("nginx").ports(ContainerPortArgs.builder().containerPort(80).build()).build()).build()).build()).build()).build());
- lifehasleft 4y agoI actually laughed out loud when I looked at the example and just saw a bunch of carefully-indented “.build()”s