diff --git a/operators/ack-applicationautoscaling-controller/1.0.18/bundle.Dockerfile b/operators/ack-applicationautoscaling-controller/1.0.18/bundle.Dockerfile new file mode 100644 index 00000000000..7af4f3d07d7 --- /dev/null +++ b/operators/ack-applicationautoscaling-controller/1.0.18/bundle.Dockerfile @@ -0,0 +1,21 @@ +FROM scratch + +# Core bundle labels. +LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1 +LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/ +LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ +LABEL operators.operatorframework.io.bundle.package.v1=ack-applicationautoscaling-controller +LABEL operators.operatorframework.io.bundle.channels.v1=alpha +LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha +LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.28.0 +LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1 +LABEL operators.operatorframework.io.metrics.project_layout=unknown + +# Labels for testing. +LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1 +LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/ + +# Copy files to locations specified by labels. +COPY bundle/manifests /manifests/ +COPY bundle/metadata /metadata/ +COPY bundle/tests/scorecard /tests/scorecard/ diff --git a/operators/ack-applicationautoscaling-controller/1.0.18/manifests/ack-applicationautoscaling-controller.clusterserviceversion.yaml b/operators/ack-applicationautoscaling-controller/1.0.18/manifests/ack-applicationautoscaling-controller.clusterserviceversion.yaml new file mode 100644 index 00000000000..62f6b73c07d --- /dev/null +++ b/operators/ack-applicationautoscaling-controller/1.0.18/manifests/ack-applicationautoscaling-controller.clusterserviceversion.yaml @@ -0,0 +1,289 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: |- + [ + { + "apiVersion": "applicationautoscaling.services.k8s.aws/v1alpha1", + "kind": "ScalableTarget", + "metadata": { + "name": "example" + }, + "spec": {} + }, + { + "apiVersion": "applicationautoscaling.services.k8s.aws/v1alpha1", + "kind": "ScalingPolicy", + "metadata": { + "name": "example" + }, + "spec": {} + } + ] + capabilities: Basic Install + categories: Cloud Provider + certified: "false" + containerImage: public.ecr.aws/aws-controllers-k8s/applicationautoscaling-controller:1.0.18 + createdAt: "2024-10-12T00:12:53Z" + description: AWS Application Auto Scaling controller is a service controller for + managing Application Auto Scaling resources in Kubernetes + operatorframework.io/suggested-namespace: ack-system + operators.operatorframework.io/builder: operator-sdk-v1.28.0 + operators.operatorframework.io/project_layout: unknown + repository: https://github.com/aws-controllers-k8s + support: Community + labels: + operatorframework.io/arch.amd64: supported + operatorframework.io/arch.arm64: supported + operatorframework.io/os.linux: supported + name: ack-applicationautoscaling-controller.v1.0.18 + namespace: placeholder +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - description: ScalableTarget represents the state of an AWS applicationautoscaling + ScalableTarget resource. + displayName: ScalableTarget + kind: ScalableTarget + name: scalabletargets.applicationautoscaling.services.k8s.aws + version: v1alpha1 + - description: ScalingPolicy represents the state of an AWS applicationautoscaling + ScalingPolicy resource. + displayName: ScalingPolicy + kind: ScalingPolicy + name: scalingpolicies.applicationautoscaling.services.k8s.aws + version: v1alpha1 + description: |- + Manage Amazon Application Auto Scaling resources in AWS from within your Kubernetes cluster. + **About Amazon Application Auto Scaling** + Application Auto Scaling is a web service for developers and system administrators who need a solution for automatically scaling their scalable resources for individual AWS services beyond Amazon EC2. Application Auto Scaling allows you to configure automatic scaling for the following resources: + - AppStream 2.0 fleets + - Aurora replicas + - Amazon Comprehend document classification and entity recognizer endpoints + - DynamoDB tables and global secondary indexes + - Amazon Elastic Container Service (ECS) services + - Amazon EMR clusters + - Amazon Keyspaces (for Apache Cassandra) tables + - Lambda function provisioned concurrency + - Amazon Managed Streaming for Apache Kafka (MSK) broker storage + - SageMaker endpoint variants + - Spot Fleet requests + - Custom resources provided by your own applications or services. For more information, see the [GitHub repository](https://github.com/aws/aws-auto-scaling-custom-resource) + + **About the AWS Controllers for Kubernetes** + + This controller is a component of the [AWS Controller for Kubernetes](https://github.com/aws/aws-controllers-k8s) project. + + **Pre-Installation Steps** + + Please follow the following link: [Red Hat OpenShift](https://aws-controllers-k8s.github.io/community/docs/user-docs/openshift/) + displayName: AWS Controllers for Kubernetes - Amazon Application Auto Scaling + icon: + - base64data: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjAuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzA0IDE4MiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMzA0IDE4MjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMyNTJGM0U7fQoJLnN0MXtmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtmaWxsOiNGRjk5MDA7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik04Ni40LDY2LjRjMCwzLjcsMC40LDYuNywxLjEsOC45YzAuOCwyLjIsMS44LDQuNiwzLjIsNy4yYzAuNSwwLjgsMC43LDEuNiwwLjcsMi4zYzAsMS0wLjYsMi0xLjksM2wtNi4zLDQuMiAgIGMtMC45LDAuNi0xLjgsMC45LTIuNiwwLjljLTEsMC0yLTAuNS0zLTEuNEM3Ni4yLDkwLDc1LDg4LjQsNzQsODYuOGMtMS0xLjctMi0z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S41LDE0OC44LDM5LjVjMzYuNSwwLDc2LjYtNy42LDExMy41LTIzLjJDMjc0LjIsMTMzLjYsMjc4LjksMTM5LjcsMjczLjUsMTQzLjd6Ii8+CgkJPHBhdGggY2xhc3M9InN0MSIgZD0iTTI4Ny4yLDEyOC4xYy00LjItNS40LTI3LjgtMi42LTM4LjUtMS4zYy0zLjIsMC40LTMuNy0yLjQtMC44LTQuNWMxOC44LTEzLjIsNDkuNy05LjQsNTMuMy01ICAgIGMzLjYsNC41LTEsMzUuNC0xOC42LDUwLjJjLTIuNywyLjMtNS4zLDEuMS00LjEtMS45QzI4Mi41LDE1NS43LDI5MS40LDEzMy40LDI4Ny4yLDEyOC4xeiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPg== + mediatype: image/svg+xml + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - "" + resources: + - configmaps + - secrets + verbs: + - get + - list + - patch + - watch + - apiGroups: + - "" + resources: + - namespaces + verbs: + - get + - list + - watch + - apiGroups: + - applicationautoscaling.services.k8s.aws + resources: + - scalabletargets + - scalingpolicies + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - applicationautoscaling.services.k8s.aws + resources: + - scalabletargets/status + - scalingpolicies/status + verbs: + - get + - patch + - update + - apiGroups: + - services.k8s.aws + resources: + - adoptedresources + - fieldexports + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - services.k8s.aws + resources: + - adoptedresources/status + - fieldexports/status + verbs: + - get + - patch + - update + serviceAccountName: ack-applicationautoscaling-controller + deployments: + - label: + app.kubernetes.io/name: ack-applicationautoscaling-controller + app.kubernetes.io/part-of: ack-system + name: ack-applicationautoscaling-controller + spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: ack-applicationautoscaling-controller + strategy: {} + template: + metadata: + labels: + app.kubernetes.io/name: ack-applicationautoscaling-controller + spec: + containers: + - args: + - --aws-region + - $(AWS_REGION) + - --aws-endpoint-url + - $(AWS_ENDPOINT_URL) + - --enable-development-logging=$(ACK_ENABLE_DEVELOPMENT_LOGGING) + - --log-level + - $(ACK_LOG_LEVEL) + - --resource-tags + - $(ACK_RESOURCE_TAGS) + - --watch-namespace + - $(ACK_WATCH_NAMESPACE) + - --enable-leader-election=$(ENABLE_LEADER_ELECTION) + - --leader-election-namespace + - $(LEADER_ELECTION_NAMESPACE) + - --reconcile-default-max-concurrent-syncs + - $(RECONCILE_DEFAULT_MAX_CONCURRENT_SYNCS) + command: + - ./bin/controller + env: + - name: ACK_SYSTEM_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + envFrom: + - configMapRef: + name: ack-applicationautoscaling-user-config + optional: false + - secretRef: + name: ack-applicationautoscaling-user-secrets + optional: true + image: public.ecr.aws/aws-controllers-k8s/applicationautoscaling-controller:1.0.18 + livenessProbe: + httpGet: + path: /healthz + port: 8081 + initialDelaySeconds: 15 + periodSeconds: 20 + name: controller + ports: + - containerPort: 8080 + name: http + readinessProbe: + httpGet: + path: /readyz + port: 8081 + initialDelaySeconds: 5 + periodSeconds: 10 + resources: + limits: + cpu: 100m + memory: 300Mi + requests: + cpu: 100m + memory: 200Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + privileged: false + runAsNonRoot: true + dnsPolicy: ClusterFirst + securityContext: + seccompProfile: + type: RuntimeDefault + serviceAccountName: ack-applicationautoscaling-controller + terminationGracePeriodSeconds: 10 + permissions: + - rules: + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete + - apiGroups: + - "" + resources: + - events + verbs: + - create + - patch + serviceAccountName: ack-applicationautoscaling-controller + strategy: deployment + installModes: + - supported: true + type: OwnNamespace + - supported: true + type: SingleNamespace + - supported: true + type: MultiNamespace + - supported: true + type: AllNamespaces + keywords: + - applicationautoscaling + - aws + - amazon + - ack + links: + - name: AWS Controllers for Kubernetes + url: https://github.com/aws-controllers-k8s/community + - name: Documentation + url: https://aws-controllers-k8s.github.io/community/ + - name: Amazon Application Auto Scaling User Guide + url: https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html + maintainers: + - email: ack-maintainers@amazon.com + name: application auto scaling maintainer team + maturity: alpha + provider: + name: Amazon, Inc. + url: https://aws.amazon.com + version: 1.0.18 diff --git a/operators/ack-applicationautoscaling-controller/1.0.18/manifests/ack-applicationautoscaling-metrics-service_v1_service.yaml b/operators/ack-applicationautoscaling-controller/1.0.18/manifests/ack-applicationautoscaling-metrics-service_v1_service.yaml new file mode 100644 index 00000000000..a92f04fd063 --- /dev/null +++ b/operators/ack-applicationautoscaling-controller/1.0.18/manifests/ack-applicationautoscaling-metrics-service_v1_service.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Service +metadata: + creationTimestamp: null + name: ack-applicationautoscaling-metrics-service +spec: + ports: + - name: metricsport + port: 8080 + protocol: TCP + targetPort: http + selector: + app.kubernetes.io/name: ack-applicationautoscaling-controller + type: NodePort +status: + loadBalancer: {} diff --git a/operators/ack-applicationautoscaling-controller/1.0.18/manifests/ack-applicationautoscaling-reader_rbac.authorization.k8s.io_v1_role.yaml b/operators/ack-applicationautoscaling-controller/1.0.18/manifests/ack-applicationautoscaling-reader_rbac.authorization.k8s.io_v1_role.yaml new file mode 100644 index 00000000000..a2c401dba63 --- /dev/null +++ b/operators/ack-applicationautoscaling-controller/1.0.18/manifests/ack-applicationautoscaling-reader_rbac.authorization.k8s.io_v1_role.yaml @@ -0,0 +1,15 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + creationTimestamp: null + name: ack-applicationautoscaling-reader +rules: +- apiGroups: + - applicationautoscaling.services.k8s.aws + resources: + - scalabletargets + - scalingpolicies + verbs: + - get + - list + - watch diff --git a/operators/ack-applicationautoscaling-controller/1.0.18/manifests/ack-applicationautoscaling-writer_rbac.authorization.k8s.io_v1_role.yaml b/operators/ack-applicationautoscaling-controller/1.0.18/manifests/ack-applicationautoscaling-writer_rbac.authorization.k8s.io_v1_role.yaml new file mode 100644 index 00000000000..7c8f861e233 --- /dev/null +++ b/operators/ack-applicationautoscaling-controller/1.0.18/manifests/ack-applicationautoscaling-writer_rbac.authorization.k8s.io_v1_role.yaml @@ -0,0 +1,28 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + creationTimestamp: null + name: ack-applicationautoscaling-writer +rules: +- apiGroups: + - applicationautoscaling.services.k8s.aws + resources: + - scalabletargets + - scalingpolicies + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - applicationautoscaling.services.k8s.aws + resources: + - scalabletargets + - scalingpolicies + verbs: + - get + - patch + - update diff --git a/operators/ack-applicationautoscaling-controller/1.0.18/manifests/applicationautoscaling.services.k8s.aws_scalabletargets.yaml b/operators/ack-applicationautoscaling-controller/1.0.18/manifests/applicationautoscaling.services.k8s.aws_scalabletargets.yaml new file mode 100644 index 00000000000..f7da1bc3be5 --- /dev/null +++ b/operators/ack-applicationautoscaling-controller/1.0.18/manifests/applicationautoscaling.services.k8s.aws_scalabletargets.yaml @@ -0,0 +1,332 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.16.2 + creationTimestamp: null + name: scalabletargets.applicationautoscaling.services.k8s.aws +spec: + group: applicationautoscaling.services.k8s.aws + names: + kind: ScalableTarget + listKind: ScalableTargetList + plural: scalabletargets + singular: scalabletarget + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: ScalableTarget is the Schema for the ScalableTargets API + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: |- + ScalableTargetSpec defines the desired state of ScalableTarget. + + Represents a scalable target. + properties: + maxCapacity: + description: |- + The maximum value that you plan to scale out to. When a scaling policy is + in effect, Application Auto Scaling can scale out (expand) as needed to the + maximum capacity limit in response to changing demand. This property is required + when registering a new scalable target. + + Although you can specify a large maximum capacity, note that service quotas + may impose lower limits. Each service has its own default quotas for the + maximum capacity of the resource. If you want to specify a higher limit, + you can request an increase. For more information, consult the documentation + for that service. For information about the default quotas for each service, + see Service Endpoints and Quotas (https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html) + in the Amazon Web Services General Reference. + format: int64 + type: integer + minCapacity: + description: |- + The minimum value that you plan to scale in to. When a scaling policy is + in effect, Application Auto Scaling can scale in (contract) as needed to + the minimum capacity limit in response to changing demand. This property + is required when registering a new scalable target. + + For certain resources, the minimum value allowed is 0. This includes Lambda + provisioned concurrency, Spot Fleet, ECS services, Aurora DB clusters, EMR + clusters, and custom resources. For all other resources, the minimum value + allowed is 1. + format: int64 + type: integer + resourceID: + description: |- + The identifier of the resource that is associated with the scalable target. + This string consists of the resource type and unique identifier. + + * ECS service - The resource type is service and the unique identifier + is the cluster name and service name. Example: service/default/sample-webapp. + + * Spot Fleet - The resource type is spot-fleet-request and the unique + identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. + + * EMR cluster - The resource type is instancegroup and the unique identifier + is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. + + * AppStream 2.0 fleet - The resource type is fleet and the unique identifier + is the fleet name. Example: fleet/sample-fleet. + + * DynamoDB table - The resource type is table and the unique identifier + is the table name. Example: table/my-table. + + * DynamoDB global secondary index - The resource type is index and the + unique identifier is the index name. Example: table/my-table/index/my-table-index. + + * Aurora DB cluster - The resource type is cluster and the unique identifier + is the cluster name. Example: cluster:my-db-cluster. + + * SageMaker endpoint variant - The resource type is variant and the unique + identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + + * Custom resources are not supported with a resource type. This parameter + must specify the OutputValue from the CloudFormation template stack used + to access the resources. The unique identifier is defined by the service + provider. More information is available in our GitHub repository (https://github.com/aws/aws-auto-scaling-custom-resource). + + * Amazon Comprehend document classification endpoint - The resource type + and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE. + + * Amazon Comprehend entity recognizer endpoint - The resource type and + unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE. + + * Lambda provisioned concurrency - The resource type is function and the + unique identifier is the function name with a function version or alias + name suffix that is not $LATEST. Example: function:my-function:prod or + function:my-function:1. + + * Amazon Keyspaces table - The resource type is table and the unique identifier + is the table name. Example: keyspace/mykeyspace/table/mytable. + + * Amazon MSK cluster - The resource type and unique identifier are specified + using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5. + + * Amazon ElastiCache replication group - The resource type is replication-group + and the unique identifier is the replication group name. Example: replication-group/mycluster. + + * Neptune cluster - The resource type is cluster and the unique identifier + is the cluster name. Example: cluster:mycluster. + type: string + roleARN: + description: |- + This parameter is required for services that do not support service-linked + roles (such as Amazon EMR), and it must specify the ARN of an IAM role that + allows Application Auto Scaling to modify the scalable target on your behalf. + + If the service supports service-linked roles, Application Auto Scaling uses + a service-linked role, which it creates if it does not yet exist. For more + information, see Application Auto Scaling IAM roles (https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles). + type: string + scalableDimension: + description: |- + The scalable dimension associated with the scalable target. This string consists + of the service namespace, resource type, and scaling property. + + * ecs:service:DesiredCount - The desired task count of an ECS service. + + * elasticmapreduce:instancegroup:InstanceCount - The instance count of + an EMR Instance Group. + + * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot + Fleet. + + * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream + 2.0 fleet. + + * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for + a DynamoDB table. + + * dynamodb:table:WriteCapacityUnits - The provisioned write capacity for + a DynamoDB table. + + * dynamodb:index:ReadCapacityUnits - The provisioned read capacity for + a DynamoDB global secondary index. + + * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for + a DynamoDB global secondary index. + + * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible + edition. + + * sagemaker:variant:DesiredInstanceCount - The number of EC2 instances + for an SageMaker model endpoint variant. + + * custom-resource:ResourceType:Property - The scalable dimension for a + custom resource provided by your own application or service. + + * comprehend:document-classifier-endpoint:DesiredInferenceUnits - The + number of inference units for an Amazon Comprehend document classification + endpoint. + + * comprehend:entity-recognizer-endpoint:DesiredInferenceUnits - The number + of inference units for an Amazon Comprehend entity recognizer endpoint. + + * lambda:function:ProvisionedConcurrency - The provisioned concurrency + for a Lambda function. + + * cassandra:table:ReadCapacityUnits - The provisioned read capacity for + an Amazon Keyspaces table. + + * cassandra:table:WriteCapacityUnits - The provisioned write capacity + for an Amazon Keyspaces table. + + * kafka:broker-storage:VolumeSize - The provisioned volume size (in GiB) + for brokers in an Amazon MSK cluster. + + * elasticache:replication-group:NodeGroups - The number of node groups + for an Amazon ElastiCache replication group. + + * elasticache:replication-group:Replicas - The number of replicas per + node group for an Amazon ElastiCache replication group. + + * neptune:cluster:ReadReplicaCount - The count of read replicas in an + Amazon Neptune DB cluster. + type: string + serviceNamespace: + description: |- + The namespace of the Amazon Web Services service that provides the resource. + For a resource provided by your own application or service, use custom-resource + instead. + type: string + suspendedState: + description: |- + An embedded object that contains attributes and attribute values that are + used to suspend and resume automatic scaling. Setting the value of an attribute + to true suspends the specified scaling activities. Setting it to false (default) + resumes the specified scaling activities. + + Suspension Outcomes + + * For DynamicScalingInSuspended, while a suspension is in effect, all + scale-in activities that are triggered by a scaling policy are suspended. + + * For DynamicScalingOutSuspended, while a suspension is in effect, all + scale-out activities that are triggered by a scaling policy are suspended. + + * For ScheduledScalingSuspended, while a suspension is in effect, all + scaling activities that involve scheduled actions are suspended. + + For more information, see Suspending and resuming scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html) + in the Application Auto Scaling User Guide. + properties: + dynamicScalingInSuspended: + type: boolean + dynamicScalingOutSuspended: + type: boolean + scheduledScalingSuspended: + type: boolean + type: object + required: + - resourceID + - scalableDimension + - serviceNamespace + type: object + status: + description: ScalableTargetStatus defines the observed state of ScalableTarget + properties: + ackResourceMetadata: + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, + constructed ARN for the resource + properties: + arn: + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + https://github.com/aws/aws-controllers-k8s/issues/270 + type: string + ownerAccountID: + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. + type: string + region: + description: Region is the AWS region in which the resource exists + or will exist. + type: string + required: + - ownerAccountID + - region + type: object + conditions: + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource + items: + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type is the type of the Condition + type: string + required: + - status + - type + type: object + type: array + creationTime: + description: The Unix timestamp for when the scalable target was created. + format: date-time + type: string + lastModifiedTime: + description: The Unix timestamp for when the scalable target was created. + format: date-time + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/operators/ack-applicationautoscaling-controller/1.0.18/manifests/applicationautoscaling.services.k8s.aws_scalingpolicies.yaml b/operators/ack-applicationautoscaling-controller/1.0.18/manifests/applicationautoscaling.services.k8s.aws_scalingpolicies.yaml new file mode 100644 index 00000000000..bd3671f369f --- /dev/null +++ b/operators/ack-applicationautoscaling-controller/1.0.18/manifests/applicationautoscaling.services.k8s.aws_scalingpolicies.yaml @@ -0,0 +1,441 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.16.2 + creationTimestamp: null + name: scalingpolicies.applicationautoscaling.services.k8s.aws +spec: + group: applicationautoscaling.services.k8s.aws + names: + kind: ScalingPolicy + listKind: ScalingPolicyList + plural: scalingpolicies + singular: scalingpolicy + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: ScalingPolicy is the Schema for the ScalingPolicies API + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: |- + ScalingPolicySpec defines the desired state of ScalingPolicy. + + Represents a scaling policy to use with Application Auto Scaling. + + For more information about configuring scaling policies for a specific service, + see Getting started with Application Auto Scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/getting-started.html) + in the Application Auto Scaling User Guide. + properties: + policyName: + description: The name of the scaling policy. + type: string + policyType: + description: |- + The policy type. This parameter is required if you are creating a scaling + policy. + + The following policy types are supported: + + TargetTrackingScaling—Not supported for Amazon EMR + + StepScaling—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon + Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune. + + For more information, see Target tracking scaling policies (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) + and Step scaling policies (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) + in the Application Auto Scaling User Guide. + type: string + resourceID: + description: |- + The identifier of the resource associated with the scaling policy. This string + consists of the resource type and unique identifier. + + * ECS service - The resource type is service and the unique identifier + is the cluster name and service name. Example: service/default/sample-webapp. + + * Spot Fleet - The resource type is spot-fleet-request and the unique + identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. + + * EMR cluster - The resource type is instancegroup and the unique identifier + is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0. + + * AppStream 2.0 fleet - The resource type is fleet and the unique identifier + is the fleet name. Example: fleet/sample-fleet. + + * DynamoDB table - The resource type is table and the unique identifier + is the table name. Example: table/my-table. + + * DynamoDB global secondary index - The resource type is index and the + unique identifier is the index name. Example: table/my-table/index/my-table-index. + + * Aurora DB cluster - The resource type is cluster and the unique identifier + is the cluster name. Example: cluster:my-db-cluster. + + * SageMaker endpoint variant - The resource type is variant and the unique + identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + + * Custom resources are not supported with a resource type. This parameter + must specify the OutputValue from the CloudFormation template stack used + to access the resources. The unique identifier is defined by the service + provider. More information is available in our GitHub repository (https://github.com/aws/aws-auto-scaling-custom-resource). + + * Amazon Comprehend document classification endpoint - The resource type + and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE. + + * Amazon Comprehend entity recognizer endpoint - The resource type and + unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE. + + * Lambda provisioned concurrency - The resource type is function and the + unique identifier is the function name with a function version or alias + name suffix that is not $LATEST. Example: function:my-function:prod or + function:my-function:1. + + * Amazon Keyspaces table - The resource type is table and the unique identifier + is the table name. Example: keyspace/mykeyspace/table/mytable. + + * Amazon MSK cluster - The resource type and unique identifier are specified + using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5. + + * Amazon ElastiCache replication group - The resource type is replication-group + and the unique identifier is the replication group name. Example: replication-group/mycluster. + + * Neptune cluster - The resource type is cluster and the unique identifier + is the cluster name. Example: cluster:mycluster. + type: string + scalableDimension: + description: |- + The scalable dimension. This string consists of the service namespace, resource + type, and scaling property. + + * ecs:service:DesiredCount - The desired task count of an ECS service. + + * elasticmapreduce:instancegroup:InstanceCount - The instance count of + an EMR Instance Group. + + * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot + Fleet. + + * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream + 2.0 fleet. + + * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for + a DynamoDB table. + + * dynamodb:table:WriteCapacityUnits - The provisioned write capacity for + a DynamoDB table. + + * dynamodb:index:ReadCapacityUnits - The provisioned read capacity for + a DynamoDB global secondary index. + + * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for + a DynamoDB global secondary index. + + * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible + edition. + + * sagemaker:variant:DesiredInstanceCount - The number of EC2 instances + for an SageMaker model endpoint variant. + + * custom-resource:ResourceType:Property - The scalable dimension for a + custom resource provided by your own application or service. + + * comprehend:document-classifier-endpoint:DesiredInferenceUnits - The + number of inference units for an Amazon Comprehend document classification + endpoint. + + * comprehend:entity-recognizer-endpoint:DesiredInferenceUnits - The number + of inference units for an Amazon Comprehend entity recognizer endpoint. + + * lambda:function:ProvisionedConcurrency - The provisioned concurrency + for a Lambda function. + + * cassandra:table:ReadCapacityUnits - The provisioned read capacity for + an Amazon Keyspaces table. + + * cassandra:table:WriteCapacityUnits - The provisioned write capacity + for an Amazon Keyspaces table. + + * kafka:broker-storage:VolumeSize - The provisioned volume size (in GiB) + for brokers in an Amazon MSK cluster. + + * elasticache:replication-group:NodeGroups - The number of node groups + for an Amazon ElastiCache replication group. + + * elasticache:replication-group:Replicas - The number of replicas per + node group for an Amazon ElastiCache replication group. + + * neptune:cluster:ReadReplicaCount - The count of read replicas in an + Amazon Neptune DB cluster. + type: string + serviceNamespace: + description: |- + The namespace of the Amazon Web Services service that provides the resource. + For a resource provided by your own application or service, use custom-resource + instead. + type: string + stepScalingPolicyConfiguration: + description: |- + A step scaling policy. + + This parameter is required if you are creating a policy and the policy type + is StepScaling. + properties: + adjustmentType: + type: string + cooldown: + format: int64 + type: integer + metricAggregationType: + type: string + minAdjustmentMagnitude: + format: int64 + type: integer + stepAdjustments: + items: + description: |- + Represents a step adjustment for a StepScalingPolicyConfiguration (https://docs.aws.amazon.com/autoscaling/application/APIReference/API_StepScalingPolicyConfiguration.html). + Describes an adjustment based on the difference between the value of the + aggregated CloudWatch metric and the breach threshold that you've defined + for the alarm. + + For the following examples, suppose that you have an alarm with a breach + threshold of 50: + + * To trigger the adjustment when the metric is greater than or equal to + 50 and less than 60, specify a lower bound of 0 and an upper bound of + 10. + + * To trigger the adjustment when the metric is greater than 40 and less + than or equal to 50, specify a lower bound of -10 and an upper bound of + 0. + + There are a few rules for the step adjustments for your step policy: + + * The ranges of your step adjustments can't overlap or have a gap. + + * At most one step adjustment can have a null lower bound. If one step + adjustment has a negative lower bound, then there must be a step adjustment + with a null lower bound. + + * At most one step adjustment can have a null upper bound. If one step + adjustment has a positive upper bound, then there must be a step adjustment + with a null upper bound. + + * The upper and lower bound can't be null in the same step adjustment. + properties: + metricIntervalLowerBound: + type: number + metricIntervalUpperBound: + type: number + scalingAdjustment: + format: int64 + type: integer + type: object + type: array + type: object + targetTrackingScalingPolicyConfiguration: + description: |- + A target tracking scaling policy. Includes support for predefined or customized + metrics. + + This parameter is required if you are creating a policy and the policy type + is TargetTrackingScaling. + properties: + customizedMetricSpecification: + description: |- + Represents a CloudWatch metric of your choosing for a target tracking scaling + policy to use with Application Auto Scaling. + + For information about the available metrics for a service, see Amazon Web + Services Services That Publish CloudWatch Metrics (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) + in the Amazon CloudWatch User Guide. + + To create your customized metric specification: + + * Add values for each required parameter from CloudWatch. You can use + an existing metric, or a new metric that you create. To use your own metric, + you must first publish the metric to CloudWatch. For more information, + see Publish Custom Metrics (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) + in the Amazon CloudWatch User Guide. + + * Choose a metric that changes proportionally with capacity. The value + of the metric should increase or decrease in inverse proportion to the + number of capacity units. That is, the value of the metric should decrease + when capacity increases, and increase when capacity decreases. + + For more information about CloudWatch, see Amazon CloudWatch Concepts (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html). + properties: + dimensions: + items: + description: Describes the dimension names and values associated + with a metric. + properties: + name: + type: string + value: + type: string + type: object + type: array + metricName: + type: string + namespace: + type: string + statistic: + type: string + unit: + type: string + type: object + disableScaleIn: + type: boolean + predefinedMetricSpecification: + description: |- + Represents a predefined metric for a target tracking scaling policy to use + with Application Auto Scaling. + + Only the Amazon Web Services that you're using send metrics to Amazon CloudWatch. + To determine whether a desired metric already exists by looking up its namespace + and dimension using the CloudWatch metrics dashboard in the console, follow + the procedure in Building dashboards with CloudWatch (https://docs.aws.amazon.com/autoscaling/application/userguide/monitoring-cloudwatch.html) + in the Application Auto Scaling User Guide. + properties: + predefinedMetricType: + type: string + resourceLabel: + type: string + type: object + scaleInCooldown: + format: int64 + type: integer + scaleOutCooldown: + format: int64 + type: integer + targetValue: + type: number + type: object + required: + - policyName + - resourceID + - scalableDimension + - serviceNamespace + type: object + status: + description: ScalingPolicyStatus defines the observed state of ScalingPolicy + properties: + ackResourceMetadata: + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, + constructed ARN for the resource + properties: + arn: + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + https://github.com/aws/aws-controllers-k8s/issues/270 + type: string + ownerAccountID: + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. + type: string + region: + description: Region is the AWS region in which the resource exists + or will exist. + type: string + required: + - ownerAccountID + - region + type: object + alarms: + description: The CloudWatch alarms created for the target tracking + scaling policy. + items: + description: Represents a CloudWatch alarm associated with a scaling + policy. + properties: + alarmARN: + type: string + alarmName: + type: string + type: object + type: array + conditions: + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource + items: + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type is the type of the Condition + type: string + required: + - status + - type + type: object + type: array + creationTime: + description: The Unix timestamp for when the scaling policy was created. + format: date-time + type: string + lastModifiedTime: + description: The Unix timestamp for when the scaling policy was created. + format: date-time + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/operators/ack-applicationautoscaling-controller/1.0.18/metadata/annotations.yaml b/operators/ack-applicationautoscaling-controller/1.0.18/metadata/annotations.yaml new file mode 100644 index 00000000000..a895e80a5b1 --- /dev/null +++ b/operators/ack-applicationautoscaling-controller/1.0.18/metadata/annotations.yaml @@ -0,0 +1,15 @@ +annotations: + # Core bundle annotations. + operators.operatorframework.io.bundle.mediatype.v1: registry+v1 + operators.operatorframework.io.bundle.manifests.v1: manifests/ + operators.operatorframework.io.bundle.metadata.v1: metadata/ + operators.operatorframework.io.bundle.package.v1: ack-applicationautoscaling-controller + operators.operatorframework.io.bundle.channels.v1: alpha + operators.operatorframework.io.bundle.channel.default.v1: alpha + operators.operatorframework.io.metrics.builder: operator-sdk-v1.28.0 + operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 + operators.operatorframework.io.metrics.project_layout: unknown + + # Annotations for testing. + operators.operatorframework.io.test.mediatype.v1: scorecard+v1 + operators.operatorframework.io.test.config.v1: tests/scorecard/ diff --git a/operators/ack-applicationautoscaling-controller/1.0.18/tests/scorecard/config.yaml b/operators/ack-applicationautoscaling-controller/1.0.18/tests/scorecard/config.yaml new file mode 100644 index 00000000000..382ddefd156 --- /dev/null +++ b/operators/ack-applicationautoscaling-controller/1.0.18/tests/scorecard/config.yaml @@ -0,0 +1,50 @@ +apiVersion: scorecard.operatorframework.io/v1alpha3 +kind: Configuration +metadata: + name: config +stages: +- parallel: true + tests: + - entrypoint: + - scorecard-test + - basic-check-spec + image: quay.io/operator-framework/scorecard-test:v1.7.1 + labels: + suite: basic + test: basic-check-spec-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-bundle-validation + image: quay.io/operator-framework/scorecard-test:v1.7.1 + labels: + suite: olm + test: olm-bundle-validation-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-crds-have-validation + image: quay.io/operator-framework/scorecard-test:v1.7.1 + labels: + suite: olm + test: olm-crds-have-validation-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-spec-descriptors + image: quay.io/operator-framework/scorecard-test:v1.7.1 + labels: + suite: olm + test: olm-spec-descriptors-test + storage: + spec: + mountPath: {} +storage: + spec: + mountPath: {}