Try Playground
Show / Hide Table of Contents

Amazon EKS - Create Role Binding in Kubernetes

Role Binding in Amazon EKS is the process to assign the role created in the previous step to the service account for the deployment of NCache Operator.

Create Manifest File for Role Binding

Declaration of the YAML file, role_binding.yaml, is shown below:

Note

The parameters required to create this YAML file, ready to be deployed, are explained in the Properties section.

kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: ncache-operator
subjects:
- kind: ServiceAccount
  name: ncache-operator
roleRef:
  kind: Role
  name: ncache-operator
  apiGroup: rbac.authorization.k8s.io

In this declaration, the subjects and roleRef bind the two entities together.

Deploy Role Binding in Amazon EKS

Deploy the created role_binding.yaml in Kubernetes cluster to successfully assign roles to the service account.

kubectl create -f [dir]/role_binding.yaml

Properties

The properties required to create role binding in Amazon EKS are explained below:

Parameter Description
-kind This can be many different types like a Deployment, a Service, DaemonSet or StatefulSet. In this case it will be RoleBinding.
-apiVersion Specifies the version of the kind and it depends on the underlying version of Amazon EKS.
-name Specifies the name of the Operator you will deploy that needs access to the service account.

The next step is to create the NCache Operator itself, the steps of which have been explained in the next chapter.

See Also

Create Service Account
Create Role Definition
Create NCache Operator
Create Custom Resources

In This Article
  • Create Manifest File for Role Binding
  • Deploy Role Binding in Amazon EKS
  • Properties
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top