Comments (4)
I will update the requirements if found something else.
from gluu-docker.
opendj
registering and finding peer for replication should be avoided (investigating)
One way to discover a peer can be done by running nslookup <SERVICE_NAME>
command from the container. But the implementation may vary depending on the scheduler. For example, in Docker Swarm, the command is nslookup <SERVICE_NAME> <RESOLVER_IP>
; meanwhile in Kubernetes, nslookup <SERVICE_NAME>
is sufficient. We need a robust way to handle different nslookup
queries.
from gluu-docker.
Currently, the configuration are managed in Consul KV. To allow support for non Consul-based config storage (for example Kubernetes' configmap or Docker Swarm's configs), using Consul should be treated as optional (or leave it as fallback).
To allow switching config storage (Consul, k8s' configmap, etc), we will build a set of APIs as a wrapper to config storage API. For example, in config-init
container, users can choose whether to use consul
or kubernetes
to generate/load/dump the cluster configuration. Given the same APIs, other containers entrypoint can choose where to pull the config from (either from consul
or kubernetes
). The logic of choosing config storage is handled by the config wrapper API.
An example of config wrapper:
def get_config(name, default=None):
if os.environ["config_storage"] == "consul":
value = consul.kv.get(name)
elif os.environ["config_storage"] == "kubernetes":
value = kubernetes.get(name)
else:
value = default
return value
binddn = get_config("ldap_binddn")
Note, we are aware about injecting k8s configmap (using yaml
) into a container, but that requires deep understanding on how our containers work and which config they're needed for. Also, it does change our existing implementation (based on Consul KV), hence the idea is to have a set of APIs that can be used to interact with config storage (currently supporting Consul). Other implementation (k8s configmap, etcd, and others) must conform to the APIs.
from gluu-docker.
All of docker images except OpenLDAP tagged with latest
support this feature
from gluu-docker.
Related Issues (20)
- Bump Alpine to v3.9.3 to mitigate CVE-2019-5021 HOT 2
- Use initContainers instead of containers HOT 2
- GLUU_CONFIG_ADAPTER listed twice HOT 1
- Config backend is not ready HOT 1
- SchemaError creating resources (kubectl apply -f) HOT 1
- Gluu Gatway integration with docker edition deployments fail to login HOT 5
- Deploy Vault with manual unseal (for demo) HOT 1
- Support Internal Proxy for installation for test-drive HOT 1
- docker-compose.yml without domain HOT 1
- i get a message when running ./run_all.sh HOT 1
- Add dynamic and static provisioning example HOT 1
- Add Network Policies HOT 1
- No release or changelogs for DE upgrades HOT 1
- Password not geting validated with regex pattern in enable custom validation api - /identity/attribute/update/ gluu docker edition 3.1.4 HOT 1
- Oxtrust - Can not download ssl certificate HOT 1
- /data/config/db path isn't created by minikube setup HOT 4
- why are you requiring to obtain Google Cloud Platform KMS credentials? HOT 1
- Let's Encrypt SSL in DE? HOT 1
- how to run gluu by docker? I need a docker-compose sample HOT 1
- oxpassport pod loosing the configuration after restart 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 gluu-docker.