Comments (8)
The chart doesn't support xsite.
It should be possible for xsite to work, however it would require the StatefulSet template to be modified to expose the required ports and additional Services to be created. More information on the configuration required can be found in our xsite guide.
I recommend that you consider using the Infinispan Operator for your k8s deployment. The operator provides xsite support OOB and is the simplest way to get started.
from infinispan-helm-charts.
Hello @ryanemerson, thank you for the clarification!
from infinispan-helm-charts.
@ryanemerson maybe you can show configuration template for jgroup and xsite in yml format?
I'm having trouble finding the right config :(
changing helm-chart is not scary, I will add the necessary ports.
from infinispan-helm-charts.
@fallen-up Our intention is to eventually add a dedicated helm chart for xsite deployments. @pruivo Do we have an ETA for this?
from infinispan-helm-charts.
@ryanemerson
that's great, but it's definitely gonna take some time.
I would be very grateful for an example config :)
Doesn't work:
deploy:
infinispan:
jgroups:
stack:
relay:
xmlns: "urn:org:jgroups"
site: NL
max_site_masters: "1000"
remote-sites:
remote-site:
- name: NL
- name: LD
default-stack: tcp
name: xsite
extends: udp
cacheContainer:
name: default
transport:
cluster: ${infinispan.cluster.name:cluster}
node-name: ${infinispan.node.name:}
stack: xsite
from infinispan-helm-charts.
No ETA since the interest in this feature is low (it is the first time I heard someone request it this year) and it is not trivial to implement. I would suggest to use the operator for this (https://infinispan.org/docs/infinispan-operator/main/operator.html#setting-up-xsite).
The main problem to solve is to make the pods accessible between clusters. The operator does that by deploying a gossip router and making it accessible to both clusters. A new JGroups stack must be created to use the TUNNEL protocol (http://jgroups.org/manual5/index.html#TUNNEL_Advanced) .
from infinispan-helm-charts.
@pruivo it's not big problem for me to link services between different k8s-clusters.
but I need help with correct config for jgroup in yml-format.
Could you provide correct format?
Or maybe some lifehack with external files? for example:
deploy:
infinispan:
jgroups:
stack-file:
name: tcp
path: /opt/jgroups-tcp.xml
from infinispan-helm-charts.
we don't need to link services, pods IPs should be accessible from both clusters. If that is the case, you need a headless service which includes the IPs of all pods in both cluster and and configure DNS_PING as in https://github.com/infinispan/infinispan/blob/main/core/src/main/resources/default-configs/default-jgroups-kubernetes.xml#L28
from infinispan-helm-charts.
Related Issues (20)
- HelmChart should support encryption
- Infinispan Server failed to start org.infinispan.manager.EmbeddedCacheManagerStartupException HOT 18
- securityContext.fsGroup should not be assigned in default values
- Route/Ingress must be configured properly with TLS
- Docs for encryption should show how to use credentials store
- Helm chart encryption docs minor formatting fixes
- Add chart to Artifacthub HOT 3
- Update to Infinispan 15
- Server unable to start after pod restart with Infinispan 15
- Autoscaling support for Helm release HOT 1
- How to safely add password to security.batch HOT 2
- Error when added annotations or podLabeles HOT 16
- Add volume without using TemplateVolume HOT 4
- After Deploy infinispan don't work correcrtly HOT 26
- Console error after deploy default
- Enter to different infinispan securityRealm through UI console HOT 10
- User with role admin dont have possibility create cache HOT 23
- error on first time deploy of chart ISPN000512 Cannot acquire lock /opt/infinispan/server/data/___global.lck HOT 9
- Error Create Cache HOT 25
- Allow the user to specify container securityContext HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infinispan-helm-charts.