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.

`mvn jib:_skaffold-files` is computationally expensive

See original GitHub issue

Running 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:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
briandealwiscommented, Oct 31, 2018

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?

0reactions
briandealwiscommented, Nov 6, 2018

Perhaps worth further extending this Skaffold/builder interaction to provide a list of definition files (e.g., pom.xml — and parent pom.xmls too if local — for jibMaven; build.gradle, gradle.properties for jibGradle).

Read more comments on GitHub >

github_iconTop 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 >

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