

Once deploy completes, you can type kubectl get services to With Forge, the deploy command will take care of everything you need to get the service running. Normally, if you want to get a service running in Kubernetes, you need to build a Docker image, push the image to a Docker registry, write some Kubernetes YAML, and run kubectl to get the service running. This file contains the basic runtime configuration for the service.

In the example service, you'll see a service.yaml file.

We'll show Forge in action with a simple service. Forge is a build/deployment system that builds both the code and configuration, together. When deploying a service into Kubernetes, you need to provide not just code, but the actual configuration needed to run this code. Setup will ask for authentication information to a Docker Registry as part of this process: mkdir forge-quickstart Once you have the prerequisites installed, you can install Forge via curl: curl $(curl )/forge -o /tmp/forgeĬreate a working directory for Forge and run forge setup to complete the installation. a Docker registry, such as Docker Hub or Google Container Registry.a Kubernetes cluster ( minikube is fine).You will also need access to the following services either locally or remotely: If you're using Docker on Mac OS X, we recommend you disable the "securely store docker logins in macOS keychain" option in the preferences section (see issue #28 for details) Docker ( Mac OS X, Ubuntu, Fedora install instructions).To get started, you're going to need the following installed on your system: Install / Configure Forge Prerequisitesįorge has been tested on Mac OS X, Fedora 25, and Ubuntu 16.04. If you're a developer, this lets you quickly test your service exactly as it's supposed to be deployed in production without committing your code / waiting on a CD pipeline. We'll then show how you can extend this to a network of services. In this tutorial, we'll show how you can get quickly get a service (in source code form) deployed into Kubernetes, without requiring any server-side infrastructure. Quickstart: Deploy Service in Kubernetes Goal
