root@master-node:~/k8s_1.30_install/k8s_install_pkg# kubectl get nodes
NAME STATUS ROLES AGE VERSION
master-node NotReady control-plane 99s v1.30.0
root@master-node:~/k8s_1.30_install/k8s_install_pkg# kubectl apply -f kube-flannel.yml
clusterrole.rbac.authorization.k8s.io/flannel created
clusterrolebinding.rbac.authorization.k8s.io/flannel created
serviceaccount/flannel created
configmap/kube-flannel-cfg created
daemonset.apps/kube-flannel-ds created
error: resource mapping not found for name: "psp.flannel.unprivileged" namespace: "" from "kube-flannel.yml": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1"
ensure CRDs are installed first