Unsupported kubernetes version stated in the docs
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 273
- Forks
- 391
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
If you scroll down to the part where the instructions to provision an MKS Cluster using terraform reside,
here
resource "ovh_cloud_project_kube" "my_kube_cluster" {
service_name = "${var.service_name}"
name = "my_kube_cluster"
region = "GRA7"
version = "1.22"
}
resource "ovh_cloud_project_kube_nodepool" "node_pool" {
service_name = "${var.service_name}"
kube_id = ovh_cloud_project_kube.my_kube_cluster.id
name = "my-pool" //Warning: "_" char is not allowed!
flavor_name = "b2-7"
desired_nodes = 3
max_nodes = 3
min_nodes = 3
}
The kubernetes version 1.22 mentioned here is causing terraform apply to fail with the following error.
ovh_cloud_project_kube.my_kube_cluster: Creating...
╷
│ Error: calling Post /cloud/project/48415a653def4db0aaa6659d904debb5/kube with params my_kube_cluster (GRA7): 1.22:
│ OVHcloud API error (status code 400): Client::BadRequest: "[version] \"1.22\" does not match the enum" (X-OVH-Query-Id: EU.ext-4.6909ec19.1556006.56a8066f382fbec02a0
53b7ca209a754)
│
│ with ovh_cloud_project_kube.my_kube_cluster,
│ on main.tf line 17, in resource "ovh_cloud_project_kube" "my_kube_cluster":
│ 17: resource "ovh_cloud_project_kube" "my_kube_cluster" {
│
╵
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked OVHcloud instructions and locate the matching Terraform MKS Cluster example in this repository. Verify which Kubernetes versions the OVHcloud API currently accepts, update the example's version, and confirm the documented configuration no longer uses the rejected 1.22 value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, terraform
- Domain
- cloud, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100