Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

README.md

Outline

Hello World with Cloud Code

Architecture Diagram

"Hello World" is a simple Kubernetes application that contains a single Deployment and a corresponding Service. The Deployment contains a Spring-based web server that simply prints "Hello World".


Table of Contents

Cloud Code for Visual Studio Code

  1. Getting Started
  2. What's in the box
  3. Using Cloud Code
  4. Using the Command Line

Getting Started

This sample was written to demonstrate how to use the Cloud Code extension for Visual Studio code.


Using the Command Line

As an alternative to using the Cloud Code extension, the application can be deployed to a cluster using standard command line tools

Skaffold

Skaffold is a command line tool that can be used to build, push, and deploy your container images

skaffold run --default-repo=gcr.io/your-project-id-here/cloudcode

kubectl

kubectl is the official Kubernetes command line tool. It can be used to deploy Kubernetes manifests to your cluster, but images must be build seperately using another tool (for example, using the Docker CLI)

Morty Proxy This is a proxified and sanitized view of the page, visit original site.