Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>VSCode Java Cloud NativeNew to Visual Studio Code? Get it now.
VSCode Java Cloud Native

VSCode Java Cloud Native

Wesley Egberto

|
2,235 installs
| (0) | Free
Extension to help write Java application for Cloud
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Java Cloud Native

github-license-badge github-badge

Extension to help write Java application in Cloud Native fashion.

Currently the options for JVM in the Dockerfile is focused for Spring Boot applications.

Features:

  • snippets for Dockerfile
  • snippets for Kubernetes objects
  • snippets for Github Action

Docker Images

Maven JDK:

  • maven:3.6-jdk-11
  • maven:3.8-openjdk-11
  • maven:3.8-openjdk-17

Java images:

  • JDK 11:
    • OpenJDK: openjdk:11
    • Open J9: adoptopenjdk/openjdk11-openj9:alpine-slim
  • JDK 11:
    • OpenJDK: openjdk:17-alpine
    • Open J9: ibm-semeru-runtimes:open-17-jdk

Snippets

Dockerfile

Prefix Description
jdk11-openj9-cds-runtime Snippet for Dockerfile using Open J9 11 as runtime with CDS
jdk11-openj9-cds-multistage-jar Snippet for Dockerfile with multistage build using Maven and Open J9 11 as runtime with CDS
jdk11-openj9-cds-multistage-unziped Snippet for Dockerfile with multistage build using Maven and Open J9 11 as runtime with CDS, the Uberjar file is unziped for runtime
jdk21-ibm-semeru-multistage-jar Snippet for Dockerfile with multistage build using Maven and IBM Semeru 21 as runtime with CDS
jdk21-ibm-semeru-multistage-unziped Snippet for Dockerfile with multistage build using Maven and IBM Semeru 21 as runtime with CDS, the Uberjar file is unziped for runtime

Kubernetes

Prefix Description
k8s-namespace Kubernetes namespace
k8s-deployment Kubernetes deployment
k8s-rollingupdate Kubernetes deployment rollout strategy
k8s-secret-opaque Kubernetes secret using Base64 encoded data
k8s-secret-plain Kubernetes secret using plain text data
k8s-env-from-secret Container environment var from Kubernetes Secret
k8s-env-from-configmap Container environment var from Kubernetes ConfigMap
k8s-configmap-file Configmap that contains a file
k8s-configmap ConfigMap with a Key/Value pair
k8s-configmap-kv-file ConfigMap with a Key/Value pair and file
k8s-file-from-secret Mount a file from a Kubernetes Secret
k8s-svc Kubernentes service v1
k8s-svc-intern Kubernentes service with internal LB
k8s-hpa Kubernentes horizontal pod autoscaler
k8s-ing-svc Kubernentes ingress direct to a service
k8s-ing-fanout Kubernentes ingress fanout
k8s-ing-named-based Kubernetes ingress named based

Github Action

Prefix Description
gh-action-java-ci Github Action CI for Java (build, test, upload test and coverage report)

References

  • Microsoft's Containerize Java Applications
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft