-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
调整 Kaniko 构建参数异常 #1778
Comments
Title: Adjust Kaniko build parameter exception |
在 5.15.2 版本中,已经弃用了 kaniko 构建,使用 buildkit 构建。如果你需要配置镜像加速。可以参考以下步骤:
kubectl get cm -nrbd-system
kubectl edit cm goodrain-me -nrbd-system
apiVersion: v1
data:
buildkittoml: |-
debug = true
[registry."goodrain.me"]
http = false
insecure = true
[registry."docker.io"]
mirrors = ["192.168.18.145"]
kind: ConfigMap
metadata:
name: goodrain.me
namespace: rbd-system |
In version 5.15.2, kaniko builds have been deprecated in favor of buildkit builds. If you need to configure image acceleration. You can refer to the following steps:
kubectl get cm -nrbd-system
kubectl edit cm goodrain-me -nrbd-system
apiVersion: v1
data:
buildkittoml: |-
debug=true
[registry."goodrain.me"]
http = false
insecure=true
[registry."docker.io"]
mirrors = ["192.168.18.145"]
kind: ConfigMap
metadata:
name: goodrain.me
namespace: rbd-system |
如果没有其他问题,该issues将在明天关闭 |
If there are no other issues, the issues will be closed tomorrow |
调整 kaniko 镜像加速 后 chaos 提示 unknown flag: --kaniko-args
To Reproduce
Screenshots
The relevant information:
v5.15.2-release-ff32a0912-2023-09-10-15
The text was updated successfully, but these errors were encountered: