docs: fix multi-AIPC deployment guide gaps and align k3s endpoint port#122
Merged
Conversation
Address issues found during a single-machine (PXE + k3s server + JupyterHub) end-to-end deployment of the 3 Node Mini-Cluster example: - Add a "passwordless root SSH" prerequisite in Step 1 (and an ansible_connection: local alternative for the self-managed service machine) so the PXE playbook does not fail at "Gathering Facts". - Make sudo / kubectl / ansible-playbook usage consistent: run playbooks without sudo, export KUBECONFIG before first kubectl, and drop the duplicate k3s kubectl verification command. - Step 11: append the notebook NFS export to /etc/exports instead of /etc/exports.d/*.conf, which is silently ignored on Ubuntu 24.04 and left PVCs Pending. - Step 12: use authMode "auto-login" (the single-node default) instead of "dummy", whose login form 404s. - Align the Apache /k3s/ credential endpoint to port 8080 (pxe_web_port) so the PXE controller can co-exist with k3s Traefik / ServiceLB on host 80/443. Co-authored-by: Cursor <cursoragent@cursor.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up fixes for the 3 Node Mini-Cluster Example guide, based on a real single-machine deployment (one host running PXE controller + single-node k3s server + JupyterHub) taken end-to-end (login + GPU notebook verified).
ansible_connection: localalternative for the self-managed service machine) so the PXE playbook no longer fails at "Gathering Facts".sudo/kubectl/ansible-playbookusage consistent: run playbooks withoutsudo,export KUBECONFIG=~/.kube/configbefore the firstkubectl, and drop the duplicatek3s kubectlverification line./etc/exportsinstead of/etc/exports.d/*.conf, which Ubuntu 24.04 silently ignores (left PVCsPending).authMode: "auto-login"(the single-node default) instead of"dummy", whose login form returns404./k3s/credential endpoint to port 8080 (pxe_web_port) so the PXE controller can co-exist with k3s Traefik / ServiceLB which owns host ports 80/443.Notes
pxe_web_port/ Apache on 8080) ships separately in thedeploy/fix-pxe-configbranch PR.Test plan
:8080for the/k3s/endpointsMade with Cursor