1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-22 07:40:10 +00:00

gcloud: Wed Aug 10 08:48:58 UTC 2022

This commit is contained in:
Automated 2022-08-10 08:48:58 +00:00
parent 3b2f526372
commit fa820bfa8d
Failed to extract signature
3267 changed files with 9673 additions and 7799 deletions

View file

@ -3,8 +3,8 @@ NAME
setup of VM Manager on a specified VM instance
SYNOPSIS
gcloud alpha compute os-config troubleshoot INSTANCE_NAME [--zone=ZONE]
[GCLOUD_WIDE_FLAG ...]
gcloud alpha compute os-config troubleshoot INSTANCE_NAME
[--enable-log-analysis] [--zone=ZONE] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) gcloud alpha compute os-config troubleshoot troubleshoots issues
@ -14,19 +14,29 @@ DESCRIPTION
configurations for your VM Manager setup:
▪ Checks if the OS Config API is enabled in the project.
▪ Checks if the required metadata is set up correctly in the VM
instance.
▪ Checks if the latest version of the OS Config agent is running on the
VM instance.
▪ Checks if a service account is attached to the VM instance.
▪ Checks if the VM Manager service agent is enabled.
▪ Checks if the VM instance has a public IP or Private Google Access.
EXAMPLES
To troubleshoot an instance named my-instance in zone us-west1-a, run
$ gcloud alpha compute os-config troubleshoot my-instance \
--zone=us-west1-a
--zone=us-west1-a
To troubleshoot the same instance in the same zone with log analysis, run
$ gcloud alpha compute os-config troubleshoot my-instance \
--zone=us-west1-a --enable-log-analysis
POSITIONAL ARGUMENTS
INSTANCE_NAME
@ -35,6 +45,12 @@ POSITIONAL ARGUMENTS
https://cloud.google.com/compute/docs/reference/rest/v1/instances
FLAGS
--enable-log-analysis
Enable the checking of audit logs created by Cloud Logging. The
troubleshooter checks the VM's Cloud Logging logs and serial log output
for errors, provides you with the analysis data, and allows you to
download the logs.
--zone=ZONE
Zone of the instance to operate on. If not specified, you might be
prompted to select a zone (interactive mode only). gcloud attempts to