Skip to content

Commit

Permalink
syncing deploy to kubernetes guide to the read the docs site
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-johnson committed Jul 27, 2018
1 parent e753447 commit e7dd116
Showing 1 changed file with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
Deploy to Kubernetes
--------------------
Deploy a Distributed Stack to Kubernetes
----------------------------------------

.. image:: https://i.imgur.com/qiyhAq9.png

Install and manage a Kubernetes cluster with helm on a single Ubuntu host. Once running, you can deploy a distributed, scalable python stack capable of delivering a resilient REST service with JWT for authentication and Swagger for development. This service uses a decoupled REST API with two distinct worker backends for routing simple database read and write tasks vs long-running tasks that can use a Redis cache and do not need a persistent database connection. This is handy for not only simple CRUD applications and use cases, but also serving a secure multi-tenant environment where multiple users manage long-running tasks like training deep neural networks that are capable of making near-realtime predictions.

This is a work in progress guide for installing a local Kubernetes cluster with helm on a single Ubuntu host (validated on Ubuntu 18.04). Once the cluster is running, you can deploy the following docker containers to run the `AntiNex stack <https://github.com/jay-johnson/train-ai-with-django-swagger-jwt>`__:
This guide was built for deploying the `AntiNex stack of docker containers <https://github.com/jay-johnson/train-ai-with-django-swagger-jwt>`__ on a Kubernetes cluster:

- `Redis <https://hub.docker.com/r/bitnami/redis/>`__
- `Postgres <https://github.com/CrunchyData/crunchy-containers>`__
Expand All @@ -12,13 +16,13 @@ This is a work in progress guide for installing a local Kubernetes cluster with
- `pgAdmin4 <https://github.com/jay-johnson/deploy-to-kubernetes/blob/master/pgadmin/crunchy-template-http.json>`__
- `(Optional) Splunk with TCP and HEC Service Endpoints <https://github.com/jay-johnson/deploy-to-kubernetes/blob/master/splunk/deployment.yml>`__

Please ensure the Ubuntu host has at least 4 CPU cores and more than 8 GB ram. Here is a screenshot from a recent AI training test with only 3 cores:

.. image:: https://i.imgur.com/KQ7MBdM.png

Getting Started
---------------

.. note:: please ensure the Ubuntu host has at least 4 CPU cores and more than 8 GB ram. Here is a screenshot from a recent AI training test with only 3 cores:

.. image:: https://i.imgur.com/KQ7MBdM.png

Overview
========

Expand Down

0 comments on commit e7dd116

Please sign in to comment.