Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting 'Forbidden' error while deploying to kuberenetes. #53

Open
MonaMuvva opened this issue Jun 30, 2021 · 0 comments
Open

Getting 'Forbidden' error while deploying to kuberenetes. #53

MonaMuvva opened this issue Jun 30, 2021 · 0 comments

Comments

@MonaMuvva
Copy link

MonaMuvva commented Jun 30, 2021

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant