Skip to content

Commit

Permalink
Change Troubleshooting commands
Browse files Browse the repository at this point in the history
* Improve command in 'Scaling the Cluster'
* Improve command in 'Checking etcd Health'
  • Loading branch information
svenseeberg authored and Markus Napp committed Sep 6, 2018
1 parent 9cacadf commit db1f8ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions xml/admin_administration.xml
Expand Up @@ -857,8 +857,7 @@ worker-4 Ready,SchedulingDisabled &lt;none> 21h v1.9.8</screen>
following on the &admin_node;:
</para>
<screen>&prompt.root;<command>echo "worker_threads: 20" > /etc/caasp/salt-master-custom.conf</command>
&prompt.root;<command>saltid=$(docker ps | grep salt-master | awk '{print $1}')</command>
&prompt.root;<command>docker kill $saltid</command></screen>
&prompt.root;<command>docker restart $(docker ps | grep salt-master | awk '{print $1}')</command></screen>
<para>
Salt master will be automatically restarted by kubelet.
</para>
Expand Down
6 changes: 4 additions & 2 deletions xml/admin_troubleshooting.xml
Expand Up @@ -82,9 +82,11 @@
Use SSH to log into one of the cluster nodes, for example your first master.
The following command provides an example for using <command>etcdctl</command>.
</para>
<screen>&prompt.root;<command>source /etc/sysconfig/etcdctl</command>
<screen>&prompt.root;<command>set -a</command>
&prompt.root;<command>source /etc/sysconfig/etcdctl</command>
&prompt.root;<command>etcdctl --endpoints $ETCDCTL_ENDPOINT --ca-file $ETCDCTL_CA_FILE \
--cert-file $ETCDCTL_CERT_FILE --key-file $ETCDCTL_KEY_FILE cluster-health</command></screen>
--cert-file $ETCDCTL_CERT_FILE --key-file $ETCDCTL_KEY_FILE cluster-health</command>
&prompt.root;<command>etcdctl cluster-health</command></screen>
</sect1>

<sect1 xml:id="sec.admin.troubleshooting.velum_ptf">
Expand Down

0 comments on commit db1f8ea

Please sign in to comment.