Comments (9)
correction: the cluster boots succesfully with my dual architecture setup, but i think that's also a bug:
with that setup, the prmr
pods will end up with only one nodeaffinity, and so there will still be no pods going onto the arm nodes:
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- amd64
from arangodb-docker.
when i switch the order in spec.architecture
, we're back at the original issue, where the temporary pod doesn't schedule. it seems that only the first entry in spec.architecture
is respected:
0/13 nodes are available: 1 node(s) didn't match Pod's node affinity/selector, 1 node(s) were unschedulable, 3 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate, 8 node(s) had taint {arch: arm64}, that the pod didn't tolerate.
from arangodb-docker.
fwiw in the original implementation there was an error "Only one architecture type is supported currently"
, but that seems to have disappeared before/during/after merging that PR
from arangodb-docker.
so I now hacked our toleration
- effect: NoSchedule
key: arch
operator: Equal
value: arm64
into the spec of the temporary pod and the cluster now successfully booted on arm
from arangodb-docker.
when i switch the order in
spec.architecture
, we're back at the original issue, where the temporary pod doesn't schedule. it seems that only the first entry inspec.architecture
is respected:0/13 nodes are available: 1 node(s) didn't match Pod's node affinity/selector, 1 node(s) were unschedulable, 3 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate, 8 node(s) had taint {arch: arm64}, that the pod didn't tolerate.
opened arangodb/kube-arangodb#1140
from arangodb-docker.
cc @jwierzbo from #53 (comment)
I guess this issue should live in kube-arangodb actually 😅 should I close and re-open there?
from arangodb-docker.
yes, I think as long as our docker container doesn't anything wrong about this topic, this issue doesn't belong here, and it should be discussed inside of the http://github.com/arangodb/kube-arangodb repo.
The multiarch support of the container should be working properly as of ArangoDB 3.10, right?
from arangodb-docker.
yes, all green until now! I'll re-open there
from arangodb-docker.
closing in favor of arangodb/kube-arangodb#1141
from arangodb-docker.
Related Issues (20)
- ENV options set to 0 have opposite effect
- Upgrade base image for alpine docker images
- [QUESTION] How to create database with docker-compose ?
- Folder Permission in Alpine images are not root group writeable HOT 2
- signals not handled in entrypoint
- Enabling experimental naming conventions HOT 2
- Docker image 3.8.6 ARANGO_ROOT_PASSWORD HOT 3
- ArangoDB 3.10? HOT 2
- Customize web interface appearance?
- Vulnerabilities in /usr/bin/arangodb HOT 18
- Trivy findings in latest version HOT 3
- Vulnerabilities with image on DockerHub HOT 2
- Run crashes on macOS Ventura 13.5 HOT 10
- ARANGO_NO_AUTH still disables auth if set to 0
- /usr/sbin/arango-init-database failed with invalid value for '--rocksdb.max-background-jobs') = 95 HOT 1
- Let service run as application user instead of root user HOT 2
- [Question] Enter docker container HOT 3
- Can't I put haproxy in front of arangodb? HOT 2
- [QUESTION] Apply database and user creation during container build
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 arangodb-docker.