OrleansContrib/Orleans.Clustering.Kubernetes

Getting 'Forbidden' error while deploying to kuberenetes.

Opened this issue · 0 comments

Hi,
Need help in deployment Orleans application in kubernetes using "Orleans.Clustering.Kubernetes" method.
and provided the Role and Rolebindings to the serviceAccount as below -

apiVersion: v1
kind: ServiceAccount
metadata:
name: orleanssilo
namespace: poc

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: orleanssilo
rules:
- apiGroups:
- orleans.dot.net
resources:
- silos
- clusterversions
verbs:
- get
- list
- watch
- create
- update
- patch
- delete

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: orleanssilo
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: orleanssilo
subjects:
- kind: ServiceAccount
name: orleanssilo
namespace: poc

But once deployed to kuberenetes facing the below issue -

fail: Orleans.Clustering.Kubernetes.KubeMembershipTable[0]
Initial ClusterVersionEntity entity doesn't exist.

Please suggest regarding the ClusterVersionEntity...