argoproj / argo-rollouts

Progressive Delivery for Kubernetes
https://argo-rollouts.readthedocs.io/
Apache License 2.0
2.76k stars 867 forks source link

kubectl argo rollouts get rollout Execution time too long #2078

Open kzcPo opened 2 years ago

kzcPo commented 2 years ago

Summary

exec kubectl argo rollouts get rollout xxx Execution time exceeds 3S

# time kubectl argo rollouts get rollout eff-noahfe -n online
Name:            eff-noahfe
Namespace:       online
Status:          ✔ Healthy
Strategy:        BlueGreen
Images:          xxx/eff-noahfe:online_202206071200_release_v1 (stable, active)
Replicas:
  Desired:       1
  Current:       1
  Updated:       1
  Ready:         1
  Available:     1

NAME                                    KIND        STATUS        AGE    INFO
⟳ eff-noahfe                            Rollout     ✔ Healthy     6d19h
├──# revision:8
│  └──⧉ eff-noahfe-6f89669c9b           ReplicaSet  ✔ Healthy     5h12m  stable,active
│     └──□ eff-noahfe-6f89669c9b-ztzwf  Pod         ✔ Running     5h12m  ready:1/1
├──# revision:7
│  └──⧉ eff-noahfe-648b765556           ReplicaSet  • ScaledDown  6h1m
├──# revision:6
│  └──⧉ eff-noahfe-77b95c4496           ReplicaSet  • ScaledDown  5d
├──# revision:5
│  └──⧉ eff-noahfe-bbc76779             ReplicaSet  • ScaledDown  5d6h
├──# revision:4
│  └──⧉ eff-noahfe-859d96fd47           ReplicaSet  • ScaledDown  5d20h
├──# revision:3
│  └──⧉ eff-noahfe-7b7955996            ReplicaSet  • ScaledDown  5d21h
├──# revision:2
│  └──⧉ eff-noahfe-76495d6678           ReplicaSet  • ScaledDown  6d
└──# revision:1
   └──⧉ eff-noahfe-749fcd86c4           ReplicaSet  • ScaledDown  6d19h

real    0m2.900s
user    0m2.700s
sys 0m0.257s

Diagnostics

quay.io/argoproj/argo-rollouts:v1.1.1
kubectl-argo-rollouts: v1.2.1+51c874c
  BuildDate: 2022-05-13T20:40:45Z
  GitCommit: 51c874cb18e6adccf677766ac561c3dbf69a8ec1
  GitTreeState: clean
  GoVersion: go1.17.6
  Compiler: gc
  Platform: linux/amd64
