gdcloud network get-effective-firewall-rules

NAME

gdcloud network get-effective-firewall-rules - ワークロードの有効なファイアウォール ルールを取得します。

SYNOPSIS

gdcloud network get-effective-firewall-rules [flags]

EXAMPLES

To get the effective firewall rules for a specific pod named 'my-pod' in shared cluster 'user-vm-1' and project 'project-1', run:
    gdcloud network get-effective-firewall-rules --project=project-1 --workload-name=pod/my-pod --cluster-name=user-vm-1

To get the effective firewall rules for workloads with labels 'app=my-app' in project 'project-1', run:
    gdcloud network get-effective-firewall-rules --project=project-1 --workload-labels=app=my-app

To get the effective firewall rules for workloads with labels 'app=my-app' in standard cluster 'standard-cluster-1' and project 'project-1', run:
    gdcloud network get-effective-firewall-rules --project=project-1 --workload-labels=app=my-app --cluster-name=standard-cluster-1 --standard --namespace=my-namespace

オプション フラグ

      --cluster-name string      Name of the cluster where the workload resides.
      --namespace string         Namespace where the workload resides. This is only required when --standard is specified.
      --standard                 Set the configuration for the cluster with the firewall rules as a standard cluster. If not specified, the shared cluster configuration is used.
      --workload-labels string   Comma-separated list of labels (key=value) of the workload to get the effective firewall rules for (for example, 'app=my-app,role=frontend').
      --workload-name string     Name of the workload to get the effective firewall rules for, in the 'kind/name' format (for example, 'pod/my-pod', 'deployment/my-deploy').
      --zone string              Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.

GDCLOUD 全般のフラグ

これらのフラグは、すべてのコマンドで使用できます: --configuration--format--help--project--quiet

詳細については、gdcloud CLI リファレンスの概要ページをご覧ください。