question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

quarkus-kubernetes / quarkus-openshift extension pulls in additional 10+ MB of dependencies

See original GitHub issue

quarkus-kubernetes / quarkus-openshift extension pulls in additional 10+ MB of dependencies Affected version: Quarkus master

Quarkus 1.12.2.Final

du -cskh target/quarkus-app/
 11M	target/quarkus-app/
 11M	total
find target/quarkus-app/ | grep jar$ | wc -l
      70

Quarkus master

du -cskh target/quarkus-app/
 23M	target/quarkus-app/
 23M	total
find target/quarkus-app/ | grep jar$ | wc -l
     102

Reproducer:

mvn io.quarkus:quarkus-maven-plugin:1.12.2.Final:create \
    -DprojectGroupId=org.acme \
    -DprojectArtifactId=getting-started \
    -DclassName="org.acme.getting.started.GreetingResource" \
    -Dpath="/hello" -Dextensions="quarkus-kubernetes"
cd getting-started

mvn clean package -DskipTests
du -cskh target/quarkus-app/
find target/quarkus-app/ | grep jar$ | wc -l

mvn clean package -DskipTests -Dquarkus.platform.artifact-id=quarkus-bom \
  -Dquarkus.platform.version=999-SNAPSHOT -Dquarkus-plugin.version=999-SNAPSHOT
du -cskh target/quarkus-app/
find target/quarkus-app/ | grep jar$ | wc -l

A lot of new io.fabric8 deps appear in dependency tree and target/quarkus-app/ directory:

[INFO] |  |  \- io.fabric8:kubernetes-client:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-core:jar:5.1.1:compile
[INFO] |  |     |  \- io.fabric8:kubernetes-model-common:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-rbac:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-admissionregistration:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-apps:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-autoscaling:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-apiextensions:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-batch:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-certificates:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-coordination:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-discovery:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-events:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-extensions:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-networking:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-metrics:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-policy:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-scheduling:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-storageclass:jar:5.1.1:compile
[INFO] |  |     +- io.fabric8:kubernetes-model-node:jar:5.1.1:compile
[INFO] |  |     +- com.squareup.okhttp3:okhttp:jar:3.14.9:compile
[INFO] |  |     |  \- com.squareup.okio:okio:jar:1.17.2:compile
[INFO] |  |     +- com.squareup.okhttp3:logging-interceptor:jar:3.14.9:compile
[INFO] |  |     +- io.fabric8:zjsonpatch:jar:0.3.0:compile
[INFO] |  |     \- com.github.mifmif:generex:jar:1.0.2:compile
[INFO] |  |        \- dk.brics.automaton:automaton:jar:1.11-8:compile

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
rsvobodacommented, Mar 14, 2021

Happy Sunday guys 😃!

0reactions
geoandcommented, Mar 16, 2021

Thanks for verifying @rsvoboda!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kubernetes extension - Quarkus
Quarkus offers the ability to automatically generate Kubernetes resources based on sane defaults and user-supplied configuration using dekorate.
Read more >
Increased memory requirements for native-image compilation ...
I was able to identify that quarkus-kubernetes / quarkus-openshift extension pulls in additional 10+ MB of dependencies - filed #15705.
Read more >
Chapter 3. Using the Quarkus OpenShift extension to deploy ...
Change to the directory that contains your Quarkus Maven project. To add the OpenShift extension to an existing project, enter the following command:....
Read more >
Kogito Documentation - Red Hat on GitHub
OpenShift, based on Kubernetes, is the target platform for building and managing containerized applications. Quarkus is native Java stack for Kubernetes that ...
Read more >
1. Quarkus Overview - Quarkus Cookbook [Book] - O'Reilly
Chapter 1. Quarkus Overview Kubernetes is becoming the de facto platform to deploy our enterprise applications nowadays. The movement to containers and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found