-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[doc] 3.5 Deployment on Existing SLES Installation #517
Comments
@ereslibre Must swap be disabled on existing SLE systems? From my understanding this installation method would be run in parallel to the existing stuff on those SLE systems that might use swap. |
It must be disabled, because:
Of course I'm talking about the master and worker nodes, not the skuba administration node... |
Yes, @savasirez is correct, swap must be disabled on the target nodes that will join (or initialize) the cluster. The machine where |
So maybe this was a misunderstanding I had from the beginning. The "existing SLES installation" implied to me that you could re-use any of your existing SLES servers to ALSO become nodes in the CaaSP cluster (and keep running the previous use case on them). From what you state here this is not possible. @ereslibre Can you please confirm that with "existing SLES" you mean "fully convert an existing SLES machine to exclusively become a cluster node for CaaSP". Then I need to change the wording to make that clear. |
For creating a cluster you need a machine where you can run:
and subsequent The important part is that My point was, the |
I get that but that wasn't my question. Saying "Install CaaSP on an existing SLES installation" to me (as a user) means:
Now we're saying "You must disable swap on the machines that are joining the cluster" which means
Or am I seeing this wrong? |
I believe you are correct, it may be better to insert a disclaimer about this here, what do you think? |
+1, yes. In general they won't run applications per-se (that's what Kubernetes is for), but they might want to run some configuration management tools that have an agent (salt, chef...) or other similar applications. |
OK but again: You can NOT just add general purpose SLES machines to the cluster and expect this to work correctly; right?! This "you may only run CaaSP on existing machines if they use any of the following things <we don't have that list>" is not really a good way to communicate expectations or requirements. |
That is exactly what I'm trying to clarify here, yes :) |
You can. As long as they don't have swap. |
However one thing is what can be done, and other is what we encourage and support. I can't tell whether we would support a "reused" SLE machine that is running nginx or mariadb at the host level. What I can tell is that we should encourage users to create machines for the sole purpose of joining the Kubernetes cluster. The use cases where they will "reuse" machines is nearly to 0, I would expect at least. |
My impression when reading the part was actually this :
|
I wouldn't want to support such a scenario. CaaSP nodes should be dedicated to CaaSP and not run other applications/services. |
OK I will rewrite this section to make that clear and that "existing SLES" only means "SLES that was installed without CaaSP at the time". |
+1 |
Looks like a real world case of this misunderstanding is documented here: https://bugzilla.suse.com/show_bug.cgi?id=1152354 |
3.5 Deployment on Existing SLES Installation
https://documentation.suse.com/suse-caasp/4/single-html/caasp-deployment/#_deployment_on_existing_sles_installation
There is no indication of "removal of swap" before bootstrapping the cluster with skuba.
So it should be written here to disable and remove swap before going forward.
The text was updated successfully, but these errors were encountered: