`mvn jib:_skaffold-files` is computationally expensive
See original GitHub issueRunning skaffold dev
with a Maven project (such as https://github.com/GoogleContainerTools/skaffold/tree/master/examples/jib) causes my fans to spin up.
What’s odd is that the gradle equivalent is fine.
As a workaround, Running skaffold with --watch-poll-interval 5000
seems ok.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Jib Build - Skaffold
Jib is a set of plugins for Maven and Gradle for building optimized OCI-compliant container images for Java applications without a Docker daemon ......
Read more >Skaffold Jib build permission denied error on Mac · Issue #4623
Expected behavior Skaffold build or Skaffold dev builds docker image using jib and proceeds with a normal execution Actual behavior When ...
Read more >Building a multi module maven project with Skaffold and Jib
Is it possible to build a multi module maven project with skaffold and jib builder? ... my-project-main-module contains the Main class, and has ......
Read more >Building and Deploying Containerized Application to ...
Building and Deploying Containerized Application to Kubernetes using Jib and Skaffold. Jib allow Java/Kotlin developers to integrate the step of ...
Read more >CI/CD Workflow for Spring Boot Application on Kubernetes via ...
This article will cover how to create CI/CD workflow for a SpringBoot Application deployed to Kubernetes using Skaffold.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What if we reworked the Skaffold/Jib watcher interface to reduce the need to call out to maven/gradle? If
_skaffold-files
/_jibSkaffoldFiles
returned a list of (i) locations to monitor and (ii) locations to ignore, then Skaffold could only refresh the list when a new location appeared that didn’t match either list?Perhaps worth further extending this Skaffold/builder interaction to provide a list of definition files (e.g.,
pom.xml
— and parentpom.xml
s too if local — forjibMaven
;build.gradle
,gradle.properties
forjibGradle
).