time="2022-06-07T08:55:20Z" level=info msg="syncing service" namespace=online rollout=eff-noahfe service=eff-noahfe
time="2022-06-07T08:55:20Z" level=info msg="syncing service" namespace=gray rollout=eff-noahfe service=eff-noahfe
time="2022-06-07T08:55:20Z" level=info msg="syncing service" namespace=online rollout=eff-noahfe service=eff-noahfe-preview-svc
time="2022-06-07T08:55:20Z" level=info msg="syncing service" namespace=gray rollout=eff-noahfe service=eff-noahfe-preview-svc
time="2022-06-07T08:55:20Z" level=info msg="Started syncing rollout" generation=14 namespace=gray resourceVersion=586954306 rollout=eff-noahfe
time="2022-06-07T08:55:20Z" level=info msg="Started syncing rollout" generation=17 namespace=online resourceVersion=586950875 rollout=eff-noahfe
time="2022-06-07T08:55:20Z" level=info msg="Reconciling stable ReplicaSet 'eff-noahfe-6f89669c9b'" namespace=online rollout=eff-noahfe
time="2022-06-07T08:55:20Z" level=info msg="Reconciling stable ReplicaSet 'eff-noahfe-f78f7dc46'" namespace=gray rollout=eff-noahfe
time="2022-06-07T08:55:20Z" level=info msg="No status changes. Skipping patch" generation=17 namespace=online resourceVersion=586950875 rollout=eff-noahfe
time="2022-06-07T08:55:20Z" level=info msg="Reconciliation completed" generation=17 namespace=online resourceVersion=586950875 rollout=eff-noahfe time_ms=5.347891
time="2022-06-07T08:55:20Z" level=info msg="No status changes. Skipping patch" generation=14 namespace=gray resourceVersion=586954306 rollout=eff-noahfe
time="2022-06-07T08:55:20Z" level=info msg="Reconciliation completed" generation=14 namespace=gray resourceVersion=586954306 rollout=eff-noahfe time_ms=8.388507
time="2022-06-07T08:55:21Z" level=info msg="Started syncing rollout" generation=14 namespace=gray resourceVersion=586954306 rollout=eff-noahfe
time="2022-06-07T08:55:21Z" level=info msg="Reconciling stable ReplicaSet 'eff-noahfe-f78f7dc46'" namespace=gray rollout=eff-noahfe
time="2022-06-07T08:55:21Z" level=info msg="No status changes. Skipping patch" generation=14 namespace=gray resourceVersion=586954306 rollout=eff-noahfe
time="2022-06-07T08:55:21Z" level=info msg="Reconciliation completed" generation=14 namespace=gray resourceVersion=586954306 rollout=eff-noahfe time_ms=7.2457
time="2022-06-07T09:10:17Z" level=info msg="Started syncing rollout" generation=14 namespace=gray resourceVersion=586954306 rollout=eff-noahfe
time="2022-06-07T09:10:17Z" level=info msg="Reconciling stable ReplicaSet 'eff-noahfe-f78f7dc46'" namespace=gray rollout=eff-noahfe
time="2022-06-07T09:10:17Z" level=info msg="No status changes. Skipping patch" generation=14 namespace=gray resourceVersion=586954306 rollout=eff-noahfe
time="2022-06-07T09:10:17Z" level=info msg="Reconciliation completed" generation=14 namespace=gray resourceVersion=586954306 rollout=eff-noahfe time_ms=7.833167
time="2022-06-07T09:10:17Z" level=info msg="Started syncing rollout" generation=17 namespace=online resourceVersion=586950875 rollout=eff-noahfe
time="2022-06-07T09:10:17Z" level=info msg="Reconciling stable ReplicaSet 'eff-noahfe-6f89669c9b'" namespace=online rollout=eff-noahfe
time="2022-06-07T09:10:17Z" level=info msg="No status changes. Skipping patch" generation=17 namespace=online resourceVersion=586950875 rollout=eff-noahfe
time="2022-06-07T09:10:17Z" level=info msg="Reconciliation completed" generation=17 namespace=online resourceVersion=586950875 rollout=eff-noahfe time_ms=12.39109
time="2022-06-07T09:10:20Z" level=info msg="syncing service" namespace=gray rollout=eff-noahfe service=eff-noahfe
time="2022-06-07T09:10:20Z" level=info msg="syncing service" namespace=online rollout=eff-noahfe service=eff-noahfe-preview-svc
time="2022-06-07T09:10:20Z" level=info msg="syncing service" namespace=gray rollout=eff-noahfe service=eff-noahfe-preview-svc
time="2022-06-07T09:10:20Z" level=info msg="syncing service" namespace=online rollout=eff-noahfe service=eff-noahfe
time="2022-06-07T09:10:20Z" level=info msg="Started syncing rollout" generation=14 namespace=gray resourceVersion=586954306 rollout=eff-noahfe
time="2022-06-07T09:10:20Z" level=info msg="Started syncing rollout" generation=17 namespace=online resourceVersion=586950875 rollout=eff-noahfe
time="2022-06-07T09:10:20Z" level=info msg="Reconciling stable ReplicaSet 'eff-noahfe-f78f7dc46'" namespace=gray rollout=eff-noahfe
time="2022-06-07T09:10:20Z" level=info msg="Reconciling stable ReplicaSet 'eff-noahfe-6f89669c9b'" namespace=online rollout=eff-noahfe
time="2022-06-07T09:10:20Z" level=info msg="No status changes. Skipping patch" generation=14 namespace=gray resourceVersion=586954306 rollout=eff-noahfe
time="2022-06-07T09:10:20Z" level=info msg="Reconciliation completed" generation=14 namespace=gray resourceVersion=586954306 rollout=eff-noahfe time_ms=5.517631000000001
time="2022-06-07T09:10:20Z" level=info msg="No status changes. Skipping patch" generation=17 namespace=online resourceVersion=586950875 rollout=eff-noahfe
time="2022-06-07T09:10:20Z" level=info msg="Reconciliation completed" generation=17 namespace=online resourceVersion=586950875 rollout=eff-noahfe time_ms=5.585733
time="2022-06-07T09:10:21Z" level=info msg="Started syncing rollout" generation=17 namespace=online resourceVersion=586950875 rollout=eff-noahfe
time="2022-06-07T09:10:21Z" level=info msg="Reconciling stable ReplicaSet 'eff-noahfe-6f89669c9b'" namespace=online rollout=eff-noahfe
time="2022-06-07T09:10:21Z" level=info msg="No status changes. Skipping patch" generation=17 namespace=online resourceVersion=586950875 rollout=eff-noahfe
time="2022-06-07T09:10:21Z" level=info msg="Reconciliation completed" generation=17 namespace=online resourceVersion=586950875 rollout=eff-noahfe time_ms=6.840470000000001

Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 60 days with no activity.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity.