rancher / fleet

Deploy workloads from Git to large fleets of Kubernetes clusters
https://fleet.rancher.io/
Apache License 2.0
1.52k stars 229 forks source link

Helm upgrade is often duplicated, causing issues with Jobs #2869

Closed mikmatko closed 1 week ago

mikmatko commented 1 month ago

Is there an existing issue for this?

Current Behavior

Helm upgrade is seemingly called twice on every change or force update. This seems to occur most of the time, but not always.

Logs from a downstream cluster fleet-agent-0 pod:

Working scenario, Helm deployment is called only once:

{"level":"info","ts":"2024-09-18T06:36:20Z","logger":"bundledeployment.HelmDeployer.install","msg":"Upgrading helm release","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"7c7639d9-f1ba-49c2-8785-b6e582c166a8","commit":"239b40d88e01e2db8d80eabeb891384b25e76311","dryRun":false}
{"level":"info","ts":"2024-09-18T06:36:37Z","logger":"bundledeployment.DeployBundle","msg":"Deployed bundle","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"7c7639d9-f1ba-49c2-8785-b6e582c166a8","deploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:4f69fbccb9885a091faa2d70ed56b710a70e33c7f73d381394c10b70dbdf3452","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:9190b78396800308e5260944df675a40cb47e4b1c5e2180b7e70be580d38608f","release":"mikko-debug/mikko-debug:86","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:4f69fbccb9885a091faa2d70ed56b710a70e33c7f73d381394c10b70dbdf3452"}
{"level":"info","ts":"2024-09-18T06:36:37Z","logger":"bundledeployment.DeployBundle","msg":"Deployed bundle","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"b19b7a49-3c5f-47ad-be0f-375a7ebf5d22","deploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:4f69fbccb9885a091faa2d70ed56b710a70e33c7f73d381394c10b70dbdf3452","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:4f69fbccb9885a091faa2d70ed56b710a70e33c7f73d381394c10b70dbdf3452","release":"mikko-debug/mikko-debug:86","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:4f69fbccb9885a091faa2d70ed56b710a70e33c7f73d381394c10b70dbdf3452"}

Then a bit later after pushing Force Update through Rancher UI (same occurs on a single new commit too):

{"level":"info","ts":"2024-09-18T06:38:01Z","logger":"bundledeployment.HelmDeployer.install","msg":"Upgrading helm release","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"5a20d39e-ed74-4f98-ba97-40b6b79767e9","commit":"239b40d88e01e2db8d80eabeb891384b25e76311","dryRun":false}
{"level":"info","ts":"2024-09-18T06:38:17Z","logger":"bundledeployment.DeployBundle","msg":"Deployed bundle","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"5a20d39e-ed74-4f98-ba97-40b6b79767e9","deploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:4f69fbccb9885a091faa2d70ed56b710a70e33c7f73d381394c10b70dbdf3452","release":"mikko-debug/mikko-debug:87","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba"}
{"level":"info","ts":"2024-09-18T06:38:17Z","logger":"bundledeployment.HelmDeployer.install","msg":"Upgrading helm release","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"5ae5c18b-b800-4e8b-990e-5ce2e448bb4d","commit":"239b40d88e01e2db8d80eabeb891384b25e76311","dryRun":false}
{"level":"info","ts":"2024-09-18T06:38:34Z","logger":"bundledeployment.DeployBundle","msg":"Deployed bundle","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"5ae5c18b-b800-4e8b-990e-5ce2e448bb4d","deploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:4f69fbccb9885a091faa2d70ed56b710a70e33c7f73d381394c10b70dbdf3452","release":"mikko-debug/mikko-debug:88","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba"}
{"level":"info","ts":"2024-09-18T06:38:34Z","logger":"bundledeployment.DeployBundle","msg":"Deployed bundle","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"f327af12-2651-4550-95ba-aef2a49271c4","deploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","release":"mikko-debug/mikko-debug:87","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba"}
{"level":"info","ts":"2024-09-18T06:38:34Z","logger":"bundledeployment.UpdateStatus","msg":"Status not ready","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"f327af12-2651-4550-95ba-aef2a49271c4","error":"job.batch mikko-debug/mikko-debug-job-87 missing"}
{"level":"info","ts":"2024-09-18T06:38:34Z","logger":"bundledeployment.DeployBundle","msg":"Deployed bundle","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"c80e519f-b4fd-416e-911d-d689731329da","deploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","release":"mikko-debug/mikko-debug:88","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba"}
{"level":"info","ts":"2024-09-18T06:38:34Z","logger":"bundledeployment.DeployBundle","msg":"Deployed bundle","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"47736280-52da-4da1-8114-412c7d84bf46","deploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","release":"mikko-debug/mikko-debug:87","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba"}
{"level":"info","ts":"2024-09-18T06:38:34Z","logger":"bundledeployment.UpdateStatus","msg":"Status not ready","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"47736280-52da-4da1-8114-412c7d84bf46","error":"job.batch mikko-debug/mikko-debug-job-87 missing"}
{"level":"info","ts":"2024-09-18T06:38:34Z","logger":"bundledeployment.DeployBundle","msg":"Deployed bundle","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"49bfc5f3-0320-4e93-876b-c141ee5f1f7e","deploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","release":"mikko-debug/mikko-debug:88","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba"}
{"level":"info","ts":"2024-09-18T06:38:34Z","logger":"bundledeployment.DeployBundle","msg":"Deployed bundle","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"62f0793c-b15a-4bd3-9c70-46c67c7e9a7d","deploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","release":"mikko-debug/mikko-debug:87","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba"}
{"level":"info","ts":"2024-09-18T06:38:35Z","logger":"bundledeployment.UpdateStatus","msg":"Status not ready","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"62f0793c-b15a-4bd3-9c70-46c67c7e9a7d","error":"job.batch mikko-debug/mikko-debug-job-87 missing"}
{"level":"info","ts":"2024-09-18T06:38:36Z","logger":"bundledeployment.DeployBundle","msg":"Deployed bundle","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"d03de5d9-5438-4cd8-940e-f61106942130","deploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","release":"mikko-debug/mikko-debug:87","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba"}
{"level":"info","ts":"2024-09-18T06:38:37Z","logger":"bundledeployment.UpdateStatus","msg":"Status not ready","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"d03de5d9-5438-4cd8-940e-f61106942130","error":"job.batch mikko-debug/mikko-debug-job-87 missing"}
{"level":"info","ts":"2024-09-18T06:38:38Z","logger":"bundledeployment.DeployBundle","msg":"Deployed bundle","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"97c74c52-0b6f-4023-9e40-b1c51f078e72","deploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba","release":"mikko-debug/mikko-debug:87","appliedDeploymentID":"s-cdb5595a5910c9b95765d654ab3a84d653589f6cf4aa9f314dac997310b2b:fb4e0cef7f7c41e0faa1e9ce7662ddde11afa277c52a5b342150dd9bd23841ba"}
{"level":"info","ts":"2024-09-18T06:38:39Z","logger":"bundledeployment.UpdateStatus","msg":"Status not ready","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","BundleDeployment":{"name":"mikko-debug-debug-debug-chart","namespace":"cluster-fleet-default-clustername-1ba05bfd28c8"},"namespace":"cluster-fleet-default-clustername-1ba05bfd28c8","name":"mikko-debug-debug-debug-chart","reconcileID":"97c74c52-0b6f-4023-9e40-b1c51f078e72","error":"job.batch mikko-debug/mikko-debug-job-87 missing"}

As can be seen from the logs, Helm upgrade is called twice. As a result, Fleet thinks that a Job object is suddenly missing:

job.batch mikko-debug/mikko-debug-job-87 missing

While Fleet did two Helm upgrade operations, it seems to still think that it had done only once, hence looking for an object from the previous Helm release. This leaves the Bundle in a modified state.

Expected Behavior

Helm upgrade is called only once per change.

Steps To Reproduce

I believe this issue can be seen with any chart, but it is more apparent if you have any Job in the chart. Doesn't seem to matter what options are provided in fleet.yaml etc.

Environment

- Architecture: x86
- Fleet Version: v0.10.2
- Cluster:
  - Provider: GKE
  - Options:
  - Kubernetes Version: v1.30.4-gke.1213000

Logs

No response

Anything else?

No response

manno commented 1 month ago

We're looking into the duplicated deploy. However, having a job in a bundle is problematic. Here is an older blog post, that suggests to choose a random name for the job: https://www.suse.com/c/rancher_blog/rancher-fleet-tips-for-kubernetes-jobs-deployment-strategies-in-continuous-delivery-scenarios/

If the job is idempotent a random name would work. We're also researching if jobs can be ignored with bundle diffs.

mikmatko commented 1 month ago

Thanks for the response. In all cases where I've seen this issue, I'm using the following pattern for Job naming:

metadata:
  name: whatever-job-name-{{ .Release.Revision }}

Where {{ .Release.Revision }} means the Helm revision number, which is incremented on each Helm upgrade. I believe what you're suggesting in the blog post, using something like {{ randAlphaNum 8 | lower }} does not make any difference. The Job name is already unique, you wouldn't be able to re-deploy a Job with the same name anyway.

When Fleet initiates Helm upgrade twice, in between, the previous Job instance is deleted. I would be happy to use a workaround which would keep the previous Job instances, but for some reason, they are automatically cleaned up (I don't have any TTL set, that would also cause issues). In a way this can be achieved by using helm.sh/resource-policy: keep but Fleet conflicts with that too, the bundle then complains about orphaned resources.

Currently I don't think bundle diffs support ignoring Jobs. Similar related issues: https://github.com/rancher/fleet/issues/748 and https://github.com/rancher/fleet/issues/2051

My actual use case for running the Jobs is using a Helm post-upgrade hook to notify our Jenkins instance to start running test set after a successful deployment. I'm also using Jobs to run database migrations in several backend services. However I reproduced this issue of duplicated Helm upgrades even with a simple single Job, so it doesn't seem related to using Helm hooks etc.

jhoblitt commented 1 month ago

@mikmatko After an incredible amount of different attempts to get jobs to "not be a problem" I have been setting a helm hook to remove jobs to prevent collision between deployments. E.g.

---
apiVersion: batch/v1
kind: Job
metadata:
  annotations:
    helm.sh/hook: post-install,post-upgrade
    helm.sh/hook-delete-policy: hook-succeeded,before-hook-creation
manno commented 1 month ago

I added https://github.com/rancher/fleet/issues/2051#issuecomment-2382450978 to the 2.10 milestone, to implement "ignore resources".

mikmatko commented 1 month ago

Spent a while debugging the duplicated upgrade issue on current HEAD (41d3f52f137fceef766997fc41956ea343a0e0dd).

Here is a horrible workaround that adds a small jitter to BundleDeploymentReconciler before it fetches the latest BundleDeployment from cluster:

diff --git a/internal/cmd/agent/controller/bundledeployment_controller.go b/internal/cmd/agent/controller/bundledeployment_controller.go
index 4d516227..e6ce4ee1 100644
--- a/internal/cmd/agent/controller/bundledeployment_controller.go
+++ b/internal/cmd/agent/controller/bundledeployment_controller.go
@@ -10,6 +10,7 @@ import (
    "github.com/rancher/fleet/internal/cmd/agent/deployer/driftdetect"
    "github.com/rancher/fleet/internal/cmd/agent/deployer/monitor"
    fleetv1 "github.com/rancher/fleet/pkg/apis/fleet.cattle.io/v1alpha1"
+   "golang.org/x/exp/rand"

    apierrors "k8s.io/apimachinery/pkg/api/errors"
    "k8s.io/apimachinery/pkg/runtime"
@@ -99,6 +100,10 @@ func (r *BundleDeploymentReconciler) Reconcile(ctx context.Context, req ctrl.Req
    ctx = log.IntoContext(ctx, logger)
    key := req.String()

+   // add small jitter to avoid duplicated deployments
+   rand.Seed(uint64(time.Now().UnixNano()))
+   time.Sleep(time.Duration(rand.Intn(5)+2) * time.Second)
+
    // get latest BundleDeployment from cluster
    bd := &fleetv1.BundleDeployment{}
    err := r.Get(ctx, req.NamespacedName, bd)

With this patch, this condition https://github.com/rancher/fleet/blob/41d3f52f137fceef766997fc41956ea343a0e0dd/internal/cmd/agent/deployer/deployer.go#L102 is true. Without this patch, the condition is not true, and we then hit https://github.com/rancher/fleet/blob/41d3f52f137fceef766997fc41956ea343a0e0dd/internal/cmd/agent/deployer/deployer.go#L155 where Helm deployment occurs.

I don't really know why. Something causes the reconciler to run twice around the exact same time. If both cases fetch the BundleDeployment from the cluster at roughly the same time, then in both cases bd.Spec.DeploymentID and bd.Status.AppliedDeploymentID will differ, thus causing Helm deployment getting called twice.

With this patch, the small jitter ensures that something has already happened to BundleDeployment before the other request pokes at it.

Since I'm not familiar with the Fleet codebase, I may have understood something wrong. @manno @weyfonk Does this make sense to you?

In any case, in my testing so far, the above patch has worked. I have not seen duplicated deployments ever since.

mikmatko commented 1 month ago

The duplicate event seems to come from DriftDetect, specifically this bit: https://github.com/rancher/fleet/blob/41d3f52f137fceef766997fc41956ea343a0e0dd/internal/cmd/agent/deployer/driftdetect/driftdetect.go#L115

Causing bd.Status.SyncGeneration to differ from bd.Spec.Options.ForceSyncGeneration. Looks like the DriftDetect part is continuously run, even if DriftDetection is not enabled (which it's not in my case).

Looking through issues and PRs, I noted that @weyfonk had experimented with the idea https://github.com/rancher/fleet/pull/2892. Is there something blocking from skipping drift detection when it's not enabled?

Also likely that @manno https://github.com/rancher/fleet/issues/2916 would fix the issue as well. It would be great if either approach would make it to the next release, thanks :)

weyfonk commented 3 weeks ago

Looking through issues and PRs, I noted that @weyfonk had experimented with the idea https://github.com/rancher/fleet/pull/2892. Is there something blocking from skipping drift detection when it's not enabled?

That PR would break a few things, because while drift correction can be disabled, drift detection is necessary for updating statuses of resources to reflect that drift has happened. That's why drift detection is never disabled, even when drift correction is.

2916 is likely to be merged soon though, and would be included in a future release :)

manno commented 2 weeks ago

We merged a few PRs. Let's verify if this works.

manno commented 1 week ago

Looking at the logs it seems to be fixed in 0.11 Drift detection still refreshes a lot, which may be avoided by storing resources, or a hash, or the helm manifest id of the last refresh. The log message regarding "updating status" is not conditional and doesn't indicate the status actually updated.

fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  INFO    bundledeployment.helm-deployer.install  Installing helm release {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"simple-simple-manifest","namespace":"cluster-fleet-local-local-1a3d67d0a899"}, "namespace": "cluster-fleet-local-local-1a3d67d0a899", "name": "simple-simple-manifest", "reconcileID": "056cc1b6-6f20-4bbd-8a59-f2d198bc853b", "commit": "aa08d490ac38de26a554377d0b07c339b68cf5a8", "dryRun": false}
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   bundledeployment.helmSDK    API Version list given outside of client only mode, this list will be ignored   {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"simple-simple-manifest","namespace":"cluster-fleet-local-local-1a3d67d0a899"}, "namespace": "cluster-fleet-local-local-1a3d67d0a899", "name": "simple-simple-manifest", "reconcileID": "056cc1b6-6f20-4bbd-8a59-f2d198bc853b"}
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  INFO    bundledeployment.deploy-bundle  Deployed bundle {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"simple-simple-manifest","namespace":"cluster-fleet-local-local-1a3d67d0a899"}, "namespace": "cluster-fleet-local-local-1a3d67d0a899", "name": "simple-simple-manifest", "reconcileID": "056cc1b6-6f20-4bbd-8a59-f2d198bc853b", "deploymentID": "s-e2a58281f510ab11e18ff12280cd49bebf77ba5fa1b9072a350fb5968f7e0:8eb65214000b26d62f838aefe18329128f2fb59e583c51ab43890a74a4f532f3", "appliedDeploymentID": "", "release": "simple/simple-simple-manifest:1", "DeploymentID": "s-e2a58281f510ab11e18ff12280cd49bebf77ba5fa1b9072a350fb5968f7e0:8eb65214000b26d62f838aefe18329128f2fb59e583c51ab43890a74a4f532f3"}
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   helmSDK getting history for release simple-simple-manifest
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   helmSDK getting history for release simple-simple-manifest
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   bundledeployment.drift-detect   Refreshing drift detection  {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"simple-simple-manifest","namespace":"cluster-fleet-local-local-1a3d67d0a899"}, "namespace": "cluster-fleet-local-local-1a3d67d0a899", "name": "simple-simple-manifest", "reconcileID": "056cc1b6-6f20-4bbd-8a59-f2d198bc853b", "initialResourceVersion": "1005688"}
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   bundledeployment    Reconcile finished, updating the bundledeployment status    {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"simple-simple-manifest","namespace":"cluster-fleet-local-local-1a3d67d0a899"}, "namespace": "cluster-fleet-local-local-1a3d67d0a899", "name": "simple-simple-manifest", "reconcileID": "056cc1b6-6f20-4bbd-8a59-f2d198bc853b"}
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   helmSDK getting history for release simple-simple-manifest
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   helmSDK getting history for release simple-simple-manifest
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   helmSDK getting history for release simple-simple-manifest
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   bundledeployment.drift-detect   Refreshing drift detection  {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"simple-simple-manifest","namespace":"cluster-fleet-local-local-1a3d67d0a899"}, "namespace": "cluster-fleet-local-local-1a3d67d0a899", "name": "simple-simple-manifest", "reconcileID": "49cedb5b-f68e-4a48-bf43-2dd0647b6046", "initialResourceVersion": "1005700"}
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   bundledeployment    Reconcile finished, updating the bundledeployment status    {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"simple-simple-manifest","namespace":"cluster-fleet-local-local-1a3d67d0a899"}, "namespace": "cluster-fleet-local-local-1a3d67d0a899", "name": "simple-simple-manifest", "reconcileID": "49cedb5b-f68e-4a48-bf43-2dd0647b6046"}
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   helmSDK getting history for release simple-simple-manifest
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   helmSDK getting history for release simple-simple-manifest
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   helmSDK getting history for release simple-simple-manifest
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   bundledeployment.drift-detect   Refreshing drift detection  {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"simple-simple-manifest","namespace":"cluster-fleet-local-local-1a3d67d0a899"}, "namespace": "cluster-fleet-local-local-1a3d67d0a899", "name": "simple-simple-manifest", "reconcileID": "c6d99d1c-5d3a-4a6c-a314-ec63f35a4f1c", "initialResourceVersion": "1005701"}
fleet-agent-0 fleet-agent 2024-10-30T13:52:51Z  DEBUG   bundledeployment    Reconcile finished, updating the bundledeployment status    {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"simple-simple-manifest","namespace":"cluster-fleet-local-local-1a3d67d0a899"}, "namespace": "cluster-fleet-local-local-1a3d67d0a899", "name": "simple-simple-manifest", "reconcileID": "c6d99d1c-5d3a-4a6c-a314-ec63f35a4f1c"}
manno commented 1 week ago

Additional QA

Problem

A change would deploy twice.

Solution

We made sure the status is not overwritten and switched to an event channel. Especially the new event channel controller (#2942) should help against the re-deploy observed in this issue.

sbulage commented 1 week ago

System Information

Rancher Version Fleet Version
v2.10.0-alpha5 fleet:v0.11.0-beta.3

Steps performed to validate this issue


Logs from the Fleet agent pod (drift-detect, drift-reconciler)

fleet-agent-0 pod logs with Debug Level-5 ``` 2024-11-04T12:34:15Z DEBUG drift DesiredSet - Updated plan with patch {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3d848df8-a890-4f92-8873-0abdd6218d92", "setID": "default-test-drift-gitjob-nginx", "gvk": "apps/v1, Kind=Deployment", "name": "nginx-keep-3", "namespace": "nginx", "patch": "{\"spec\":{\"replicas\":3}}"} 2024-11-04T12:34:15Z DEBUG bundledeployment.drift-detect Notifying driftdetect reconciler of a resource change {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "a147df55-824c-4f94-aed9-89a35b5f285b", "initialResourceVersion": "25917", "triggeredBy": "nginx/nginx-keep-3"} 2024-11-04T12:34:15Z INFO drift.update-status Status not ready {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3d848df8-a890-4f92-8873-0abdd6218d92", "error": "deployment.apps nginx/nginx-keep-3 [progressing] Deployment generation is 11, but latest observed generation is 10"} 2024-11-04T12:34:15Z INFO drift.remove-external-changes Drift correction: rollback {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3d848df8-a890-4f92-8873-0abdd6218d92"} I1104 12:34:15.784690 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.785080 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:15Z DEBUG bundledeployment.drift-detect Notifying driftdetect reconciler of a resource change {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "a147df55-824c-4f94-aed9-89a35b5f285b", "initialResourceVersion": "25917", "triggeredBy": "nginx/nginx-keep-3"} I1104 12:34:15.795722 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:15Z DEBUG drift.helmSDK preparing rollback of test-drift-gitjob-nginx {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3d848df8-a890-4f92-8873-0abdd6218d92"} 2024-11-04T12:34:15Z DEBUG drift.helmSDK rolling back test-drift-gitjob-nginx (current: v15, target: v15) {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3d848df8-a890-4f92-8873-0abdd6218d92"} 2024-11-04T12:34:15Z DEBUG drift.helmSDK creating rolled back release for test-drift-gitjob-nginx {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3d848df8-a890-4f92-8873-0abdd6218d92"} 2024-11-04T12:34:15Z DEBUG drift.helmSDK performing rollback of test-drift-gitjob-nginx {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3d848df8-a890-4f92-8873-0abdd6218d92"} I1104 12:34:15.805994 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.808912 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.809349 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.812921 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:15Z DEBUG bundledeployment.drift-detect Notifying driftdetect reconciler of a resource change {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "a147df55-824c-4f94-aed9-89a35b5f285b", "initialResourceVersion": "25917", "triggeredBy": "nginx/nginx-keep-3"} 2024-11-04T12:34:15Z DEBUG drift.helmSDK superseding previous deployment 15 {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3d848df8-a890-4f92-8873-0abdd6218d92"} 2024-11-04T12:34:15Z DEBUG bundledeployment.drift-detect Notifying driftdetect reconciler of a resource change {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "a147df55-824c-4f94-aed9-89a35b5f285b", "initialResourceVersion": "25917", "triggeredBy": "nginx/nginx-keep-3"} 2024-11-04T12:34:15Z DEBUG drift.helmSDK updating status for rolled back release for test-drift-gitjob-nginx {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3d848df8-a890-4f92-8873-0abdd6218d92"} 2024-11-04T12:34:15Z DEBUG bundledeployment.drift-detect Notifying driftdetect reconciler of a resource change {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "a147df55-824c-4f94-aed9-89a35b5f285b", "initialResourceVersion": "25917", "triggeredBy": "nginx/nginx-keep-3"} 2024-11-04T12:34:15Z DEBUG drift Reconcile finished, updating the bundledeployment status {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3d848df8-a890-4f92-8873-0abdd6218d92"} 2024-11-04T12:34:15Z DEBUG bundledeployment.drift-detect Notifying driftdetect reconciler of a resource change {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "a147df55-824c-4f94-aed9-89a35b5f285b", "initialResourceVersion": "25917", "triggeredBy": "nginx/nginx-keep-3"} 2024-11-04T12:34:15Z LEVEL(-5) Reconcile successful {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3d848df8-a890-4f92-8873-0abdd6218d92"} 2024-11-04T12:34:15Z LEVEL(-5) Reconciling {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "5f36e709-245a-4fe4-8d61-49fb9f0bdeb4"} 2024-11-04T12:34:15Z LEVEL(-5) Reconciling {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "2ec9e2c3-dc3f-4748-9ba9-a700cca108b8"} 2024-11-04T12:34:15Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:15Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:15Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:15Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:15Z DEBUG drift Reconcile finished, updating the bundledeployment status {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "5f36e709-245a-4fe4-8d61-49fb9f0bdeb4"} 2024-11-04T12:34:15Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:15Z LEVEL(-4) bundledeployment DesiredSet - Looking at patch for fields {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "2ec9e2c3-dc3f-4748-9ba9-a700cca108b8", "setID": "default-test-drift-gitjob-nginx", "gvk": "apps/v1, Kind=Deployment", "name": "nginx-keep-3", "namespace": "nginx", "patch": "{\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\"}}}", "modified": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"labels\":{\"app\":\"nginx\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\"},\"spec\":{\"replicas\":3,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"template\":{\"metadata\":{\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80}]}]}}}}", "current": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"deployment.kubernetes.io/revision\":\"1\",\"meta.helm.sh/release-name\":\"test-drift-gitjob-nginx\",\"meta.helm.sh/release-namespace\":\"nginx\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"creationTimestamp\":\"2024-11-04T11:38:06Z\",\"finalizers\":[\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\"],\"generation\":12,\"labels\":{\"app\":\"nginx\",\"app.kubernetes.io/managed-by\":\"Helm\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"managedFields\":[{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:finalizers\":{\".\":{},\"v:\\\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\\\"\":{}}}},\"manager\":\"agent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:meta.helm.sh/release-name\":{},\"f:meta.helm.sh/release-namespace\":{},\"f:objectset.rio.cattle.io/id\":{}},\"f:labels\":{\".\":{},\"f:app\":{},\"f:app.kubernetes.io/managed-by\":{},\"f:objectset.rio.cattle.io/hash\":{}}},\"f:spec\":{\"f:progressDeadlineSeconds\":{},\"f:replicas\":{},\"f:revisionHistoryLimit\":{},\"f:selector\":{},\"f:strategy\":{\"f:rollingUpdate\":{\".\":{},\"f:maxSurge\":{},\"f:maxUnavailable\":{}},\"f:type\":{}},\"f:template\":{\"f:metadata\":{\"f:labels\":{\".\":{},\"f:app\":{}}},\"f:spec\":{\"f:containers\":{\"k:{\\\"name\\\":\\\"nginx\\\"}\":{\".\":{},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:ports\":{\".\":{},\"k:{\\\"containerPort\\\":80,\\\"protocol\\\":\\\"TCP\\\"}\":{\".\":{},\"f:containerPort\":{},\"f:protocol\":{}}},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{}}},\"f:dnsPolicy\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:terminationGracePeriodSeconds\":{}}}}},\"manager\":\"fleetagent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\"f:deployment.kubernetes.io/revision\":{}}},\"f:status\":{\"f:availableReplicas\":{},\"f:conditions\":{\".\":{},\"k:{\\\"type\\\":\\\"Available\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Progressing\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}}},\"f:observedGeneration\":{},\"f:readyReplicas\":{},\"f:replicas\":{},\"f:updatedReplicas\":{}}},\"manager\":\"k3s\",\"operation\":\"Update\",\"subresource\":\"status\",\"time\":\"2024-11-04T12:34:15Z\"}],\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\",\"resourceVersion\":\"10726\",\"uid\":\"ae83ad21-bce5-4a78-9814-d2b9e0d71534\"},\"spec\":{\"progressDeadlineSeconds\":600,\"replicas\":3,\"revisionHistoryLimit\":10,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"strategy\":{\"rollingUpdate\":{\"maxSurge\":\"25%\",\"maxUnavailable\":\"25%\"},\"type\":\"RollingUpdate\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80,\"protocol\":\"TCP\"}],\"resources\":{},\"terminationMessagePath\":\"/dev/termination-log\",\"terminationMessagePolicy\":\"File\"}],\"dnsPolicy\":\"ClusterFirst\",\"restartPolicy\":\"Always\",\"schedulerName\":\"default-scheduler\",\"securityContext\":{},\"terminationGracePeriodSeconds\":30}}},\"status\":{\"availableReplicas\":3,\"conditions\":[{\"lastTransitionTime\":\"2024-11-04T11:38:06Z\",\"lastUpdateTime\":\"2024-11-04T11:38:09Z\",\"message\":\"ReplicaSet \\\"nginx-keep-3-86dcfdf4c6\\\" has successfully progressed.\",\"reason\":\"NewReplicaSetAvailable\",\"status\":\"True\",\"type\":\"Progressing\"},{\"lastTransitionTime\":\"2024-11-04T12:16:07Z\",\"lastUpdateTime\":\"2024-11-04T12:16:07Z\",\"message\":\"Deployment has minimum availability.\",\"reason\":\"MinimumReplicasAvailable\",\"status\":\"True\",\"type\":\"Available\"}],\"observedGeneration\":12,\"readyReplicas\":3,\"replicas\":4,\"updatedReplicas\":4}}"} 2024-11-04T12:34:15Z INFO bundledeployment.update-status Status not ready {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "2ec9e2c3-dc3f-4748-9ba9-a700cca108b8", "error": "deployment.apps nginx/nginx-keep-3 [progressing] Pending termination: 1"} 2024-11-04T12:34:15Z DEBUG bundledeployment.drift-detect Refreshing drift detection {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "2ec9e2c3-dc3f-4748-9ba9-a700cca108b8", "initialResourceVersion": "26405"} 2024-11-04T12:34:15Z DEBUG bundledeployment Reconcile finished, updating the bundledeployment status {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "2ec9e2c3-dc3f-4748-9ba9-a700cca108b8"} 2024-11-04T12:34:15Z DEBUG bundledeployment.drift-detect Notifying driftdetect reconciler of a resource change {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "2ec9e2c3-dc3f-4748-9ba9-a700cca108b8", "initialResourceVersion": "26405", "triggeredBy": "nginx/nginx-keep-3"} 2024-11-04T12:34:15Z LEVEL(-5) Reconcile successful {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "5f36e709-245a-4fe4-8d61-49fb9f0bdeb4"} 2024-11-04T12:34:15Z LEVEL(-5) Reconciling {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "52115c94-8ca0-4414-b296-b7bb0b55e751"} 2024-11-04T12:34:15Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:15Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:15Z DEBUG drift Reconcile finished, updating the bundledeployment status {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "52115c94-8ca0-4414-b296-b7bb0b55e751"} 2024-11-04T12:34:15Z LEVEL(-5) Reconcile successful {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "2ec9e2c3-dc3f-4748-9ba9-a700cca108b8"} 2024-11-04T12:34:15Z LEVEL(-5) Reconciling {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} 2024-11-04T12:34:15Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx I1104 12:34:15.884254 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.884663 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.891885 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.892129 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} I1104 12:34:15.896205 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.899578 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} I1104 12:34:15.900023 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.901550 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.901905 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.903412 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK dry run for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} I1104 12:34:15.903702 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.904033 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.910457 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:15Z INFO bundledeployment.helm-deployer.install Upgrading helm release {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697", "commit": "41fa4e127a5d5e0405080ada79a421494ad37939", "dryRun": false} I1104 12:34:15.910709 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} I1104 12:34:15.911971 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.912748 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.912965 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.913193 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.935808 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.940157 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} I1104 12:34:15.940899 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.943417 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.943633 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.943837 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.944092 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.966261 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:15.967761 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK creating upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK updating status for upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} 2024-11-04T12:34:15Z INFO bundledeployment.deploy-bundle Deployed bundle {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697", "deploymentID": "s-3caf66005e9d660a1c403e9c482cb0cfd8713de42863cf4e40d325cf48a38:f53315e8949487b1c2ec483def491113130b428590a6b53e07db5f91ee7d186f", "appliedDeploymentID": "s-3caf66005e9d660a1c403e9c482cb0cfd8713de42863cf4e40d325cf48a38:f53315e8949487b1c2ec483def491113130b428590a6b53e07db5f91ee7d186f", "release": "nginx/test-drift-gitjob-nginx:17", "DeploymentID": "s-3caf66005e9d660a1c403e9c482cb0cfd8713de42863cf4e40d325cf48a38:f53315e8949487b1c2ec483def491113130b428590a6b53e07db5f91ee7d186f"} 2024-11-04T12:34:15Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:15Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:15Z LEVEL(-4) bundledeployment DesiredSet - Looking at patch for fields {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697", "setID": "default-test-drift-gitjob-nginx", "gvk": "apps/v1, Kind=Deployment", "name": "nginx-keep-3", "namespace": "nginx", "patch": "{\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\"}}}", "modified": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"labels\":{\"app\":\"nginx\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\"},\"spec\":{\"replicas\":3,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"template\":{\"metadata\":{\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80}]}]}}}}", "current": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"deployment.kubernetes.io/revision\":\"1\",\"meta.helm.sh/release-name\":\"test-drift-gitjob-nginx\",\"meta.helm.sh/release-namespace\":\"nginx\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"creationTimestamp\":\"2024-11-04T11:38:06Z\",\"finalizers\":[\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\"],\"generation\":12,\"labels\":{\"app\":\"nginx\",\"app.kubernetes.io/managed-by\":\"Helm\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"managedFields\":[{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:finalizers\":{\".\":{},\"v:\\\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\\\"\":{}}}},\"manager\":\"agent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:meta.helm.sh/release-name\":{},\"f:meta.helm.sh/release-namespace\":{},\"f:objectset.rio.cattle.io/id\":{}},\"f:labels\":{\".\":{},\"f:app\":{},\"f:app.kubernetes.io/managed-by\":{},\"f:objectset.rio.cattle.io/hash\":{}}},\"f:spec\":{\"f:progressDeadlineSeconds\":{},\"f:replicas\":{},\"f:revisionHistoryLimit\":{},\"f:selector\":{},\"f:strategy\":{\"f:rollingUpdate\":{\".\":{},\"f:maxSurge\":{},\"f:maxUnavailable\":{}},\"f:type\":{}},\"f:template\":{\"f:metadata\":{\"f:labels\":{\".\":{},\"f:app\":{}}},\"f:spec\":{\"f:containers\":{\"k:{\\\"name\\\":\\\"nginx\\\"}\":{\".\":{},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:ports\":{\".\":{},\"k:{\\\"containerPort\\\":80,\\\"protocol\\\":\\\"TCP\\\"}\":{\".\":{},\"f:containerPort\":{},\"f:protocol\":{}}},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{}}},\"f:dnsPolicy\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:terminationGracePeriodSeconds\":{}}}}},\"manager\":\"fleetagent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\"f:deployment.kubernetes.io/revision\":{}}},\"f:status\":{\"f:availableReplicas\":{},\"f:conditions\":{\".\":{},\"k:{\\\"type\\\":\\\"Available\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Progressing\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}}},\"f:observedGeneration\":{},\"f:readyReplicas\":{},\"f:replicas\":{},\"f:updatedReplicas\":{}}},\"manager\":\"k3s\",\"operation\":\"Update\",\"subresource\":\"status\",\"time\":\"2024-11-04T12:34:15Z\"}],\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\",\"resourceVersion\":\"10730\",\"uid\":\"ae83ad21-bce5-4a78-9814-d2b9e0d71534\"},\"spec\":{\"progressDeadlineSeconds\":600,\"replicas\":3,\"revisionHistoryLimit\":10,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"strategy\":{\"rollingUpdate\":{\"maxSurge\":\"25%\",\"maxUnavailable\":\"25%\"},\"type\":\"RollingUpdate\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80,\"protocol\":\"TCP\"}],\"resources\":{},\"terminationMessagePath\":\"/dev/termination-log\",\"terminationMessagePolicy\":\"File\"}],\"dnsPolicy\":\"ClusterFirst\",\"restartPolicy\":\"Always\",\"schedulerName\":\"default-scheduler\",\"securityContext\":{},\"terminationGracePeriodSeconds\":30}}},\"status\":{\"availableReplicas\":3,\"conditions\":[{\"lastTransitionTime\":\"2024-11-04T11:38:06Z\",\"lastUpdateTime\":\"2024-11-04T11:38:09Z\",\"message\":\"ReplicaSet \\\"nginx-keep-3-86dcfdf4c6\\\" has successfully progressed.\",\"reason\":\"NewReplicaSetAvailable\",\"status\":\"True\",\"type\":\"Progressing\"},{\"lastTransitionTime\":\"2024-11-04T12:16:07Z\",\"lastUpdateTime\":\"2024-11-04T12:16:07Z\",\"message\":\"Deployment has minimum availability.\",\"reason\":\"MinimumReplicasAvailable\",\"status\":\"True\",\"type\":\"Available\"}],\"observedGeneration\":12,\"readyReplicas\":3,\"replicas\":3,\"updatedReplicas\":3}}"} 2024-11-04T12:34:15Z DEBUG bundledeployment.drift-detect Refreshing drift detection {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697", "initialResourceVersion": "26406"} 2024-11-04T12:34:15Z DEBUG bundledeployment Reconcile finished, updating the bundledeployment status {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} 2024-11-04T12:34:16Z LEVEL(-5) Reconcile successful {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} 2024-11-04T12:34:16Z LEVEL(-5) Reconciling {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} 2024-11-04T12:34:16Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx I1104 12:34:16.008620 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.009032 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.016439 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.016667 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} I1104 12:34:16.018458 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.021465 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} I1104 12:34:16.021929 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.023780 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.024130 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.025614 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK dry run for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} I1104 12:34:16.025911 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.026258 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.047061 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:16Z INFO bundledeployment.helm-deployer.install Upgrading helm release {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177", "commit": "41fa4e127a5d5e0405080ada79a421494ad37939", "dryRun": false} I1104 12:34:16.047319 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} I1104 12:34:16.048845 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.049712 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.049916 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.050104 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.080658 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.082439 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} I1104 12:34:16.082861 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.084367 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.084499 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.084634 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.084775 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.102979 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:16.104557 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK creating upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK updating status for upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} 2024-11-04T12:34:16Z INFO bundledeployment.deploy-bundle Deployed bundle {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177", "deploymentID": "s-3caf66005e9d660a1c403e9c482cb0cfd8713de42863cf4e40d325cf48a38:f53315e8949487b1c2ec483def491113130b428590a6b53e07db5f91ee7d186f", "appliedDeploymentID": "s-3caf66005e9d660a1c403e9c482cb0cfd8713de42863cf4e40d325cf48a38:f53315e8949487b1c2ec483def491113130b428590a6b53e07db5f91ee7d186f", "release": "nginx/test-drift-gitjob-nginx:18", "DeploymentID": "s-3caf66005e9d660a1c403e9c482cb0cfd8713de42863cf4e40d325cf48a38:f53315e8949487b1c2ec483def491113130b428590a6b53e07db5f91ee7d186f"} 2024-11-04T12:34:16Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:16Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:16Z LEVEL(-4) bundledeployment DesiredSet - Looking at patch for fields {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177", "setID": "default-test-drift-gitjob-nginx", "gvk": "apps/v1, Kind=Deployment", "name": "nginx-keep-3", "namespace": "nginx", "patch": "{\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\"}}}", "modified": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"labels\":{\"app\":\"nginx\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\"},\"spec\":{\"replicas\":3,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"template\":{\"metadata\":{\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80}]}]}}}}", "current": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"deployment.kubernetes.io/revision\":\"1\",\"meta.helm.sh/release-name\":\"test-drift-gitjob-nginx\",\"meta.helm.sh/release-namespace\":\"nginx\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"creationTimestamp\":\"2024-11-04T11:38:06Z\",\"finalizers\":[\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\"],\"generation\":12,\"labels\":{\"app\":\"nginx\",\"app.kubernetes.io/managed-by\":\"Helm\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"managedFields\":[{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:finalizers\":{\".\":{},\"v:\\\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\\\"\":{}}}},\"manager\":\"agent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:meta.helm.sh/release-name\":{},\"f:meta.helm.sh/release-namespace\":{},\"f:objectset.rio.cattle.io/id\":{}},\"f:labels\":{\".\":{},\"f:app\":{},\"f:app.kubernetes.io/managed-by\":{},\"f:objectset.rio.cattle.io/hash\":{}}},\"f:spec\":{\"f:progressDeadlineSeconds\":{},\"f:replicas\":{},\"f:revisionHistoryLimit\":{},\"f:selector\":{},\"f:strategy\":{\"f:rollingUpdate\":{\".\":{},\"f:maxSurge\":{},\"f:maxUnavailable\":{}},\"f:type\":{}},\"f:template\":{\"f:metadata\":{\"f:labels\":{\".\":{},\"f:app\":{}}},\"f:spec\":{\"f:containers\":{\"k:{\\\"name\\\":\\\"nginx\\\"}\":{\".\":{},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:ports\":{\".\":{},\"k:{\\\"containerPort\\\":80,\\\"protocol\\\":\\\"TCP\\\"}\":{\".\":{},\"f:containerPort\":{},\"f:protocol\":{}}},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{}}},\"f:dnsPolicy\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:terminationGracePeriodSeconds\":{}}}}},\"manager\":\"fleetagent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\"f:deployment.kubernetes.io/revision\":{}}},\"f:status\":{\"f:availableReplicas\":{},\"f:conditions\":{\".\":{},\"k:{\\\"type\\\":\\\"Available\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Progressing\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}}},\"f:observedGeneration\":{},\"f:readyReplicas\":{},\"f:replicas\":{},\"f:updatedReplicas\":{}}},\"manager\":\"k3s\",\"operation\":\"Update\",\"subresource\":\"status\",\"time\":\"2024-11-04T12:34:15Z\"}],\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\",\"resourceVersion\":\"10730\",\"uid\":\"ae83ad21-bce5-4a78-9814-d2b9e0d71534\"},\"spec\":{\"progressDeadlineSeconds\":600,\"replicas\":3,\"revisionHistoryLimit\":10,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"strategy\":{\"rollingUpdate\":{\"maxSurge\":\"25%\",\"maxUnavailable\":\"25%\"},\"type\":\"RollingUpdate\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80,\"protocol\":\"TCP\"}],\"resources\":{},\"terminationMessagePath\":\"/dev/termination-log\",\"terminationMessagePolicy\":\"File\"}],\"dnsPolicy\":\"ClusterFirst\",\"restartPolicy\":\"Always\",\"schedulerName\":\"default-scheduler\",\"securityContext\":{},\"terminationGracePeriodSeconds\":30}}},\"status\":{\"availableReplicas\":3,\"conditions\":[{\"lastTransitionTime\":\"2024-11-04T11:38:06Z\",\"lastUpdateTime\":\"2024-11-04T11:38:09Z\",\"message\":\"ReplicaSet \\\"nginx-keep-3-86dcfdf4c6\\\" has successfully progressed.\",\"reason\":\"NewReplicaSetAvailable\",\"status\":\"True\",\"type\":\"Progressing\"},{\"lastTransitionTime\":\"2024-11-04T12:16:07Z\",\"lastUpdateTime\":\"2024-11-04T12:16:07Z\",\"message\":\"Deployment has minimum availability.\",\"reason\":\"MinimumReplicasAvailable\",\"status\":\"True\",\"type\":\"Available\"}],\"observedGeneration\":12,\"readyReplicas\":3,\"replicas\":3,\"updatedReplicas\":3}}"} 2024-11-04T12:34:16Z DEBUG bundledeployment.drift-detect Refreshing drift detection {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177", "initialResourceVersion": "26409"} 2024-11-04T12:34:16Z DEBUG bundledeployment Reconcile finished, updating the bundledeployment status {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} 2024-11-04T12:34:16Z LEVEL(-5) Reconcile successful {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} 2024-11-04T12:34:16Z LEVEL(-5) Reconciling {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "f309f228-46be-4155-aa2c-553d423f75b8"} 2024-11-04T12:34:16Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:16Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:16Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:16Z LEVEL(-4) bundledeployment DesiredSet - Looking at patch for fields {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "f309f228-46be-4155-aa2c-553d423f75b8", "setID": "default-test-drift-gitjob-nginx", "gvk": "apps/v1, Kind=Deployment", "name": "nginx-keep-3", "namespace": "nginx", "patch": "{\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\"}}}", "modified": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"labels\":{\"app\":\"nginx\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\"},\"spec\":{\"replicas\":3,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"template\":{\"metadata\":{\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80}]}]}}}}", "current": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"deployment.kubernetes.io/revision\":\"1\",\"meta.helm.sh/release-name\":\"test-drift-gitjob-nginx\",\"meta.helm.sh/release-namespace\":\"nginx\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"creationTimestamp\":\"2024-11-04T11:38:06Z\",\"finalizers\":[\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\"],\"generation\":12,\"labels\":{\"app\":\"nginx\",\"app.kubernetes.io/managed-by\":\"Helm\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"managedFields\":[{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:finalizers\":{\".\":{},\"v:\\\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\\\"\":{}}}},\"manager\":\"agent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:meta.helm.sh/release-name\":{},\"f:meta.helm.sh/release-namespace\":{},\"f:objectset.rio.cattle.io/id\":{}},\"f:labels\":{\".\":{},\"f:app\":{},\"f:app.kubernetes.io/managed-by\":{},\"f:objectset.rio.cattle.io/hash\":{}}},\"f:spec\":{\"f:progressDeadlineSeconds\":{},\"f:replicas\":{},\"f:revisionHistoryLimit\":{},\"f:selector\":{},\"f:strategy\":{\"f:rollingUpdate\":{\".\":{},\"f:maxSurge\":{},\"f:maxUnavailable\":{}},\"f:type\":{}},\"f:template\":{\"f:metadata\":{\"f:labels\":{\".\":{},\"f:app\":{}}},\"f:spec\":{\"f:containers\":{\"k:{\\\"name\\\":\\\"nginx\\\"}\":{\".\":{},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:ports\":{\".\":{},\"k:{\\\"containerPort\\\":80,\\\"protocol\\\":\\\"TCP\\\"}\":{\".\":{},\"f:containerPort\":{},\"f:protocol\":{}}},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{}}},\"f:dnsPolicy\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:terminationGracePeriodSeconds\":{}}}}},\"manager\":\"fleetagent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\"f:deployment.kubernetes.io/revision\":{}}},\"f:status\":{\"f:availableReplicas\":{},\"f:conditions\":{\".\":{},\"k:{\\\"type\\\":\\\"Available\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Progressing\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}}},\"f:observedGeneration\":{},\"f:readyReplicas\":{},\"f:replicas\":{},\"f:updatedReplicas\":{}}},\"manager\":\"k3s\",\"operation\":\"Update\",\"subresource\":\"status\",\"time\":\"2024-11-04T12:34:15Z\"}],\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\",\"resourceVersion\":\"10730\",\"uid\":\"ae83ad21-bce5-4a78-9814-d2b9e0d71534\"},\"spec\":{\"progressDeadlineSeconds\":600,\"replicas\":3,\"revisionHistoryLimit\":10,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"strategy\":{\"rollingUpdate\":{\"maxSurge\":\"25%\",\"maxUnavailable\":\"25%\"},\"type\":\"RollingUpdate\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80,\"protocol\":\"TCP\"}],\"resources\":{},\"terminationMessagePath\":\"/dev/termination-log\",\"terminationMessagePolicy\":\"File\"}],\"dnsPolicy\":\"ClusterFirst\",\"restartPolicy\":\"Always\",\"schedulerName\":\"default-scheduler\",\"securityContext\":{},\"terminationGracePeriodSeconds\":30}}},\"status\":{\"availableReplicas\":3,\"conditions\":[{\"lastTransitionTime\":\"2024-11-04T11:38:06Z\",\"lastUpdateTime\":\"2024-11-04T11:38:09Z\",\"message\":\"ReplicaSet \\\"nginx-keep-3-86dcfdf4c6\\\" has successfully progressed.\",\"reason\":\"NewReplicaSetAvailable\",\"status\":\"True\",\"type\":\"Progressing\"},{\"lastTransitionTime\":\"2024-11-04T12:16:07Z\",\"lastUpdateTime\":\"2024-11-04T12:16:07Z\",\"message\":\"Deployment has minimum availability.\",\"reason\":\"MinimumReplicasAvailable\",\"status\":\"True\",\"type\":\"Available\"}],\"observedGeneration\":12,\"readyReplicas\":3,\"replicas\":3,\"updatedReplicas\":3}}"} 2024-11-04T12:34:16Z DEBUG bundledeployment.drift-detect Refreshing drift detection {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "f309f228-46be-4155-aa2c-553d423f75b8", "initialResourceVersion": "26417"} 2024-11-04T12:34:16Z DEBUG bundledeployment Reconcile finished, updating the bundledeployment status {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "f309f228-46be-4155-aa2c-553d423f75b8"} 2024-11-04T12:34:16Z LEVEL(-5) Reconcile successful {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "f309f228-46be-4155-aa2c-553d423f75b8"} 2024-11-04T12:34:16Z LEVEL(-5) Reconciling {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "fca9b46b-5f34-451e-ab30-5ef1350e3ba5"} 2024-11-04T12:34:16Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:16Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:16Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:16Z LEVEL(-4) bundledeployment DesiredSet - Looking at patch for fields {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "fca9b46b-5f34-451e-ab30-5ef1350e3ba5", "setID": "default-test-drift-gitjob-nginx", "gvk": "apps/v1, Kind=Deployment", "name": "nginx-keep-3", "namespace": "nginx", "patch": "{\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\"}}}", "modified": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"labels\":{\"app\":\"nginx\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\"},\"spec\":{\"replicas\":3,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"template\":{\"metadata\":{\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80}]}]}}}}", "current": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"deployment.kubernetes.io/revision\":\"1\",\"meta.helm.sh/release-name\":\"test-drift-gitjob-nginx\",\"meta.helm.sh/release-namespace\":\"nginx\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"creationTimestamp\":\"2024-11-04T11:38:06Z\",\"finalizers\":[\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\"],\"generation\":12,\"labels\":{\"app\":\"nginx\",\"app.kubernetes.io/managed-by\":\"Helm\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"managedFields\":[{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:finalizers\":{\".\":{},\"v:\\\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\\\"\":{}}}},\"manager\":\"agent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:meta.helm.sh/release-name\":{},\"f:meta.helm.sh/release-namespace\":{},\"f:objectset.rio.cattle.io/id\":{}},\"f:labels\":{\".\":{},\"f:app\":{},\"f:app.kubernetes.io/managed-by\":{},\"f:objectset.rio.cattle.io/hash\":{}}},\"f:spec\":{\"f:progressDeadlineSeconds\":{},\"f:replicas\":{},\"f:revisionHistoryLimit\":{},\"f:selector\":{},\"f:strategy\":{\"f:rollingUpdate\":{\".\":{},\"f:maxSurge\":{},\"f:maxUnavailable\":{}},\"f:type\":{}},\"f:template\":{\"f:metadata\":{\"f:labels\":{\".\":{},\"f:app\":{}}},\"f:spec\":{\"f:containers\":{\"k:{\\\"name\\\":\\\"nginx\\\"}\":{\".\":{},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:ports\":{\".\":{},\"k:{\\\"containerPort\\\":80,\\\"protocol\\\":\\\"TCP\\\"}\":{\".\":{},\"f:containerPort\":{},\"f:protocol\":{}}},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{}}},\"f:dnsPolicy\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:terminationGracePeriodSeconds\":{}}}}},\"manager\":\"fleetagent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\"f:deployment.kubernetes.io/revision\":{}}},\"f:status\":{\"f:availableReplicas\":{},\"f:conditions\":{\".\":{},\"k:{\\\"type\\\":\\\"Available\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Progressing\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}}},\"f:observedGeneration\":{},\"f:readyReplicas\":{},\"f:replicas\":{},\"f:updatedReplicas\":{}}},\"manager\":\"k3s\",\"operation\":\"Update\",\"subresource\":\"status\",\"time\":\"2024-11-04T12:34:15Z\"}],\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\",\"resourceVersion\":\"10730\",\"uid\":\"ae83ad21-bce5-4a78-9814-d2b9e0d71534\"},\"spec\":{\"progressDeadlineSeconds\":600,\"replicas\":3,\"revisionHistoryLimit\":10,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"strategy\":{\"rollingUpdate\":{\"maxSurge\":\"25%\",\"maxUnavailable\":\"25%\"},\"type\":\"RollingUpdate\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80,\"protocol\":\"TCP\"}],\"resources\":{},\"terminationMessagePath\":\"/dev/termination-log\",\"terminationMessagePolicy\":\"File\"}],\"dnsPolicy\":\"ClusterFirst\",\"restartPolicy\":\"Always\",\"schedulerName\":\"default-scheduler\",\"securityContext\":{},\"terminationGracePeriodSeconds\":30}}},\"status\":{\"availableReplicas\":3,\"conditions\":[{\"lastTransitionTime\":\"2024-11-04T11:38:06Z\",\"lastUpdateTime\":\"2024-11-04T11:38:09Z\",\"message\":\"ReplicaSet \\\"nginx-keep-3-86dcfdf4c6\\\" has successfully progressed.\",\"reason\":\"NewReplicaSetAvailable\",\"status\":\"True\",\"type\":\"Progressing\"},{\"lastTransitionTime\":\"2024-11-04T12:16:07Z\",\"lastUpdateTime\":\"2024-11-04T12:16:07Z\",\"message\":\"Deployment has minimum availability.\",\"reason\":\"MinimumReplicasAvailable\",\"status\":\"True\",\"type\":\"Available\"}],\"observedGeneration\":12,\"readyReplicas\":3,\"replicas\":3,\"updatedReplicas\":3}}"} 2024-11-04T12:34:16Z DEBUG bundledeployment.drift-detect Refreshing drift detection {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "fca9b46b-5f34-451e-ab30-5ef1350e3ba5", "initialResourceVersion": "26419"} 2024-11-04T12:34:16Z DEBUG bundledeployment Reconcile finished, updating the bundledeployment status {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "fca9b46b-5f34-451e-ab30-5ef1350e3ba5"} 2024-11-04T12:34:16Z LEVEL(-5) Reconcile successful {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "fca9b46b-5f34-451e-ab30-5ef1350e3ba5"} 2024-11-04T12:34:21Z LEVEL(-5) Reconciling {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} 2024-11-04T12:34:21Z LEVEL(-5) Reconcile successful {"controller": "drift-reconciler", "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "52115c94-8ca0-4414-b296-b7bb0b55e751"} 2024-11-04T12:34:21Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx I1104 12:34:21.361024 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.361423 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.369385 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.369758 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} I1104 12:34:21.372714 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.374214 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} I1104 12:34:21.374636 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.375987 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.376354 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.378588 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK dry run for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} I1104 12:34:21.378854 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.379180 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.384629 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:21Z INFO bundledeployment.helm-deployer.install Upgrading helm release {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288", "commit": "41fa4e127a5d5e0405080ada79a421494ad37939", "dryRun": false} I1104 12:34:21.384867 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} I1104 12:34:21.386052 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.386821 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.386953 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.387131 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.406245 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.407627 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} I1104 12:34:21.408005 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.409421 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.409597 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.409778 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.409997 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.427245 1 merged_client_builder.go:121] Using in-cluster configuration I1104 12:34:21.428520 1 merged_client_builder.go:121] Using in-cluster configuration 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK creating upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK updating status for upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} 2024-11-04T12:34:21Z INFO bundledeployment.deploy-bundle Deployed bundle {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288", "deploymentID": "s-3caf66005e9d660a1c403e9c482cb0cfd8713de42863cf4e40d325cf48a38:f53315e8949487b1c2ec483def491113130b428590a6b53e07db5f91ee7d186f", "appliedDeploymentID": "s-3caf66005e9d660a1c403e9c482cb0cfd8713de42863cf4e40d325cf48a38:f53315e8949487b1c2ec483def491113130b428590a6b53e07db5f91ee7d186f", "release": "nginx/test-drift-gitjob-nginx:19", "DeploymentID": "s-3caf66005e9d660a1c403e9c482cb0cfd8713de42863cf4e40d325cf48a38:f53315e8949487b1c2ec483def491113130b428590a6b53e07db5f91ee7d186f"} 2024-11-04T12:34:21Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:21Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:21Z LEVEL(-4) bundledeployment DesiredSet - Looking at patch for fields {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288", "setID": "default-test-drift-gitjob-nginx", "gvk": "apps/v1, Kind=Deployment", "name": "nginx-keep-3", "namespace": "nginx", "patch": "{\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\"}}}", "modified": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"labels\":{\"app\":\"nginx\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\"},\"spec\":{\"replicas\":3,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"template\":{\"metadata\":{\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80}]}]}}}}", "current": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"deployment.kubernetes.io/revision\":\"1\",\"meta.helm.sh/release-name\":\"test-drift-gitjob-nginx\",\"meta.helm.sh/release-namespace\":\"nginx\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"creationTimestamp\":\"2024-11-04T11:38:06Z\",\"finalizers\":[\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\"],\"generation\":12,\"labels\":{\"app\":\"nginx\",\"app.kubernetes.io/managed-by\":\"Helm\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"managedFields\":[{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:finalizers\":{\".\":{},\"v:\\\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\\\"\":{}}}},\"manager\":\"agent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:meta.helm.sh/release-name\":{},\"f:meta.helm.sh/release-namespace\":{},\"f:objectset.rio.cattle.io/id\":{}},\"f:labels\":{\".\":{},\"f:app\":{},\"f:app.kubernetes.io/managed-by\":{},\"f:objectset.rio.cattle.io/hash\":{}}},\"f:spec\":{\"f:progressDeadlineSeconds\":{},\"f:replicas\":{},\"f:revisionHistoryLimit\":{},\"f:selector\":{},\"f:strategy\":{\"f:rollingUpdate\":{\".\":{},\"f:maxSurge\":{},\"f:maxUnavailable\":{}},\"f:type\":{}},\"f:template\":{\"f:metadata\":{\"f:labels\":{\".\":{},\"f:app\":{}}},\"f:spec\":{\"f:containers\":{\"k:{\\\"name\\\":\\\"nginx\\\"}\":{\".\":{},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:ports\":{\".\":{},\"k:{\\\"containerPort\\\":80,\\\"protocol\\\":\\\"TCP\\\"}\":{\".\":{},\"f:containerPort\":{},\"f:protocol\":{}}},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{}}},\"f:dnsPolicy\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:terminationGracePeriodSeconds\":{}}}}},\"manager\":\"fleetagent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\"f:deployment.kubernetes.io/revision\":{}}},\"f:status\":{\"f:availableReplicas\":{},\"f:conditions\":{\".\":{},\"k:{\\\"type\\\":\\\"Available\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Progressing\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}}},\"f:observedGeneration\":{},\"f:readyReplicas\":{},\"f:replicas\":{},\"f:updatedReplicas\":{}}},\"manager\":\"k3s\",\"operation\":\"Update\",\"subresource\":\"status\",\"time\":\"2024-11-04T12:34:15Z\"}],\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\",\"resourceVersion\":\"10730\",\"uid\":\"ae83ad21-bce5-4a78-9814-d2b9e0d71534\"},\"spec\":{\"progressDeadlineSeconds\":600,\"replicas\":3,\"revisionHistoryLimit\":10,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"strategy\":{\"rollingUpdate\":{\"maxSurge\":\"25%\",\"maxUnavailable\":\"25%\"},\"type\":\"RollingUpdate\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80,\"protocol\":\"TCP\"}],\"resources\":{},\"terminationMessagePath\":\"/dev/termination-log\",\"terminationMessagePolicy\":\"File\"}],\"dnsPolicy\":\"ClusterFirst\",\"restartPolicy\":\"Always\",\"schedulerName\":\"default-scheduler\",\"securityContext\":{},\"terminationGracePeriodSeconds\":30}}},\"status\":{\"availableReplicas\":3,\"conditions\":[{\"lastTransitionTime\":\"2024-11-04T11:38:06Z\",\"lastUpdateTime\":\"2024-11-04T11:38:09Z\",\"message\":\"ReplicaSet \\\"nginx-keep-3-86dcfdf4c6\\\" has successfully progressed.\",\"reason\":\"NewReplicaSetAvailable\",\"status\":\"True\",\"type\":\"Progressing\"},{\"lastTransitionTime\":\"2024-11-04T12:16:07Z\",\"lastUpdateTime\":\"2024-11-04T12:16:07Z\",\"message\":\"Deployment has minimum availability.\",\"reason\":\"MinimumReplicasAvailable\",\"status\":\"True\",\"type\":\"Available\"}],\"observedGeneration\":12,\"readyReplicas\":3,\"replicas\":3,\"updatedReplicas\":3}}"} 2024-11-04T12:34:21Z DEBUG bundledeployment.drift-detect Refreshing drift detection {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288", "initialResourceVersion": "26431"} 2024-11-04T12:34:21Z DEBUG bundledeployment Reconcile finished, updating the bundledeployment status {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} 2024-11-04T12:34:21Z LEVEL(-5) Reconcile successful {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} 2024-11-04T12:34:21Z LEVEL(-5) Reconciling {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "a0a0b7fc-6f4c-4d99-ae1f-4d978c8e34c6"} 2024-11-04T12:34:21Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:21Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:21Z DEBUG helmSDK getting history for release test-drift-gitjob-nginx 2024-11-04T12:34:21Z LEVEL(-4) bundledeployment DesiredSet - Looking at patch for fields {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "a0a0b7fc-6f4c-4d99-ae1f-4d978c8e34c6", "setID": "default-test-drift-gitjob-nginx", "gvk": "apps/v1, Kind=Deployment", "name": "nginx-keep-3", "namespace": "nginx", "patch": "{\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\"}}}", "modified": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"objectset.rio.cattle.io/applied\":\"H4sIAAAAAAAA/3SQQW/iMBSE/8uck4ADAdbnPe5hT71UHF6cFzA4tmW/Vq2Q/3sVUBGV6NGe8TczvoCifeGUbfDQoBjz4l2hwtn6ARp/ObrwObEXVJhYaCAh6AvI+yAkNvg8H0N/YiOZpUk2NIZEHDc2LOwMGXikNye1cJZ6SHaU+mDlFPraH6z/QKngqGd3JVGM0LgJ1a/cI+UjNMY/A6mlonHXbVrFivqed2tW3dZ0Y7tZLbebbd+abo7wNPE3uT4zx3qF222OZO7SbM2RzdwlcXTWUIZeVcjs2EhIszCRmOO/p51LqSA8RUfCV+vDpz1fWR4STfBC1nPK0K8X2IkO92ZaNWrdtPg5BRViSHLz35//D0mgd8uyL/tSSvkKAAD//5v5VUboAQAA\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"labels\":{\"app\":\"nginx\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\"},\"spec\":{\"replicas\":3,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"template\":{\"metadata\":{\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80}]}]}}}}", "current": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"deployment.kubernetes.io/revision\":\"1\",\"meta.helm.sh/release-name\":\"test-drift-gitjob-nginx\",\"meta.helm.sh/release-namespace\":\"nginx\",\"objectset.rio.cattle.io/id\":\"default-test-drift-gitjob-nginx\"},\"creationTimestamp\":\"2024-11-04T11:38:06Z\",\"finalizers\":[\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\"],\"generation\":12,\"labels\":{\"app\":\"nginx\",\"app.kubernetes.io/managed-by\":\"Helm\",\"objectset.rio.cattle.io/hash\":\"f9da101af85621e1abbe84e157c5f2630767b2c5\"},\"managedFields\":[{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:finalizers\":{\".\":{},\"v:\\\"wrangler.cattle.io/legacy-k3sBasedUpgrader-deprecation\\\"\":{}}}},\"manager\":\"agent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:meta.helm.sh/release-name\":{},\"f:meta.helm.sh/release-namespace\":{},\"f:objectset.rio.cattle.io/id\":{}},\"f:labels\":{\".\":{},\"f:app\":{},\"f:app.kubernetes.io/managed-by\":{},\"f:objectset.rio.cattle.io/hash\":{}}},\"f:spec\":{\"f:progressDeadlineSeconds\":{},\"f:replicas\":{},\"f:revisionHistoryLimit\":{},\"f:selector\":{},\"f:strategy\":{\"f:rollingUpdate\":{\".\":{},\"f:maxSurge\":{},\"f:maxUnavailable\":{}},\"f:type\":{}},\"f:template\":{\"f:metadata\":{\"f:labels\":{\".\":{},\"f:app\":{}}},\"f:spec\":{\"f:containers\":{\"k:{\\\"name\\\":\\\"nginx\\\"}\":{\".\":{},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:ports\":{\".\":{},\"k:{\\\"containerPort\\\":80,\\\"protocol\\\":\\\"TCP\\\"}\":{\".\":{},\"f:containerPort\":{},\"f:protocol\":{}}},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{}}},\"f:dnsPolicy\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:terminationGracePeriodSeconds\":{}}}}},\"manager\":\"fleetagent\",\"operation\":\"Update\",\"time\":\"2024-11-04T12:34:15Z\"},{\"apiVersion\":\"apps/v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\"f:deployment.kubernetes.io/revision\":{}}},\"f:status\":{\"f:availableReplicas\":{},\"f:conditions\":{\".\":{},\"k:{\\\"type\\\":\\\"Available\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Progressing\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}}},\"f:observedGeneration\":{},\"f:readyReplicas\":{},\"f:replicas\":{},\"f:updatedReplicas\":{}}},\"manager\":\"k3s\",\"operation\":\"Update\",\"subresource\":\"status\",\"time\":\"2024-11-04T12:34:15Z\"}],\"name\":\"nginx-keep-3\",\"namespace\":\"nginx\",\"resourceVersion\":\"10730\",\"uid\":\"ae83ad21-bce5-4a78-9814-d2b9e0d71534\"},\"spec\":{\"progressDeadlineSeconds\":600,\"replicas\":3,\"revisionHistoryLimit\":10,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"strategy\":{\"rollingUpdate\":{\"maxSurge\":\"25%\",\"maxUnavailable\":\"25%\"},\"type\":\"RollingUpdate\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80,\"protocol\":\"TCP\"}],\"resources\":{},\"terminationMessagePath\":\"/dev/termination-log\",\"terminationMessagePolicy\":\"File\"}],\"dnsPolicy\":\"ClusterFirst\",\"restartPolicy\":\"Always\",\"schedulerName\":\"default-scheduler\",\"securityContext\":{},\"terminationGracePeriodSeconds\":30}}},\"status\":{\"availableReplicas\":3,\"conditions\":[{\"lastTransitionTime\":\"2024-11-04T11:38:06Z\",\"lastUpdateTime\":\"2024-11-04T11:38:09Z\",\"message\":\"ReplicaSet \\\"nginx-keep-3-86dcfdf4c6\\\" has successfully progressed.\",\"reason\":\"NewReplicaSetAvailable\",\"status\":\"True\",\"type\":\"Progressing\"},{\"lastTransitionTime\":\"2024-11-04T12:16:07Z\",\"lastUpdateTime\":\"2024-11-04T12:16:07Z\",\"message\":\"Deployment has minimum availability.\",\"reason\":\"MinimumReplicasAvailable\",\"status\":\"True\",\"type\":\"Available\"}],\"observedGeneration\":12,\"readyReplicas\":3,\"replicas\":3,\"updatedReplicas\":3}}"} 2024-11-04T12:34:21Z DEBUG bundledeployment.drift-detect Refreshing drift detection {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "a0a0b7fc-6f4c-4d99-ae1f-4d978c8e34c6", "initialResourceVersion": "26434"} 2024-11-04T12:34:21Z DEBUG bundledeployment Reconcile finished, updating the bundledeployment status {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "a0a0b7fc-6f4c-4d99-ae1f-4d978c8e34c6"} 2024-11-04T12:34:21Z LEVEL(-5) Reconcile successful {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "a0a0b7fc-6f4c-4d99-ae1f-4d978c8e34c6"} ```

Logs showing showing helm-deployer Updating helm release

Fleet-agent-0 pod logs ``` 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK dry run for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} 2024-11-04T12:34:15Z INFO bundledeployment.helm-deployer.install Upgrading helm release {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697", "commit": "41fa4e127a5d5e0405080ada79a421494ad37939", "dryRun": false} 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK creating upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} 2024-11-04T12:34:15Z DEBUG bundledeployment.helmSDK updating status for upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "20232dda-2e44-4557-9ef1-0f5b6330e697"} 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK dry run for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} 2024-11-04T12:34:16Z INFO bundledeployment.helm-deployer.install Upgrading helm release {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177", "commit": "41fa4e127a5d5e0405080ada79a421494ad37939", "dryRun": false} 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK creating upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} 2024-11-04T12:34:16Z DEBUG bundledeployment.helmSDK updating status for upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "3fb46ad8-e102-4625-91b6-ac3d0ffc4177"} 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK dry run for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} 2024-11-04T12:34:21Z INFO bundledeployment.helm-deployer.install Upgrading helm release {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288", "commit": "41fa4e127a5d5e0405080ada79a421494ad37939", "dryRun": false} 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK creating upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} 2024-11-04T12:34:21Z DEBUG bundledeployment.helmSDK updating status for upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "8e0c77b8-345c-4447-8bf0-fb4a12eb6288"} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7f5801ca-ab32-473c-83de-3f99e07bef9c"} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7f5801ca-ab32-473c-83de-3f99e07bef9c"} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK dry run for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7f5801ca-ab32-473c-83de-3f99e07bef9c"} 2024-11-04T13:15:11Z INFO bundledeployment.helm-deployer.install Upgrading helm release {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7f5801ca-ab32-473c-83de-3f99e07bef9c", "commit": "41fa4e127a5d5e0405080ada79a421494ad37939", "dryRun": false} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7f5801ca-ab32-473c-83de-3f99e07bef9c"} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7f5801ca-ab32-473c-83de-3f99e07bef9c"} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK creating upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7f5801ca-ab32-473c-83de-3f99e07bef9c"} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK updating status for upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7f5801ca-ab32-473c-83de-3f99e07bef9c"} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7c84713a-8bb0-4de9-978c-1f1d3c1b3685"} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7c84713a-8bb0-4de9-978c-1f1d3c1b3685"} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK dry run for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7c84713a-8bb0-4de9-978c-1f1d3c1b3685"} 2024-11-04T13:15:11Z INFO bundledeployment.helm-deployer.install Upgrading helm release {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7c84713a-8bb0-4de9-978c-1f1d3c1b3685", "commit": "41fa4e127a5d5e0405080ada79a421494ad37939", "dryRun": false} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK preparing upgrade for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7c84713a-8bb0-4de9-978c-1f1d3c1b3685"} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK performing update for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7c84713a-8bb0-4de9-978c-1f1d3c1b3685"} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK creating upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7c84713a-8bb0-4de9-978c-1f1d3c1b3685"} 2024-11-04T13:15:11Z DEBUG bundledeployment.helmSDK updating status for upgraded release for test-drift-gitjob-nginx {"controller": "bundledeployment", "controllerGroup": "fleet.cattle.io", "controllerKind": "BundleDeployment", "BundleDeployment": {"name":"test-drift-gitjob-nginx","namespace":"cluster-fleet-default-imported-0-f1158df57e01"}, "namespace": "cluster-fleet-default-imported-0-f1158df57e01", "name": "test-drift-gitjob-nginx", "reconcileID": "7c84713a-8bb0-4de9-978c-1f1d3c1b3685"} ```

Note: Intermediate jobs (created by GitJob pods) are getting removed immediately as per latest changes in Fleet.