-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add missed 'cku' to cluster.go #6
Comments
@rjudin is the Can you provide the verbose output of the creating of a dedicated cluster, for example: You must fork this repo to create a PR. |
@cgroschupp verbose output of
produces post body {
"config": {
"name": "test0",
"accountId": "env-3hide",
"region": "ap-southeast-1",
"serviceProvider": "aws",
"deployment": {
"sku": "DEDICATED"
},
"cku": 1
}
} Full output
cluster describe command
produces an output body with much more details, including body of cluster describe dedicated cluster{
"error": null,
"cluster": {
"id": "lkc-fake4",
"name": "test0",
"account_id": "env-3hide",
"network_ingress": 50,
"network_egress": 150,
"storage": 30000,
"durability": "LOW",
"status": "UP",
"endpoint": "SASL_SSL://pkc-fake2.ap-southeast-1.aws.confluent.cloud:9092",
"region": "ap-southeast-1",
"created": "2020-10-10T08:49:55.763283Z",
"modified": "2020-10-10T08:49:55.766874Z",
"service_provider": "aws",
"organization_id": 01010,
"enterprise": true,
"k8s_cluster_id": "k8s249",
"physical_cluster_id": "pkc-fake2",
"price_per_hour": "340315",
"accrued_this_cycle": "0",
"legacy_endpoint": false,
"type": "kafka",
"api_endpoint": "https://pkac-fake1.ap-southeast-1.aws.confluent.cloud",
"internal_proxy": false,
"is_sla_enabled": true,
"is_schedulable": false,
"dedicated": true,
"max_network_ingress": 60,
"max_network_egress": 180,
"deployment": {
"id": "deployment-fake3",
"created": "2020-10-10T08:49:55.149762Z",
"modified": "2020-10-10T08:49:55.149762Z",
"deactivated": null,
"account_id": "env-3hide",
"network_access": {
"public_internet": [
{
"enabled": true,
"network_config_id": "",
"allowed_cidr_blocks": []
}
],
"vpc_peering": [],
"private_link": [],
"transit_gateway": [],
"internal": []
},
"sku": "DEDICATED",
"network_region_id": "nr-938af",
"provider": {
"cloud": "AWS",
"region": "ap-southeast-1",
"zones": [
{
"name": "ap-southeast-1a",
"zone_id": "apse1-az2",
"id": "",
"region_id": "",
"sni_enabled": null,
"schedulable": null,
"created": null,
"modified": null,
"deactivated": null
},
{
"name": "ap-southeast-1b",
"zone_id": "apse1-az1",
"id": "",
"region_id": "",
"sni_enabled": null,
"schedulable": null,
"created": null,
"modified": null,
"deactivated": null
},
{
"name": "ap-southeast-1c",
"zone_id": "apse1-az3",
"id": "",
"region_id": "",
"sni_enabled": null,
"schedulable": null,
"created": null,
"modified": null,
"deactivated": null
}
]
},
"durability": "LOW",
"environment_id": "",
"dedicated": true
},
"cku": 1,
"network_region": null,
"initial_network_type": "UNKNOWN_TYPE",
"selected_network_type": "UNKNOWN_TYPE",
"encryption_key_id": "",
"pending_cku": 0,
"is_expandable": true,
"infinite_storage": false
}
} Full output
PS: Also noticed that |
FYI: REST API ref https://confluent.cloud/api/docs#operation/createV2KafkaCluster (in beta state) |
Issue
During creation a dedicated cluster type with default values (cli representation)
Failed with error
Description
Confluent Cloud CLI from version v1.15.0 started to support
--cku
int value.Action
Add
cku
Ref:
UPDATE: I tried to push a new branch for your review, @Mongey , @cgroschupp but it was not allowed.
Please add to cluster.go:
type ClusterCreateDeploymentConfig struct {
type ClusterDeployment struct {
The text was updated successfully, but these errors were encountered: