-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoggingLogMetric direct actuation checklist #1690
Comments
Calling this done as remaining TODOs are either not applicable to LLM specifically for its parity b/w a DCL and direct controller or contain simple refactor work like #1702 |
Calling this "done" as merged in #1649 and spike proves that we are at parity b/w the DCL and direct version for the behavior of field set, unmanage, unset here.
|
AFAICT, all the fields have a check for unset intent or are at parity with the DCL controller |
AFAICT, there are no sensitive fields in LoggingLogMetric BUT the directbase controller doesn't handle sensitive fields just yet. #1724 to track its addition |
Calling this done as per #1741 (comment) |
Container Annotations
LLM (dcl based) does not support container annotations as there would be an k8s-config-connector/pkg/dcl/metadata/metadata.go Lines 527 to 531 in 1b48ee4
|
k8s-config-connector/pkg/controller/direct/directbase/directbase_controller.go Lines 230 to 246 in 1b48ee4
|
checked by deleting the (new) CRD for LLM |
Add immutability check in llm controller, for fields: spec.metricDescriptor.metricKind and valueType; Add scenario test cases to verify that the direct controller behaves the same as DCL. |
PR#1750 also add immutability checks for llm controller in deny-immutable-field-updates webhook Local test steps:
Local test steps:
|
Added as part of #1746 |
Verified in conjunction with deletion defender when uninstalling (by deleting CRD). |
CRD
Reviewed changes to CRD w team members and I ran over a few manual upgrade scenarios that involved:
|
manual verification and |
Special Labels/ Directives support
As of today, the only "special" annotation is |
This seems to be a TF based construct and would not apply to DCL based resources (which LLM is at the moment). |
KCC System
We set the KCCUserAgent at registration time in the manager:
|
Primarily via #1772 and other work around using the GCP updateTime, we protect against:
This is now being handled in the k8s-config-connector/pkg/controller/direct/logging/utils.go Lines 234 to 237 in 58f7154
Insofar as backwards compat and testing tough scenarios, between the work to add the dynamic controller for LoggingLogMetric as a direct resource and the step/ scenario tests, I called these |
needs further discussion the following were not added as labels
|
The |
Checklist for LoggingLogMetric (LLM)
direct
actuation. There may be some overlap on items. Not all of these will necessarily be applicable.Checklist for existing resources
Code & Reconcilliaiton
if foo != nil
checkKCC System
Kcc/controller-manager
(consistent with other controllers) in order for usage telemetry to workCRD
Special Labels/ Directives support
General Labels/ Directives support
As taken from: https://github.com/maqiuyujoyce/k8s-config-connector/blob/master/pkg/k8s/constants.go
Container Annotations
Functional
References
Immutability
Webhooks
Testing
Enchancements
The text was updated successfully, but these errors were encountered: