Skip to main content

ack audit control-plane-log

Manage ACK managed cluster control plane component logs

Run ecctl ack audit control-plane-log <action> -h for usage, or ecctl schema ack.audit.control-plane-log.<action> --full for the complete, agent-readable spec of every parameter and behavior.

update

ecctl ack audit control-plane-log update [flags]

Update ACK managed cluster control plane component log

  • Kind: mutation · Risk: medium
  • Synchronous: waits for success (waiter task_succeeded, timeout 600s); use --no-wait to skip.
APIWhen calledPurpose
UpdateControlPlaneLogWhen --enabled equals false.Perform the resource operation.
DescribeTaskInfoWhen --enabled equals false and --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
UpdateControlPlaneLogWhen --enabled does not equal false.Perform the resource operation.
DescribeTaskInfoWhen --enabled does not equal false and --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
CheckControlPlaneLogEnableWhen --no-wait is not specified.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--regionstringAlibaba Cloud region
--aliuidstringAlibaba Cloud account ID
--componentsstring_arraycontrol plane components to collect, such as apiserver,kcm,scheduler,ccm
--enabledbooleanenable or disable control plane component log collection
--log-ttlintegerlog retention in days
--projectstringSLS Project for control plane component logs

get

ecctl ack audit control-plane-log get [flags]

Get ACK managed cluster control plane component log configuration

  • Kind: read · Risk: low
APIWhen calledPurpose
CheckControlPlaneLogEnableEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--regionstringAlibaba Cloud region
--fieldsstringcomma-separated resource fields to include