Setup Guidance

This chapter provides a handy guide for deploying Kubernetes clusters, installing the kubectl client, and recommended configurations.

The Kubernetes-The-Hard-Way guide provides detailed steps to deploy a highly available Kubernetes cluster in Ubuntu virtual machines in Google Cloud Engine (GCE). These steps are also suitable for other operating systems like CentOS, and other public cloud platforms such as AWS and Azure.

When deploying a cluster within China, it's common to encounter difficulties in pulling images or experiencing slow pull speeds. A solution to this problem is to use domestic images. You can refer to the domestic image list for options.

Generally speaking, after the deployment, you need to run a series of tests to verify the deployment's success. Sonobuoy can simplify this validation process by running a series of tests to ensure your cluster is functioning correctly. Its usage methods are:

  • Online use via the Sonobuoy Scanner tool (which requires the cluster to be publicly accessible)

  • Or use it as a command line tool.

# Install
$ go get -u -v github.com/heptio/sonobuoy

# Run
$ sonobuoy run
$ sonobuoy status
$ sonobuoy logs
$ sonobuoy retrieve .

# Cleanup
$ sonobuoy delete

Version Dependencies

Deployment Methods

最后更新于