Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added source/_static/images/cks-acquire-publicip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/images/cks-addfirewall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/images/cks-addloadbalancer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/images/cks-addnode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions source/plugins/cloudstack-kubernetes-provider.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,39 @@ on the cluster nodes.

|ckp-ip-lb.png|

.. note::
- In case of Cloudstack + Vmware Intergaration, if you want to expose the application via Public Ipaddress, you have to expose it as a Node-port service and manually add the rules in cloudstack.

Example

.. parsed-literal::

1. Expose the application service as a Node port service.

kubectl expose deploy/nginx-deployment --port=80 --type=Nodeport

NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 5d1h
nginx-deployment2 NodePort 10.103.111.85 <none> 80:32014/TCP 4s

2. Navigate to network and acquire a public IP.

|cks-acquire-publicip.png|

3. Add a firewall rule on port 80 on the public IP address

|cks-addfirewall.png|

4. Add a loadbalancer rule mentioning the private node port and add the corresponding kubenetes worker node.

|cks-addloadbalancer.png|

|cks-addnode.png|

.. |ckp-ip.png| image:: /_static/images/ckp-ip.png
.. |ckp-ip-fw.png| image:: /_static/images/ckp-ip-fw.png
.. |ckp-ip-lb.png| image:: /_static/images/ckp-ip-lb.png
.. |cks-acquire-publicip.png| image:: /_static/images/cks-acquire-publicip.png
.. |cks-addfirewall.png| image:: /_static/images/cks-addfirewall.png
.. |cks-addloadbalancer.png| image:: /_static/images/cks-addloadbalancer.png
.. |cks-addnode.png| image:: /_static/images/cks-addnode.png
Loading