Mastering Infinispan Cluster & Cache Setup with Operator

  Рет қаралды 123

CONFIG LEARNING HUB

CONFIG LEARNING HUB

Күн бұрын

Infinispan is an open-source, distributed in-memory data grid and caching solution that provides fast access to large datasets across clusters of commodity hardware. We start by deploying the Infinispan Operator, which simplifies the management of Infinispan clusters on Kubernetes. The operator automates the deployment, scaling, and maintenance of Infinispan instances.
Refer Infinispan operator in this link
operatorhub.io...
‪@configlearninghub‬
#infinispan #kubernetes #cluster
Commands
------------------
To start kubernetes cluster
--------------------------------------------
Configure cpus and memory in the below kubernetes single node cluster create command
minikube start -p infinispanminikube --cpus 12 --memory 12g
To create operator lifecycle manager
-----------------------------------------------------------
kubectl create -f raw.githubuser...
kubectl create -f raw.githubuser...
To Install Infinispan Operator subscribe to olm in namespace operator
---------------------------------------------------------------------
kubectl create -f operatorhub.io...
To create infinispan namespace
-------------------------------------------------
kubectl create namespace infinispan
To Install Infinispan Cluster
--------------------------------------------
apiVersion: infinispan.org/v1
kind: Infinispan
metadata:
name: infinispan-cluster
namespace: infinispan
spec:
replicas: 2
version: 15.0.4
service:
type: DataGrid
expose:
type: LoadBalancer
To create tunnel for loadbalancer services
--------------------------------------------------------------------
minikube tunnel -p infinispanminikube
To configure cache
--------------------------------
apiVersion: infinispan.org/v2alpha1
kind: Cache
metadata:
name: distributed-cache
spec:
clusterName: infinispan-cluster
name: distcache
templateName: org.infinispan.DIST_SYNC
apiVersion: infinispan.org/v2alpha1
kind: Cache
metadata:
name: replicated-cache
spec:
clusterName: infinispan-cluster
name: replcache
templateName: org.infinispan.REPL_SYNC
To configure and apply infinispan batch
----------------------------------------------------------------
apiVersion: infinispan.org/v2alpha1
kind: Batch
metadata:
name: infinispan-batch-inline
spec:
cluster: infinispan-cluster
config: |
create cache --template=org.infinispan.DIST_SYNC batchcache
put --cache=batchcache hello world
put --cache=batchcache hola mundo

Пікірлер: 1
@SonuKumar-fn1gn
@SonuKumar-fn1gn 2 ай бұрын
Thank you for the video ❤
Creating Four Types Of Zookeeper Nodes in Tamil
8:59
CONFIG LEARNING HUB
Рет қаралды 453
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 108 МЛН
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 8 МЛН
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 10 МЛН
Quarkus Insights #115: What's new in Infinispan?
1:02:20
Quarkusio
Рет қаралды 1,1 М.
Kubernetes Crash Course for Absolute Beginners [NEW]
1:12:04
TechWorld with Nana
Рет қаралды 2,8 МЛН
Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]
3:36:55
TechWorld with Nana
Рет қаралды 8 МЛН
Angular Demo - 01
1:55:51
Java Hangout
Рет қаралды 38
Oct 10 DevOps aws ec2 aws cli key auth
53:01
Sankar Ramalingam
Рет қаралды 43
Simplifying Kafka Connect with Strimzi
36:39
CONFIG LEARNING HUB
Рет қаралды 61
SQLite: How it works, by Richard Hipp
1:39:27
Prof. Dr. Jens Dittrich, Big Data Analytics
Рет қаралды 10 М.
Daniel Thompson-Yvetot - Tauri 2.0 - DevWorld 2024
23:36
JSWORLD Conference
Рет қаралды 12 М.
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 108 МЛН