Skip to content

Commit 458e0bb

Browse files
committed
Disable compute-init by default, warn of security issue
1 parent 25eea00 commit 458e0bb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ansible/roles/compute_init/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Experimental functionality to allow compute nodes to rejoin the cluster after
44
a reboot without running the `ansible/site.yml` playbook.
55

6+
**CAUTION:** The approach used here of exporting cluster secrets over NFS
7+
is considered to be a security risk due to the potential for cluster users to
8+
mount the share on a user-controlled machine by tunnelling through a login
9+
node. This feature should not be enabled on production clusters at this time.
10+
611
To enable this:
712
1. Add the `compute` group (or a subset) into the `compute_init` group. This is
813
the default when using cookiecutter to create an environment, via the

environments/common/layouts/everything

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ cluster
9393
[sshd]
9494
# Hosts where the OpenSSH server daemon should be configured
9595

96-
[compute_init:children]
96+
[compute_init]
9797
# EXPERIMENTAL: Compute hosts to enable joining cluster on boot on
98-
compute
9998

10099
[k3s:children]
101100
# Hosts to run k3s server/agent

0 commit comments

Comments
 (0)