"Hello World" is a simple Kubernetes application that contains Deployments for a web server and a database, and corresponding Services. The Deployment contains a Django-based web server that renders a simple webpage.
- Getting Started
- What's in the box
- Using Cloud Code
- Using the Command Line
This sample was written to demonstrate how to use the Cloud Code extension for Visual Studio code.
Please change SECRET_KEY as soon as possible. The application will run successfully even if you keep its value unchanged, but your application will be vulnerable from security issues. For example, privilege escalation and remote code execution. See link for more details.
As an alternative to using the Cloud Code extension, the application can be deployed to a cluster using standard command line tools
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/cloudcodekubectl 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)
-----|------
