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

[CCE] - Add timezone parameter into metadata of the cluster creation #2838

Open
oeotvos opened this issue Feb 25, 2025 · 1 comment
Open

Comments

@oeotvos
Copy link

oeotvos commented Feb 25, 2025

Description of the enhancement

Please add new parameter timezone into
https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs/resources/cce_cluster_v3

API reference:
https://docs.otc.t-systems.com/cloud-container-engine/api-ref/apis/cluster_management/creating_a_cluster.html

UMN:
https://docs.otc.t-systems.com/cloud-container-engine/umn/clusters/creating_a_cluster/creating_a_cce_standard_turbo_cluster.html#cce-10-0028
Image

API Example:
curl -w "\n%{http_code}\n" -sS -X POST -H 'Content-Type:application/json' -H "$AUTH_TOKEN" -d ' { "kind": "cluster", "apiVersion": "v3", "metadata": { "name": "cce-api-asia-timezone", "timezone" : "Asia/Shanghai", "annotations": { "cluster.install.addons.external/install": "[{\"addonTemplateName\":\"icagent\"}]" } }, "spec": { "type": "VirtualMachine", "flavor": "cce.s1.small", "description": "API test cluster.", "HostNetwork": { "vpc": "f8ef82e2-6e61-441b-9104-8206bca00a70", "subnet": "c9a9bab3-2041-4789-8976-01bcf5f627eb" }, "ContainerNetwork": { "mode": "overlay_l2", "cidr": "172.16.0.0/16" }, "kubernetesSvcIpRange": "10.247.0.0/16", "kubeProxyMode": "ipvs" } }' https://$CCE/api/v3/projects/$OS_PROJECT_ID/clusters | jq .

GUI example:
Image

Thank you.

@oeotvos
Copy link
Author

oeotvos commented Mar 6, 2025

The API reference has been updated

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant