Skip to content

Commit

Permalink
minor edits for kubernetes instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
amit1rrr committed Jun 22, 2018
1 parent 0872432 commit 6b89157
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rubix-library/kubernetes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ You can either use the familiar `kubectl` commands or use higher level APIs prov

Setup
------------------
Once you login, go to the admin tab and uplooad Kubernetes config file. The file is typically located at ~/.kube/config. *Tip: You might need to press (CMD + Shift + .) on mac to show hidden files in the finder.*
Once you login, go to the admin tab and upload Kubernetes config file. The file is typically located at ~/.kube/config. *Tip: You might need to press (CMD + Shift + .) on mac to show hidden files in the finder.*

.. image:: ../images/ss_k8s_config.png
:scale: 30 %
Expand All @@ -18,27 +18,27 @@ Once uploaded, wait for a minute for the config to propagate to all the nodes in
:scale: 50 %
:align: center

That's it! Now you can use `kubectl` commands and `rubix.kubernetes.*` methods to operate your cluster.
That's it! Now you can use `kubectl` commands and `rubix.kubernetes.*` methods to operate your cluster (examples below).

Command Line Usage
---------------------
You can upload and use your existing scripts in the notebook or use one-off commands as shown in the examples below.

List all running services.
* List all running services.

.. image:: ../images/k8s_list_services.png
:scale: 40 %
:align: center


See when deployments occurred in your cluster by checking replica sets.
* See when deployments occurred in your cluster by checking replica sets.

.. image:: ../images/k8s_get_rs.png
:scale: 50 %
:align: center


Check the status of your last deployment.
* Check the status of your last deployment.

.. image:: ../images/k8s_rollout_status.png
:scale: 50 %
Expand Down

0 comments on commit 6b89157

Please sign in to comment.