We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5be91f9 + 58f78a5 commit c7abf44Copy full SHA for c7abf44
cluster/gce/gci/configure-helper.sh
@@ -445,9 +445,6 @@ function mount-master-pd {
445
mkdir -p "${mount_point}/srv/sshproxy"
446
ln -s -f "${mount_point}/srv/sshproxy" /etc/srv/sshproxy
447
448
- if ! id etcd &>/dev/null; then
449
- useradd -s /sbin/nologin -d /var/etcd etcd
450
- fi
451
chown -R etcd "${mount_point}/var/etcd"
452
chgrp -R etcd "${mount_point}/var/etcd"
453
}
cluster/gce/gci/master.yaml
@@ -1,5 +1,11 @@
1
#cloud-config
2
3
+users:
4
+- name: etcd
5
+ homedir: /var/etcd
6
+ lock_passwd: true
7
+ ssh_redirect_user: true
8
+
9
write_files:
10
- path: /etc/systemd/system/kube-master-installation.service
11
permissions: 0644
0 commit comments