Skip to content
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

[BUG] imagelistpulljob的message一直卡在0.0%,SUCCEED一直为0,直到activeDeadlineSeconds之后才能显示SUCCEED个数 #1656

Open
CodeXuQi opened this issue Jul 4, 2024 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@CodeXuQi
Copy link

CodeXuQi commented Jul 4, 2024

What happened:
imagelistpulljob的message一直卡在0.0%,SUCCEED一直为0,直到activeDeadlineSeconds之后才能显示SUCCEED个数。尽管所有节点的nodeimage已经完成镜像拉取
What you expected to happen:
每个节点拉取成功后能够及时显示成功百分比和SUCCEED个数
How to reproduce it (as minimally and precisely as possible):
1、使用golang client 1.6.0,创建带有secret和ActiveDeadlineSeconds的job,然后执行创建
样例如下:
job := &v1alpha1.ImageListPullJob{
TypeMeta: apisv1.TypeMeta{},
ObjectMeta: apisv1.ObjectMeta{Name: TaskName, Namespace: Namespace, ResourceVersion: "apps.kruise.io/v1alpha1"},
Spec: v1alpha1.ImageListPullJobSpec{
Images: ImageAddresses,
ImagePullJobTemplate: v1alpha1.ImagePullJobTemplate{
PullSecrets: Secrets,
Parallelism: &intstr.IntOrString{Type: intstr.Int, IntVal: int32(10)},
PullPolicy: &v1alpha1.PullPolicy{},
CompletionPolicy: v1alpha1.CompletionPolicy{ActiveDeadlineSeconds: &ActiveDeadlineSeconds},
SandboxConfig: nil,
ImagePullPolicy: "Always",
},
},
Status: v1alpha1.ImageListPullJobStatus{},
}

2、查看nodeimage、imageListpulljob、imagepulljob的SUCCEED个数和message
Anything else we need to know?:

Environment:

  • Kruise version: 1.5.3
  • Kubernetes version (use kubectl version): 1.24.4 TKE
  • Install details (e.g. helm install args):
  • Others:
    Golang client:1.6.0
@CodeXuQi CodeXuQi added the kind/bug Something isn't working label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants