Comments (4)
@Megala21 @malithie I experienced the same problem a number of times.
A possible solution for this is the introduction of Kubernetes liveness probes [1].
For example, under the WSO2 product Kubernetes resource unification process that began recently, I managed to build up a IS two node cluster in which I've used liveness probes to conduct port scanning (port 9443) to check the liveness of each IS pod as follows:
livenessProbe:
exec:
command:
- /bin/bash
- -c
- nc -z localhost 9443
initialDelaySeconds: 100
periodSeconds: 10
If the server startup has failed due to the discussed issue, the liveness probe fails. As a result, it will spawn up a new IS pod after killing the existing unhealthy pod.
[1]: Kubernetes liveness and readiness probes
from kubernetes-is.
During testing it was experienced that the solution suggested in #7 (comment) does not provide the most perfect solution to the discussed issue. It was experienced that the server startup takes place successfully even while the above errors are occurring.
Hence, the current solution that has been adopted is to instruct the user to scale [1] the number of Identity Server instances as desired. By default, the setup is initiated with a single Identity Server instance.
[1]: Instruction to scale the number of nodes
from kubernetes-is.
@malithie, @omindu shall we close this, if this issue has been tested and fixed in latest Identity Server versions?
from kubernetes-is.
Still, we have errors when starting the server parallel.
refer : wso2/product-is#5936
from kubernetes-is.
Related Issues (20)
- [5.11.0] Introduce WSO2 IAM Helm Chart For Production Grade Deployment Pattern HOT 3
- [5.11.0] Introduce Kubernetes Resources for Simplified Setup of WSO2 IAM HOT 1
- WSO2 IS Kubernetes - Workflow doesn't work with 2 replicas of stateful sets
- Helm Resources for WSO2 IAM 5.10.0 - Deployment Pattern 2 HOT 2
- [5.11.0] Add MySQL Database scripts to create Helm resources HOT 1
- Spontaneous logged out from management console
- Use update 2 images when subscription is enabled. HOT 1
- Parse error at (is-pattern-1/templates/_helpers.tpl:81): unexpected {{end}} HOT 5
- [v5.11.x] Image not define in the is-pattern-1 template HOT 1
- [BUG] unable to specify tls.secretName for ingress
- WSO2 IS Tenant Creation
- WSO2IS smtp
- Health check does not validates the basic flows.
- Unable to access Username/Password page in wso2 identity server 5.10.0 in Kubernetes setup
- MariaDB Galera ERROR
- Optimise the IAM pod resources HOT 1
- Upgrade the API version of Kubernetes Ingress resources HOT 1
- Upgrade the API version of Kubernetes RoleBinding resource HOT 1
- Fix indentation in wso2is-pattern-1-identity-server-conf.yaml
- Space in helm
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 kubernetes-is.