# k3s


08/20/2022, 7:29 AM
Hello Everyone, I am trying to add new master node in the highly available k3s setup (I am using postgres as database to store the state of k3s) and here is the command
curl -sfL <> | sh -s - server --datastore-endpoint='<postgres://k3s:password@192.168.1013:5432/k3s>'  --token='K102xxxxx''
I'm using to add new master node, but it is giving me following error so can you someone look into it and help ?? FYI, This highly available k3s cluster is configured one year back. `
Copy code
systemd[1]: k3s.service: Service hold-off time over, scheduling restart.

systemd[1]: k3s.service: Scheduled restart job, restart counter is at 97783.

systemd[1]: Stopped Lightweight Kubernetes.

systemd[1]: Starting Lightweight Kubernetes...

sh[23500]: + /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service

sh[23500]: /bin/sh: 1: /usr/bin/systemctl: not found

k3s[23512]: time="2022-08-11T07:19:00Z" level=info msg="Starting k3s v1.24.3+k3s1 (990ba0e8)"

k3s[23512]: time="2022-08-11T07:19:00Z" level=info msg="Configuring postgres database connection pooling: maxIdleConns=2, maxOpenConns=

k3s[23512]: time="2022-08-11T07:19:00Z" level=info msg="Configuring database table schema and indexes, this may take a moment..."

k3s[23512]: time="2022-08-11T07:19:00Z" level=info msg="Database tables and indexes are up to date"

k3s[23512]: time="2022-08-11T07:19:00Z" level=info msg="Kine available at <unix://kine.sock>"

k3s[23512]: time="2022-08-11T07:19:00Z" level=fatal msg="starting kubernetes: preparing server: 
bootstrap data already found and encryp

systemd[1]: k3s.service: Main process exited, code=exited, status=1/FAILURE

systemd[1]: k3s.service: Failed with result 'exit-code'.