Home Explore Blog CI



kubernetes

1st chunk of `content/en/blog/_posts/2017-11-00-Kubernetes-Easy-Way.md`
234e01b212826983b98809b96e58b815f7bdfae9d25841ea0000000100000921
---
title: " Kubernetes the Easy Way "
date: 2017-11-01
slug: kubernetes-easy-way
url: /blog/2017/11/Kubernetes-Easy-Way
author: >
  Dan Garfield (Codefresh)
---

Kelsey Hightower wrote an invaluable guide for Kubernetes called [Kubernetes the Hard Way](https://github.com/kelseyhightower/kubernetes-the-hard-way). It’s an awesome resource for those looking to understand the ins and outs of Kubernetes—but what if you want to put Kubernetes on easy mode? That’s something we’ve been working on together with Google Cloud. In this guide, we’ll show you how to get a cluster up and running, as well as how to actually deploy your code to that cluster and run it.   

This is Kubernetes the easy way. 



## What We’ll Accomplish

1. 1.Set up a cluster
2. 2.Deploy an application to the cluster
3. 3.Automate deployment with rolling updates

## Prerequisites

- A containerized application
- You can also use [a demo app](https://github.com/containers101/demochat).
- A [Google Cloud Account](https://cloud.google.com/?utm_source=kubernetes.io&utm_medium=codefresh-easy-mode) or a Kubernetes cluster on another provider
- Everything after Cluster creation is identical with all providers.
- A free account on [Codefresh](https://codefresh.io/kubernetes-deploy/)
- Codefresh is a service that handles Kubernetes deployment configuration and automation. 

We made Codefresh free for open-source projects and offer 200 builds/mo free for private projects, to make adopting Kubernetes as easy as possible. Deploy as much as you like on as many clusters as you like. 



## Set Up a Cluster
1. Create an account at [cloud.google.com](https://cloud.google.com/?utm_source=kubernetes.io&utm_medium=codefresh-easy-mode) and log in.  

**Note:** If you’re using a Cluster outside of Google Cloud, you can skip this step.  

Google Container Engine is Google Cloud’s managed Kubernetes service. In our testing, it’s both powerful and easy to use.   

If you’re new to the platform, you can get a $500 credit at the end of this process.   

2. Open the menu and scroll down to **Container Engine**. Then select **Container Clusters**.   

 ![](https://lh6.googleusercontent.com/dqvtK-xyGelr_LW3qlFiamYRrpiq633R68cKitrbCZPtDY_uLBF7R7_PGVNvWja24_mG74vDBzpXddYhbRNeyBGPbQ_yfCq367Zp7eJZoiJEWurFWdmJ0AJlNJJ9TzDivE-8Ak9E)

Title: Kubernetes the Easy Way: Setting Up a Cluster and Deploying Applications
Summary
This guide provides a simplified approach to setting up a Kubernetes cluster and deploying applications, contrasting with the more complex "Kubernetes the Hard Way." It outlines the steps for cluster setup, application deployment, and deployment automation with rolling updates. It emphasizes using Google Cloud and Codefresh for ease of use, including creating a Google Cloud account and utilizing Google Container Engine, as well as setting up a Codefresh account for Kubernetes deployment configuration and automation.