forked from cncf/k8s-conformance
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OpenStack Magnum conformance results (cncf#305)
- Loading branch information
1 parent
3097ea0
commit 263ea91
Showing
5 changed files
with
10,307 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
vendor: OpenStack Foundation | ||
name: Magnum | ||
version: 7.0.0 | ||
website_url: http://git.openstack.org/cgit/openstack/magnum/ | ||
documentation_url: https://docs.openstack.org/magnum/rocky/user/ | ||
type: installer | ||
description: Magnum is an OpenStack API service developed by the OpenStack Containers Team making container orchestration engines such as Kubernetes available as a first class resources in OpenStack. | ||
product_logo_url: https://www.openstack.org/themes/openstack/images/project-mascots/Magnum/OpenStack_Project_Magnum_vertical.eps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# OpenStack Magnum (Kubernetes) Conformance | ||
|
||
|
||
## Create Kubernetes Cluster | ||
|
||
Setup an OpenStack environment with devstack at stable/rocky branch. Then create your personal keypair by command: | ||
|
||
```shell | ||
openstack keypair create my-key --public-key ~/.ssh/id_rsa.pub | ||
``` | ||
|
||
Now you can create a Kubernetes cluster template by command: | ||
|
||
```shell | ||
openstack coe cluster template create k8s --keypair my-key --flavor ds1G --master-flavor ds1G --coe kubernetes --external-network public --docker-volume-size 5 --image $( openstack image show "Fedora-Atomic-27-20180212.2.x86_64" -f value -c id ) | ||
``` | ||
|
||
Then you can create a Kubernetes cluster by below command: | ||
|
||
|
||
```shell | ||
openstack coe cluster create k8s-cluster --cluster-template k8s | ||
``` | ||
|
||
After the cluster is created, run the following command to obtain the configuration/certificate files: | ||
|
||
```shell | ||
eval $(openstack coe cluster config <CLUSTER_ID>) | ||
``` | ||
|
||
## Testing | ||
|
||
Once the configuration has been created, then you can follow the conformance suite [instructions](https://github.com/cncf/k8s-conformance/blob/master/instructions.md#running) to run the conformance test. |
Oops, something went wrong.