[root@k8s-master01 ~]# sh k10_primer.sh
Namespace option not provided, using default namespace
Checking for tools
--> Found kubectl
--> Found helm
Checking if the Kasten Helm repo is present
--> The Kasten Helm repo was found
Checking for required Helm version (>= v3.0.0)
--> No Tiller needed with Helm v3.9.0
K10Primer image
--> Using Image (192.168.6.80:8888/library/k10tools:5.0.0) to run test
Checking access to the Kubernetes context kubernetes-admin@kubernetes
--> Able to access the default Kubernetes namespace
K10 Kanister tools image
--> Using Kanister tools image (192.168.6.80:8888/library/kanister-tools:k10-0.79.0) to run test
使用命令在集群中运行 K10Primer 作业 -
./k10tools prime
serviceaccount/k10-primer created
clusterrolebinding.rbac.authorization.k8s.io/k10-primer created
job.batch/k10primer created
Waiting for pod to be ready -
Waiting for pod to be ready -
等待 pod 准备好 -
等待 pod 准备好 -
等待 pod 准备好 -
等待 pod 准备好 -
等待 pod 准备好 -
等待 pod 准备好 -
等待 pod k10primer-- 1-thwn2 准备就绪 - ContainerCreating
等待 pod k10primer--1-thwn2 准备就绪 -
Pod 准备就绪!
Kubernetes 版本检查:
有效的 kubernetes 版本 (v1.22.0) - OK
RBAC 检查:
Kubernetes RBAC 已启用 - OK
聚合层检查:
Kubernetes 聚合层已启用 - OK
CSI 功能检查:
集群不支持 CSI
验证供应商:
kubernetes.io/glusterfs:
存储类:
glusterfs
通过 K10 通用卷备份支持。请参阅 https://docs.kasten.io/latest/install/generic.html。
storage.pri/nfs:
存储类:
nfs-pod
通过 K10 通用卷备份支持。请参阅 https://docs.kasten.io/latest/install/generic.html。
验证通用卷快照:
Pod 创建成功 - OK
GVS Backup 命令成功执行 - OK
Pod 成功删除 - OK
serviceaccount "k10-primer" 已删除
clusterrolebinding.rbac.authorization.k8s.io "k10-primer" 已删除
job.batch "k10primer" 已删除
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ - --- ---- -------
警告 FailedScheduling 2m45s (x86 over 93m) default-scheduler 0/3 个节点可用:3 pod 有未绑定的即时 PersistentVolumeClaims