Add support for Kubernetes cluster for gcp or other cloud provider using a template
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 85
- Forks
- 26
- Avg merge
- 11h 49m
- Merged PRs (30d)
- 22
Description
Can we have a template for kubernetes cluster using java similar to this - https://www.pulumi.com/templates/kubernetes/gcp/
Since there no version for Java---but we can also do that on your own with the power of Pulumi convert! Here’s how:
-
Use the Kubernetes GCP YAML template:
pulumi new kubernetes-gcp-yaml -
Run
pulumi convert --language java --out <directory> -
Fine-tune the resulting Java program as needed
However with the above command getting an exception as
[ERROR] COMPILATION ERROR :
[ERROR] /Users/san/project/Fetebird-deployment/template/java-project/src/main/java/generated_program/App.java:[100,20] text blocks are not supported in -source 11
(use -source 15 or higher to enable text blocks)
I have the below java version
openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06)
OpenJDK 64-Bit Server VM GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06, mixed mode, sharing)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing pulumi new kubernetes-gcp-yaml followed by pulumi convert --language java --out <directory>, then inspect the generated generated_program/App.java and the Java project configuration. Determine the intended cloud-provider template scope and verify that the generated Java project completes without the reported Java 11 text-block compilation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- gcp, java, kubernetes
- Domain
- cloud, devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100