Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generic on-premises cluster provisioning #618

Closed
wants to merge 2 commits into from

Conversation

ribaraka
Copy link
Contributor

No description provided.

@ribaraka ribaraka added the refactor Code improvements or refactorings label Nov 10, 2023
@ribaraka ribaraka self-assigned this Nov 10, 2023
Comment on lines 73 to 82
type OnPremisesSpec struct {
StorageClassName string `json:"storageClassName"`
OSDiskSize string `json:"osDiskSize"`
DataDiskSize string `json:"dataDiskSize"`
SSHGatewayCPU int64 `json:"sshGatewayCPU,omitempty"`
SSHGatewayMemory string `json:"sshGatewayMemory,omitempty"`
NodeCPU int64 `json:"nodeCPU"`
NodeMemory string `json:"nodeMemory"`
OSImageURL string `json:"osImageURL"`
CloudInitScriptRef *NamespacedName `json:"cloudInitScriptRef"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move to the cluster's models

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved

ClusterID string
CdcID string
OnPremisesSpec *v1beta1.OnPremisesSpec
ExposeNodePorts []k8scorev1.ServicePort
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ExposeNodePorts -> ExposePorts or PortsToExpose, let's rename because the ExposeNodePorts name creates wrong connotations with k8s NodePort service

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renamed to ExposePorts

Labels: map[string]string{
models.ClusterIDLabel: bootstrap.ClusterID,
},
//Finalizers: []string{models.DeletionFinalizer},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this comment please if unused

@testisnullus testisnullus self-requested a review November 14, 2023 12:05
Copy link
Collaborator

@taaraora taaraora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove all Cassandra mentions in this code.

@ribaraka ribaraka closed this Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Code improvements or refactorings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants