-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
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"` |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved
controllers/clusters/on_premise.go
Outdated
ClusterID string | ||
CdcID string | ||
OnPremisesSpec *v1beta1.OnPremisesSpec | ||
ExposeNodePorts []k8scorev1.ServicePort |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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}, |
There was a problem hiding this comment.
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
There was a problem hiding this 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.
No description provided.