Skip to content

Commit

Permalink
Conformance results for v1.21/kubekey (cncf#1740)
Browse files Browse the repository at this point in the history
Signed-off-by: 24sama <[email protected]>
  • Loading branch information
24sama authored Dec 17, 2021
1 parent 5198a15 commit 735f2a1
Show file tree
Hide file tree
Showing 4 changed files with 31,056 additions and 0 deletions.
10 changes: 10 additions & 0 deletions v1.21/kubekey/PRODUCT.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
vendor: QingCloud Technologies Corp.
name: kubekey
version: v1.2.0
website_url: https://kubesphere.io/docs/installing-on-linux/introduction/kubekey
repo_url: https://github.com/kubesphere/kubekey
documentation_url: https://kubesphere.io/docs/installing-on-linux/introduction/kubekey
product_logo_url: https://raw.githubusercontent.com/kubesphere/kubekey/master/docs/img/kubekey-logo.svg
type: installer
description: Provides a flexible, rapid and convenient way to install Kubernetes only, both Kubernetes and KubeSphere, and related cloud-native add-ons. It is also an efficient tool to scale and upgrade your cluster.

68 changes: 68 additions & 0 deletions v1.21/kubekey/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
## To reproduce:
#### Creating a cluster with kubekey

Step 1:Download KubeKey v1.2.0 and add permission.
```
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
chmod +x kk
```

Step 2:Create configuration file for cluster
```
./kk create config
```

Step 3:Modify config-sample.yaml include hosts and kubernetes.version
```
apiVersion: kubekey.kubesphere.io/v1alpha1
kind: Cluster
metadata:
name: config-sample
spec:
- {name: node1, address: 192.168.6.5, internalAddress: 192.168.6.5, user: root, password: Qcloud@123}
- {name: node2, address: 192.168.6.6, internalAddress: 192.168.6.6, user: root, password: Qcloud@123}
- {name: node3, address: 192.168.6.7, internalAddress: 192.168.6.7, user: root, password: Qcloud@123}
roleGroups:
etcd:
- node1
- node2
- node3
master:
- node1
- node2
- node3
worker:
- node1
- node2
- node3
controlPlaneEndpoint:
internalLoadbalancer: haproxy
domain: lb.kubesphere.local
address: ""
port: "6443"
kubernetes:
version: v1.21.5
```

Step 4:Get Started With Installation
It's recommended to install using root user, then create a cluster using the configuration file:
```
./kk create cluster -f config-sample.yaml
+-------+------+------+---------+----------+-------+-------+-----------+--------+------------+-------------+------------------+--------------+
| name | sudo | curl | openssl | ebtables | socat | ipset | conntrack | docker | nfs client | ceph client | glusterfs client | time |
+-------+------+------+---------+----------+-------+-------+-----------+--------+------------+-------------+------------------+--------------+
| node3 | y | y | y | y | | | y | y | | | | CST 14:00:33 |
| node2 | y | y | y | y | | | y | y | | | | CST 14:00:33 |
| node1 | y | y | y | y | | | y | y | | | | CST 14:00:33 |
+-------+------+------+---------+----------+-------+-------+-----------+--------+------------+-------------+------------------+--------------+
This is a simple check of your environment.
Before installation, you should ensure that your machines meet all requirements specified at
https://github.com/kubesphere/kubekey#requirements-and-recommendations
Continue this installation? [yes/no]:
```

#### Deploy sonobuoy Conformance test
* Follow the conformance suite instructions to [test](https://github.com/cncf/k8s-conformance/blob/master/instructions.md) it.
Loading

0 comments on commit 735f2a1

Please sign in to comment.