mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-11 00:44:20 -05:00
4283601433
* helm: configure GCP cloud controller manager to search in all zones of a region
See also: d716fdd452/providers/gce/gce.go (L376-L380)
* operators: add nodeGroupName to ScalingGroup CRD
NodeGroupName is the human friendly name of the node group that will be exposed to customers via the Constellation config in the future.
* operators: support simple executor / scheduler to reconcile on non-k8s resources
* operators: add new return type for ListScalingGroups to support arbitrary node groups
* operators: ListScalingGroups should return additionally created node groups on AWS
* operators: ListScalingGroups should return additionally created node groups on Azure
* operators: ListScalingGroups should return additionally created node groups on GCP
* operators: ListScalingGroups should return additionally created node groups on unsupported CSPs
* operators: implement external scaling group reconciler
This controller scans the cloud provider infrastructure and changes k8s resources accordingly.
It creates ScaleSet resources when new node groups are created and deletes them if the node groups are removed.
* operators: no longer create scale sets when the operator starts
In the future, scale sets are created dynamically.
* operators: watch for node join/leave events using a controller
* operators: deploy new controllers
* docs: update auto scaling documentation with support for node groups
25 lines
774 B
Go
25 lines
774 B
Go
/*
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
package api
|
|
|
|
import updatev1alpha1 "github.com/edgelesssys/constellation/v2/operators/constellation-node-operator/v2/api/v1alpha1"
|
|
|
|
// ScalingGroup is a cloud provider scaling group.
|
|
type ScalingGroup struct {
|
|
// Name is the csp specific name of the scaling group.
|
|
Name string
|
|
// NodeGroupName is the human friendly name of the node group
|
|
// as defined in the Constellation configuration.
|
|
NodeGroupName string
|
|
// GroupID is the CSP specific, canonical identifier of a scaling group.
|
|
GroupID string
|
|
// AutoscalingGroupName is name that is expected by the autoscaler.
|
|
AutoscalingGroupName string
|
|
// Role is the role of the nodes in the scaling group.
|
|
Role updatev1alpha1.NodeRole
|
|
}
|