Skip to content

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

@MonaMuvva

Description

@MonaMuvva

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions