Skip to content

Commit

Permalink
Add Machines Cpu and Memory for cluster nodes
Browse files Browse the repository at this point in the history
Signed-off-by: RejwankabirHamim <[email protected]>
  • Loading branch information
RejwankabirHamim committed Feb 3, 2025
1 parent ea33097 commit 2feb20c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apis/config/v1alpha1/setupconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,15 @@ type CAPIClusterConfig struct {
NetworkCIDR string `json:"networkCIDR,omitempty"`
KubernetesVersion string `json:"kubernetesVersion,omitempty"`
GoogleProjectID string `json:"googleProjectID,omitempty"`
ControlPlane *MachinePool `json:"controlPlane,omitempty"`
WorkerPools []MachinePool `json:"workerPools,omitempty"`
}

type MachinePool struct {
MachineType string `json:"machineType"`
MachineCount int `json:"machineCount"`
CPU int `json:"cpu"`
Memory int `json:"memory"`
}

type MarketplaceSubscriptionInfo struct {
Expand Down
5 changes: 5 additions & 0 deletions apis/config/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2feb20c

Please sign in to comment.