|
1 | | -# Kubernetes Template Project |
2 | | - |
3 | | -The Kubernetes Template Project is a template for starting new projects in the GitHub organizations owned by Kubernetes. All Kubernetes projects, at minimum, must have the following files: |
4 | | - |
5 | | -- a `README.md` outlining the project goals, sponsoring sig, and community contact information |
6 | | -- an `OWNERS` with the project leads listed as approvers ([docs on `OWNERS` files][owners]) |
7 | | -- a `CONTRIBUTING.md` outlining how to contribute to the project |
8 | | -- an unmodified copy of `code-of-conduct.md` from this repo, which outlines community behavior and the consequences of breaking the code |
9 | | -- a `LICENSE` which must be Apache 2.0 for code projects, or [Creative Commons 4.0] for documentation repositories, without any custom content |
10 | | -- a `SECURITY_CONTACTS` with the contact points for the Product Security Team |
11 | | - to reach out to for triaging and handling of incoming issues. They must agree to abide by the |
12 | | - [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy) |
13 | | - and will be removed and replaced if they violate that agreement. |
14 | | - |
15 | | -## Community, discussion, contribution, and support |
16 | | - |
17 | | -Learn how to engage with the Kubernetes community on the [community page](http://kubernetes.io/community/). |
18 | | - |
19 | | -You can reach the maintainers of this project at: |
20 | | - |
21 | | -- [Slack](https://slack.k8s.io/) |
22 | | -- [Mailing List](https://groups.google.com/a/kubernetes.io/g/dev) |
| 1 | +# provider-ibmcloud-test-infra |
| 2 | + |
| 3 | +This project contains the [kubetest2](https://github.com/kubernetes-sigs/kubetest2) deployer-plugin for IBM Cloud to set up and run Kubernetes end-to-end tests on ppc64le or s390x hosts. |
| 4 | +This plugin predominantly uses Terraform for provisioning infrastructure on IBM Cloud and Ansible for setting up Kubernetes on the deployed infrastructure. |
| 5 | + |
| 6 | +## kubetest2-tf |
| 7 | + |
| 8 | +kubetest2-tf is the deployer for creating required resources on [IBM Cloud Power Virtual Server](https://www.ibm.com/in-en/cloud/power-virtual-server) or [IBM Z](https://www.ibm.com/products/z/hybrid-cloud) infrastructure. |
| 9 | + |
| 10 | +## Installation |
| 11 | + |
| 12 | +### Using make |
| 13 | +The plugin can be installed by executing the following command from repository root: |
| 14 | +```shell |
| 15 | +make install-deployer-tf |
| 16 | +``` |
| 17 | + |
| 18 | +## Plugin usage |
| 19 | +```shell |
| 20 | +kubetest2 tf --powervs-dns k8s-tests --powervs-image-name CentOS-Stream-10 \ |
| 21 | +--powervs-zone syd05 --powervs-region=syd \ |
| 22 | +--powervs-service-id <Service ID of the workspace> --powervs-api-key <IBMCLOUD API KEY> \ |
| 23 | +--powervs-ssh-key ssh-key --ssh-private-key ~/.ssh/id_rsa \ |
| 24 | +--build-version v1.35.0-alpha.XXXXXXX \ |
| 25 | +--workers-count 1 --auto-approve --cluster-name <cluster-name>\ |
| 26 | +--playbook install-k8s-perf.yml --up --down \ |
| 27 | +--extra-vars=feature_gates:AllAlpha=true,EventedPLEG=false --retry-on-tf-failure 3 \ |
| 28 | +--break-kubetest-on-upfail true --ignore-destroy-errors --powervs-memory 16 \ |
| 29 | +--test=<kubetest2 tester> -- <tester args> |
| 30 | +``` |
| 31 | + |
| 32 | +Additionally, this repository contains playbooks that help setup the build-cluster used by [prow.k8s.io](https://prow.k8s.io/) |
| 33 | +More information on this topic can be found [here](https://github.com/kubernetes/k8s.io/tree/main/infra/ibmcloud/terraform/k8s-power-build-cluster#tf-ibm-k8s-power-build-cluster) |
23 | 34 |
|
24 | 35 | ### Code of conduct |
25 | 36 |
|
|
0 commit comments