From 3a7fef51fc7a56e1a6f8122d283678b6c2a87768 Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Mon, 6 Apr 2020 15:27:34 -0700 Subject: [PATCH] Create etcd user in cloud init. Signed-off-by: Lantao Liu --- cluster/gce/cloud-init/master.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cluster/gce/cloud-init/master.yaml b/cluster/gce/cloud-init/master.yaml index 5fdf1dc7c..35c869c5b 100644 --- a/cluster/gce/cloud-init/master.yaml +++ b/cluster/gce/cloud-init/master.yaml @@ -1,5 +1,11 @@ #cloud-config +users: +- name: etcd + homedir: /var/etcd + lock_passwd: true + ssh_redirect_user: true + write_files: # Setup containerd. - path: /etc/systemd/system/containerd-installation.service