Skip to content

Latest commit

 

History

History

healthcheck

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Healthcheck

This template creates a load balancer healthcheck.

Prerequisites

Deployment

Resources

Depend on the specified healthcheck type.

Legacy Healthchecks

TCP + SSL Healthchecks

Beta Healthchecks

Properties

See the properties section in the schema file(s):

Usage

  1. Clone the Deployment Manager Samples repository:
    git clone https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit
  1. Go to the dm directory:
    cd dm
  1. Copy the example DM config to be used as a model for the deployment; in this case, examples/healthcheck.yaml:
    cp templates/healthcheck/examples/healthcheck.yaml my_healthcheck.yaml
  1. Change the values in the config file to match your specific GCP setup:
    vim my_healthcheck.yaml  # <== change values to match your GCP setup
  1. Create your deployment:
    gcloud deployment-manager deployments create <YOUR_DEPLOYMENT_NAME> \
        --config my_healthcheck.yaml
  1. In case you need to delete your deployment:
    gcloud deployment-manager deployments delete <YOUR_DEPLOYMENT_NAME>

Examples