• Products
  • Solutions
  • Customers
  • Resources
  • Company
  • Pricing
  • Download
Try Playground
  • Create Management Gateway in OpenShift
Show / Hide Table of Contents
  • Deploying NCache in Red Hat OpenShift
  • Create New Project in OpenShift
  • Create NCache Deployment in OpenShift
  • Create Cache Discovery Service in OpenShift
  • Create Management Gateway in OpenShift
  • Create NCache Cluster in OpenShift
  • Deploy Client Applications in Openshift
  • Monitor NCache Cluster and Clients in OpenShift
  • Adding Cache Servers at Runtime in OpenShift
  • Removing Cache Severs at Runtime in OpenShift

Create Management Gateway in Openshift

The creation of cache management gateway is solely for the purpose of managing and monitoring NCache deployments outside the Kubernetes cluster. Any management operation performed would be routed through this management gateway to the cache discovery service and that would result in allowing you to monitor all the underlying pods.

In order to create the route, create a YAML file with the configurations. Given below is a sample YAML file to create a route.

kind: Route
apiVersion: route.openshift.io/v1
metadata:
  name: ncache
  labels:
    app: cacheserver
spec:
  to:
    kind: Service
    name: cacheserver
  port:
    targetPort: management-http

Using Web Portal in OpenShift

  • Go to the Networking section from the OpenShift portal.

  • Select Routes from the drop-down menu.

  • Create a route to the headless service a.k.a Cache Discovery Service.

Create Route

  • Provide a name for the route and select the service with the name cacheserver created previously. Along with that, provide the target port 8251 for management and monitoring outside the Kubernetes cluster.

Create Route

  • Route will be created successfully.

Route Created

Using Command Line

  • In order to create the route using command line tool, create a YAML file with the configurations. Given below is a sample YAML file to create a route.
kind: Route
apiVersion: route.openshift.io/v1
metadata:
  name: ncache
  labels:
    app: cacheserver
spec:
  to:
    kind: Service
    name: cacheserver
  port:
    targetPort: management-http
  • Once created, run the following command in the command line tool to create the route.
oc create -f route.yaml
  • In order to verify successful creation of the route, run the following command.
oc get routes

After successful management gateway, you need to create NCache cache cluster, explained in the next chapter.

See Also

Create New Project in Openshift
Create Cache Discovery Service in Openshift
Create Management Gateway in Openshift
Create NCache Cluster in Openshift

In This Article
  • Using Web Portal in OpenShift
  • Using Command Line
  • 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