-
Notifications
You must be signed in to change notification settings - Fork 292
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
Configuration Conflict in containerd When Deploying Dragonfly #3372
Comments
@liuyuxuan0723 If you don't know how to get dfinit entire config and dfinit verison, you can give me the helm chart config. |
@gaius-qi version = 2
disabled_plugins = []
imports = []
oom_score = -999
required_plugins = []
root = '/cce/containerd'
state = '/run/containerd'
[debug]
address = '/run/containerd/debug.sock'
level = 'info'
[plugins]
[plugins.'io.containerd.grpc.v1.cri']
enable_selinux = false
enable_tls_streaming = false
max_concurrent_downloads = 10
sandbox_image = 'registry.baidubce.com/cce-public/pause:3.1'
stream_server_address = '127.0.0.1'
stream_server_port = '0'
[plugins.'io.containerd.grpc.v1.cri'.cni]
bin_dir = '/opt/cni/bin'
conf_dir = '/etc/cni/net.d'
conf_template = ''
[plugins.'io.containerd.grpc.v1.cri'.containerd]
default_runtime_name = 'runc'
[plugins.'io.containerd.grpc.v1.cri'.containerd.runtimes]
[plugins.'io.containerd.grpc.v1.cri'.containerd.runtimes.runc]
container_annotations = []
pod_annotations = []
privileged_without_host_devices = false
runtime_type = 'io.containerd.runc.v2'
[plugins.'io.containerd.grpc.v1.cri'.registry]
[plugins.'io.containerd.grpc.v1.cri'.registry.mirrors]
[plugins.'io.containerd.grpc.v1.cri'.registry.mirrors.'docker.io']
endpoint = ['https://mirror.baidubce.com'] The Helm chart configuration is similar to the following:
|
@liuyuxuan0723 I think you need use the rust client, refer to https://d7y.io/docs/next/getting-started/installation/helm-charts/. |
@gaius-qi [plugins."io.containerd.grpc.v1.cri".registry]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors.'docker.io']
endpoint = ['https://mirror.baidubce.com']
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."artifactory-registry.com"]
endpoint = ["http://127.0.0.1:4001", "https://artifactory-registry.com"] However, when pulling images on the host, it seems that the client is not acting as a proxy. The logs of this task can be viewed in the client, but no cached pieces are found in When
[plugins."io.containerd.grpc.v1.cri".registry]
config_path = "/etc/containerd/certs.d"
server = "https://artifactory-registry.com"
[host."http://127.0.0.1:4001"]
capabilities = ["pull", "resolve"]
[host."http://127.0.0.1:4001".header]
X-Dragonfly-Registry = "https://artifactory-registry.com" I have one more question. Does the [host."https://artifactory-registry.com"]
capabilities = ["pull", "resolve"] |
Description
When using Helm to deploy the Dragonfly service in a Kubernetes cluster, the
containerd
service fails to start and logs the following warning:Even though this is a warning log, it prevents the
containerd
service from starting.Environment
Expected Behavior
The
containerd
service should start and run normally.Actual Behavior
The
containerd
service fails to start and logs the following warning:Containerd Error Log Screenshot
Containerd Configuration
My
containerd
configuration before installing Dragonfly was as follows:After installing Dragonfly, the following configuration was injected, causing
containerd
to fail and the node to show as NotReady:Removing the following configuration allows
containerd
to start normally:Question
containerd
so abruptly?containerd
? I could not find any configurable options in thevalues.yaml
file.cc @saltbo
The text was updated successfully, but these errors were encountered: