GithubHelp home page GithubHelp logo

Comments (6)

chengjoey avatar chengjoey commented on September 3, 2024 1

实验室网络不好,发现每次打包都从远端拉取镜像,经常失败,想问一下,镜像没有本地缓存么,为什么每次打包都拉取,拉一次应该就能给下次使用啊

SpecifyImagePullPolicy string `env:"SPECIFY_IMAGE_PULL_POLICY" default:"IfNotPresent"`

目前pipeline运行任务拉取镜像的策略默认是IfNotPresent了,也就是运行的主机上如果已经存在镜像就不会再从远端拉取了。发现每次都从远端拉取镜像可能因为每次都跑到不同的机器上了,或者镜像在对应的主机上已经被gc掉了

from erda.

luoluo2001108 avatar luoluo2001108 commented on September 3, 2024

谢谢,还有一个问题请教一下:

编译java项目的时候,需要从maven仓库里下载一下jar包,pom文件,这个每次编译,都会去maven仓库拉取,每次耗时两分钟,有什么方式可以缓存maven仓库么?

2022-12-22 17:49:42successfully loaded action config
2022-12-22 17:49:42successfully replaced action placeholder
2022-12-22 17:49:42change workding directory to: /.pipeline/container/context/git-checkout
2022-12-22 17:49:42build maven app
2022-12-22 17:49:42Run: /bin/bash, [-c MAVEN_OPTS=-Xmx2016m mvn clean package -e -B -U -Dmaven.test.skip -s /opt/action/comp/maven/settings.xml ]
2022-12-22 17:49:43[INFO] Error stacktraces are turned on.
2022-12-22 17:49:43[INFO] Scanning for projects...
### 2022-12-22 17:49:44[INFO] Downloading from terminus: http://192.168.14.12:8081/nexus/repository/public/com/dhc/leapower/business/leapower-business/4.1-SNAPSHOT/maven-metadata.xml
2022-12-22 17:49:44[INFO] Downloaded from terminus: http://192.168.14.12:8081/nexus/repository/public/com/dhc/leapower/business/leapower-business/4.1-SNAPSHOT/maven-metadata.xml (617 B at 6.3 kB/s)
2022-12-22 17:49:44[INFO] Downloading from terminus: http://192.168.14.12:8081/nexus/repository/public/com/dhc/leapower/business/leapower-business/4.1-SNAPSHOT/leapower-business-4.1-20221219.030915-44.pom
2022-12-22 17:49:44[INFO] Downloaded from terminus: http://192.168.14.12:8081/nexus/repository/public/com/dhc/leapower/business/leapower-business/4.1-SNAPSHOT/leapower-business-4.1-20221219.030915-44.pom (8.6 kB at 720 kB/s)

from erda.

erda-bot avatar erda-bot commented on September 3, 2024

Hi @luoluo2001108 ,我关注到 #5649 是一个相同的 issue,所以关闭当前这个 issue。
每个 issue 只处理一件事,是一个非常好的原则。

from erda.

luoluo2001108 avatar luoluo2001108 commented on September 3, 2024

from erda.

chengjoey avatar chengjoey commented on September 3, 2024

您好: 之前因为erda的某些问题咨询过您, 目前遇到一个问题想尝试咨询一下。 如果删除了集群之前,没有删除部署runtime,导致后续删除部署的时候一直显示删除中, 请问一下,这种情况是否是属于数据库中有脏数据导致,有没有什么清理的方式? 谢谢! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

尝试在数据库表ps_runtime_servicesps_v2_project_runtimes中找一下删除吧

另外新问题请开新的issue

from erda.

luoluo2001108 avatar luoluo2001108 commented on September 3, 2024

from erda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.