You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fmt.Sprintf("failed to remove finalizers from Manifest %s: %v", klog.KObj(manifestCopy), err))
}
returnerr
}
// find all referred Base UIDs
varbaseUIDs []string
forkey, val:=rangemanifestCopy.Labels {
ifval==baseKind.Kind {
baseUIDs=append(baseUIDs, key)
}
}
returndeployer.resyncBase(baseUIDs...)
}
What you expected to happen:
Only for Replication scheduling strategy, we could directly trigger the updates of base objects.
For Dividing scheduling strategy, we can only update/trigger base objects after the scheduling finishes. xref #688 and #772
It seems resyncBase are only invoked by the updates of manifests and helmcharts. Maybe we could add a check on subscription scheduling strategy inside func resyncBase.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
Clusternet version:
Clusternet-agent version (user clusternet-agent --version=json):
Clusternet-hub version (user clusternet-hub --version=json):
Kubernetes version (use kubectl version):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Others:
The text was updated successfully, but these errors were encountered:
What happened:
clusternet/pkg/controllermanager/deployer/deployer.go
Lines 984 to 1014 in 44064bf
What you expected to happen:
Only for
Replication
scheduling strategy, we could directly trigger the updates of base objects.For
Dividing
scheduling strategy, we can only update/trigger base objects after the scheduling finishes. xref #688 and #772It seems
resyncBase
are only invoked by the updates of manifests and helmcharts. Maybe we could add a check on subscription scheduling strategy insidefunc resyncBase
.How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
clusternet-agent --version=json
):clusternet-hub --version=json
):kubectl version
):cat /etc/os-release
):uname -a
):The text was updated successfully, but these errors were encountered: