Skip to main content

ack policy instance

Manage ACK policy instances in a cluster

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

create

ecctl ack policy instance create <policy-name> [flags]

Create an ACK policy instance

  • Kind: mutation · Risk: medium
APIWhen calledPurpose
DeployPolicyInstanceEvery time the command runs.Perform the resource operation.
DescribePolicyInstancesEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--actionstringpolicy action
--clusterstringACK cluster ID
--regionstringAlibaba Cloud region
--namespacesarraynamespaces the policy applies to, as a JSON array
--parametersobjectpolicy instance parameter JSON object or @file

update

ecctl ack policy instance update <policy-name> [flags]

Update an ACK policy instance

  • Kind: mutation · Risk: medium
APIWhen calledPurpose
ModifyPolicyInstanceEvery time the command runs.Perform the resource operation.
DescribePolicyInstancesEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--regionstringAlibaba Cloud region
--actionstringpolicy action
--instance-namestringpolicy instance name
--namespacesarraynamespaces the policy applies to, as a JSON array
--parametersobjectpolicy instance parameter JSON object or @file

delete

ecctl ack policy instance delete <policy-name> [flags]

Delete an ACK policy instance

  • Kind: mutation · Risk: high
APIWhen calledPurpose
DeletePolicyInstanceEvery time the command runs.Perform the resource operation.
DescribePolicyInstancesEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--instance-namestringpolicy instance name
--regionstringAlibaba Cloud region

get

ecctl ack policy instance get <policy-name> [flags]

Get an ACK policy instance

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

list

ecctl ack policy instance list [flags]

List ACK policy instances in a cluster

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