I’m working with a single-node cluster using Minikube, set up on a Proxmox VM. However, I’ve run into an issue when deploying a custom scheduler as a Deployment. Here’s the error I’m facing.
pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:167: Failed to watch *v1beta1.CSIStorageCapacity: failed to list *v1beta1.CSIStorageCapacity: the server could not find the requested resource
I used the RBAC (Role-Based Access Control) file as
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: full-access-role
rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["*"]
'''
apiVersion: v1
kind: ServiceAccount
metadata:
name: full-access-service-account
namespace: kube-system
'''
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: full-access-binding
subjects:
- kind: ServiceAccount
name: full-access-service-account
namespace: kube-system
roleRef:
kind: ClusterRole
name: full-access-role
apiGroup: rbac.authorization.k8s.io
I’m still encountering this error. Another troubleshooting step I found through a Google search suggests that the versions should match, so I’ll try updating the versions to see if that resolves the issue.
kubectl version
Client Version: v1.28.3
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.3
Can Anyone see any issues here.