Comments (4)
The ideal would be display the node name of which controller is on, instead of the pod name
Why is this important? I can understand it for the satellites. Once #56 is done, it shouldn't really matter where the controller pod is running. With the current set-up I can quickly determine the right pod for kubectl logs
if something is wrong.
I tried to tweek it to use spec.nodeName and status.hostIP, but somehow linstor does not allow registration using containerPort. > Changing controller to use hostNetwork solves the problem but could be an overshoot.
Not really sure whats happening there. However I don't see why we should use a containerPort <-> hostPort mapping. Again, the controller is not tied to any specific host, so it makes sense to just use simple pods.
from piraeus-operator.
-
Accessing Linstor API outside of K8S requires the IP of the node on which linstor controller is, for example "standalone linstor cmd client", etc.
-
piraeus-operator is actually using containerPort<-> hostPort mapping for linstor controller.
ports:
- containerPort: 3376
hostPort: 3376
protocol: TCP
- containerPort: 3377
hostPort: 3377
protocol: TCP
- containerPort: 3370
hostPort: 3370
protocol: TCP
- containerPort: 3371
hostPort: 3371
protocol: TCP
from piraeus-operator.
- Accessing Linstor API outside of K8S requires the IP of the node on which linstor controller is, for example "standalone linstor cmd client", etc.
Should this not be handled by the appropriate k8s concept:
- We already use a service for k8s internal communication with linstor. Can we reuse that in some way?
- It may be useful to add an Ingress resource?
- piraeus-operator is actually using containerPort<-> hostPort mapping for linstor controller.
True. I plan to change that in #56. I don't see why it would be needed. Access should happen via the service (which I also plan to change. It should act as a proxy, so it should get a stable IP address)
from piraeus-operator.
No longer relevant, in Operator v2 we only run a single controller, which is not registered with the cluster itself.
from piraeus-operator.
Related Issues (20)
- Linstor-Satellite pod zfs create results in invalid arg. HOT 3
- Deployment on k8s failed due to drbd-module-loader container HOT 1
- StorageException: Failed to pvcreate on device: /dev/sdb HOT 13
- Clarify the meaning of the CRDs .status.conditions HOT 1
- StorageException: Failed to mkfs /dev/drbd1002 HOT 9
- etcd-operator adoption HOT 1
- Linstor, installed via Piraeus operator in Kubernetes cluster, disables LVM monitoring HOT 5
- ImplementationError: Layer 'DRBD did not delete the volume 0 of resource ... properly HOT 4
- Resizing of LVM after Host-Reboot not working HOT 9
- A potential risk in piraeus-operator that could lead to takeover of the cluster HOT 1
- ZFS: change mounting location (for Talos Linux) HOT 4
- failed to fail-over resource HOT 1
- make master node only for DISKLESS as TieBreaker HOT 3
- [bug] The priorityClass of the pods is not set. Cascade of failure ensues. HOT 3
- `Satellite not online` for only one node. No errors, just hangs. HOT 2
- Importing/Mounting pre-existing volumes in linstor/DRBD HOT 2
- setup fails for minikube HOT 1
- BUG: Unnecessary permissions in charts HOT 1
- Error βcan't read superblock on /dev/drbd1001.β when trying to start a pod HOT 5
- please install `diffutils` from quay.io/piraeusdatastore/drbd9-almalinux9:v9.2.9 HOT 2
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 piraeus-operator.