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

add operating system field to workerpool actions #4133

Merged
merged 5 commits into from
Nov 10, 2022

Conversation

z0za
Copy link
Contributor

@z0za z0za commented Nov 2, 2022

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Output from acceptance testing:

% make testacc TEST=./ibm/service/kubernetes TESTARGS='-run=TestAccIBMContainerVpcClusterWorkerPoolBasic'
...
--- PASS: TestAccIBMContainerVpcClusterWorkerPoolBasic (1863.24s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/kubernetes      1864.559s


% make testacc TEST=./ibm/service/kubernetes TESTARGS='-run=TestAccIBMContainerOpenshiftClusterBasic'
...
--- PASS: TestAccIBMContainerOpenshiftClusterBasic (3084.54s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/kubernetes      3085.931s


% make testacc TEST=./ibm/service/kubernetes TESTARGS='-run=TestAccIBMContainerVpcOpenshiftClusterWorkerPoolBasic'
...
=== RUN   TestAccIBMContainerVpcOpenshiftClusterWorkerPoolBasic
--- PASS: TestAccIBMContainerVpcOpenshiftClusterWorkerPoolBasic (2664.13s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/kubernetes      2665.500s


% make testacc TEST=./ibm/service/kubernetes TESTARGS='-run=TestAccIBMContainerVpcOpenshiftClusterWorkerPoolDataSource'
...
--- PASS: TestAccIBMContainerVpcOpenshiftClusterWorkerPoolDataSource (2359.68s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/kubernetes      2361.139s

...

@z0za z0za force-pushed the add_os_to_workerpool branch 2 times, most recently from c5e5244 to 992ee1f Compare November 7, 2022 09:00
@z0za z0za marked this pull request as ready for review November 7, 2022 09:57
ibm/service/kubernetes/resource_ibm_container_cluster.go Outdated Show resolved Hide resolved
website/docs/d/container_worker_pool.html.markdown Outdated Show resolved Hide resolved
website/docs/r/container_cluster.html.markdown Outdated Show resolved Hide resolved
website/docs/r/container_vpc_cluster.html.markdown Outdated Show resolved Hide resolved
website/docs/r/container_vpc_worker_pool.html.markdown Outdated Show resolved Hide resolved
website/docs/r/container_worker_pool.html.markdown Outdated Show resolved Hide resolved
@@ -214,6 +214,7 @@ Review the argument references that you can specify for your resource.
- `machine_type` - (Optional, Forces new resource, String) The machine type for your worker node. The machine type determines the amount of memory, CPU, and disk space that is available to the worker node. For an overview of supported machine types, see [Planning your worker node setup](https://cloud.ibm.com/docs/containers?topic=containers-planning_worker_nodes). You can retrieve the value by executing the `ibmcloud ks machine-types <data-center>` command in the IBM Cloud CLI.
- `name` - (Required, Forces new resource, String) The name of the cluster. The name must start with a letter, can contain letters, numbers, and hyphen (-), and must be 35 characters or fewer. Use a name that is unique across regions. The cluster name and the region in which the cluster is deployed form the fully qualified domain name for the Ingress subdomain. To ensure that the Ingress subdomain is unique within a region, the cluster name might be truncated and appended with a random value within the Ingress domain name.
- `no_subnet` - (Optional, Forces new resource, Bool) If set to **true**, no portable subnet is created during cluster creation. The portable subnet is used to provide portable IP addresses for the Ingress subdomain and Kubernetes load balancer services. If set to **false**, a portable subnet is created by default. The default is **false**.
- `operating_system` - (Optional, String) The operating system of the workers in the default worker pool.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we add a link to the cloud doc to get the valid values for operating_systme?

@hkantare hkantare merged commit 6a2f96a into IBM-Cloud:master Nov 10, 2022
@z0za z0za deleted the add_os_to_workerpool branch November 10, 2022 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants