Skip to content

Commit

Permalink
Add OpenStack Magnum conformance results (cncf#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
openstacker authored and taylorwaggoner committed Aug 24, 2018
1 parent 3097ea0 commit 263ea91
Show file tree
Hide file tree
Showing 5 changed files with 10,307 additions and 0 deletions.
8 changes: 8 additions & 0 deletions v1.11/openstack-magnum/PRODUCT.yaml
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
33 changes: 33 additions & 0 deletions v1.11/openstack-magnum/README.md
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.
Loading

0 comments on commit 263ea91

Please sign in to comment.