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.
Conformance results for v1.21/kubekey (cncf#1740)
Signed-off-by: 24sama <[email protected]>
- Loading branch information
Showing
4 changed files
with
31,056 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,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. | ||
|
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,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. |
Oops, something went wrong.