7.2. ROSA CLI コマンドリファレンス


このリファレンスは、ROSA CLI (rosa) コマンドの説明とコマンド例を示しています。

rosa -h を実行して、すべてのコマンドを表示するか、rosa <command> --help を実行して、特定のコマンドに関する追加情報を取得します。

7.2.1. ROSA CLI コマンド

このリファレンスは、ROSA CLI (rosa) コマンドの説明とコマンド例を示しています。

rosa -h を実行して、すべてのコマンドを表示するか、rosa <command> --help を実行して、特定のコマンドに関する追加情報を取得します。

7.2.1.1. rosa create account-roles

クラスターを作成する前に、アカウント全体の IAM ロールを作成します。

使用例

# Create default account roles for ROSA clusters using STS
  rosa create account-roles

  # Create account roles with a specific permissions boundary
  rosa create account-roles --permissions-boundary arn:aws:iam::123456789012:policy/perm-boundary

7.2.1.2. rosa create admin

クラスターにログインするための管理者ユーザーを作成します。

使用例

# Create an admin user to login to the cluster
  rosa create admin -c mycluster -p MasterKey123

7.2.1.3. rosa create autoscaler

クラスターの Autoscaler を作成します。

使用例

# Interactively create an autoscaler to a cluster named "mycluster"
  rosa create autoscaler --cluster=mycluster --interactive

  # Create a cluster-autoscaler where it should skip nodes with local storage
  rosa create autoscaler --cluster=mycluster --skip-nodes-with-local-storage

  # Create a cluster-autoscaler with log verbosity of '3'
  rosa create autoscaler --cluster=mycluster --log-verbosity 3

  # Create a cluster-autoscaler with total CPU constraints
  rosa create autoscaler --cluster=mycluster --min-cores 10 --max-cores 100

7.2.1.4. rosa create break-glass-credential

クラスターのブレークグラス認証情報を作成します。

使用例

# Interactively create a break glass credential to a cluster named "mycluster"
  rosa create break-glass-credential --cluster=mycluster --interactive

7.2.1.5. rosa create cluster

クラスターの作成

使用例

# Create a cluster named "mycluster"
  rosa create cluster --cluster-name=mycluster

  # Create a cluster in the us-east-2 region
  rosa create cluster --cluster-name=mycluster --region=us-east-2

7.2.1.6. rosa create decision

アクセス要求の意思決定を作成します。

使用例

# Create a decision for an Access Request to approve it
  rosa create decision --access-request <access_request_id> --decision Approved

7.2.1.7. rosa create dns-domain

DNS ドメインを作成します。

使用例

# Create DNS Domain
	rosa create dns-domain

7.2.1.8. rosa create external-auth-provider

クラスターの外部認証プロバイダーを作成します。

使用例

# Interactively create an external authentication provider to a cluster named "mycluster"
  rosa create external-auth-provider --cluster=mycluster --interactive

7.2.1.9. rosa create iamserviceaccount

Kubernetes サービスアカウントの IAM ロールを作成します。

使用例

# Create an IAM role for a service account
  rosa create iamserviceaccount --cluster my-cluster --name my-app --namespace default

7.2.1.10. rosa create idp

クラスターの IDP を追加します。

使用例

# Add a GitHub identity provider to a cluster named "mycluster"
  rosa create idp --type=github --cluster=mycluster

  # Add an identity provider following interactive prompts
  rosa create idp --cluster=mycluster --interactive

7.2.1.11. rosa create image-mirror

クラスターのイメージミラーを作成します。

使用例

# Create an image mirror for cluster "mycluster"
  rosa create image-mirror --cluster=mycluster \
    --source=registry.example.com/team \
    --mirrors=mirror.corp.com/team,backup.corp.com/team

  # Create with a specific type (digest is default and only supported type)
  rosa create image-mirror --cluster=mycluster \
    --type=digest --source=docker.io/library \
    --mirrors=internal-registry.company.com/dockerhub

7.2.1.12. rosa create kubeletconfig

クラスターのカスタム kubeletconfig を作成します。

使用例

# Create a custom kubeletconfig with a pod-pids-limit of 5000
  rosa create kubeletconfig --cluster=mycluster --pod-pids-limit=5000

7.2.1.13. rosa ログフォワーダーを作成

Hosted Control Plane クラスター用のログフォワーダーを作成する

使用例

# Create a log forwarder using a config file
  rosa create log-forwarder -c mycluster-hcp --log-fwd-config=s3.yml

  # Create a log forwarder interactively
  rosa create log-forwarder -c mycluster-hcp --interactive

7.2.1.14. rosa create machinepool

クラスターにマシンプールを追加します。

使用例

# Interactively add a machine pool to a cluster named "mycluster"
  rosa create machinepool --cluster=mycluster --interactive
  # Add a machine pool mp-1 with 3 replicas of m5.xlarge to a cluster
  rosa create machinepool --cluster=mycluster --name=mp-1 --replicas=3 --instance-type=m5.xlarge
  # Add a machine pool mp-1 with autoscaling enabled and 3 to 6 replicas of m5.xlarge to a cluster
  rosa create machinepool --cluster=mycluster --name=mp-1 --enable-autoscaling \
	--min-replicas=3 --max-replicas=6 --instance-type=m5.xlarge
  # Add a machine pool with labels to a cluster
  rosa create machinepool -c mycluster --name=mp-1 --replicas=2 --instance-type=r5.2xlarge --labels=foo=bar,bar=baz,
  # Add a machine pool with spot instances to a cluster
  rosa create machinepool -c mycluster --name=mp-1 --replicas=2 --instance-type=r5.2xlarge --use-spot-instances \
    --spot-max-price=0.5
  # Add a machine pool to a cluster and set the node drain grace period
  rosa create machinepool -c mycluster --name=mp-1 --node-drain-grace-period="90 minutes"

7.2.1.15. rosa create network

ネットワーク用 AWS cloudformation スタック

使用例

# Create a AWS cloudformation stack
  rosa create network <template-name> --param Param1=Value1 --param Param2=Value2

  # ROSA quick start HCP VPC example with one availability zone
  rosa create network rosa-quickstart-default-vpc --param Region=us-west-2 --param Name=quickstart-stack --param AvailabilityZoneCount=1 --param VpcCidr=10.0.0.0/16

  # ROSA quick start HCP VPC example with two explicit availability zones
  rosa create network rosa-quickstart-default-vpc --param Region=us-west-2 --param Name=quickstart-stack --param AZ1=us-west-2b --param AZ2=us-west-2d --param VpcCidr=10.0.0.0/16

  # To delete the AWS cloudformation stack
  aws cloudformation delete-stack --stack-name <name> --region <region>

# TEMPLATE_NAME:
Specifies the name of the template to use. This should match the name of a directory
under the path specified by '--template-dir' or the 'OCM_TEMPLATE_DIR' environment variable.
The directory should contain a YAML file defining the custom template structure.

If no TEMPLATE_NAME is provided, or if no matching directory is found, the default
built-in template 'rosa-quickstart-default-vpc' will be used.

7.2.1.16. rosa create ocm-role

OCM が使用するロールを作成します。

使用例

# Create default ocm role for ROSA clusters using STS
  rosa create ocm-role

  # Create ocm role with a specific permissions boundary
  rosa create ocm-role --permissions-boundary arn:aws:iam::123456789012:policy/perm-boundary

7.2.1.17. rosa create oidc-config

OIDC プロトコルに準拠する OIDC 設定を作成します。

使用例

# Create OIDC config
	rosa create oidc-config

7.2.1.18. rosa create oidc-provider

STS クラスターの OIDC プロバイダーを作成します。

使用例

# Create OIDC provider for cluster named "mycluster"
  rosa create oidc-provider --cluster=mycluster

7.2.1.19. rosa create operator-roles

クラスターの Operator IAM ロールを作成します。

使用例

# Create default operator roles for cluster named "mycluster"
  rosa create operator-roles --cluster=mycluster

  # Create operator roles with a specific permissions boundary
  rosa create operator-roles -c mycluster --permissions-boundary arn:aws:iam::123456789012:policy/perm-boundary

7.2.1.20. rosa create tuning-configs

チューニング設定を追加します。

使用例

# Add a tuning config with name "tuned1" and spec from a file "file1" to a cluster named "mycluster"
 rosa create tuning-config --name=tuned1 --spec-path=file1 --cluster=mycluster"

7.2.1.21. rosa create user-role

ユーザーロールを作成して、アカウントの関連付けを確認します。

使用例

# Create user roles
  rosa create user-role

  # Create user role with a specific permissions boundary
  rosa create user-role --permissions-boundary arn:aws:iam::123456789012:policy/perm-boundary

7.2.1.22. rosa delete account-roles

アカウントロールを削除します。

使用例

# Delete Account roles"
  rosa delete account-roles -p prefix

7.2.1.23. rosa delete admin

admin ユーザーを削除します。

使用例

# Delete the admin user
  rosa delete admin --cluster=mycluster

7.2.1.24. rosa delete autoscaler

クラスターの Autoscaler を削除します。

使用例

# Delete the autoscaler config for cluster named "mycluster"
  rosa delete autoscaler --cluster=mycluster

7.2.1.25. rosa delete cluster

Delete cluster

使用例

# Delete a cluster named "mycluster"
  rosa delete cluster --cluster=mycluster

7.2.1.26. rosa delete dns-domain

DNS ドメインを削除します。

使用例

# Delete a DNS domain with ID github-1
  rosa delete dns-domain github-1

7.2.1.27. rosa delete external-auth-provider

外部認証プロバイダーを削除します。

使用例

# Delete an external authentication provider named exauth-1
  rosa delete external-auth-provider exauth-1  --cluster=mycluster

7.2.1.28. rosa delete iamserviceaccount

Kubernetes サービスアカウントの IAM ロールを削除します。

使用例

# Delete IAM role for service account
  rosa delete iamserviceaccount --cluster my-cluster \
    --name my-app \
    --namespace default

7.2.1.29. rosa delete idp

クラスター IDP を削除します。

使用例

# Delete an identity provider named github-1
  rosa delete idp github-1 --cluster=mycluster

7.2.1.30. rosa delete image-mirror

クラスターからイメージミラーを削除します。

使用例

# Delete image mirror with ID "abc123" from cluster "mycluster"
  rosa delete image-mirror --cluster=mycluster abc123

  # Delete without confirmation prompt
  rosa delete image-mirror --cluster=mycluster abc123 --yes

  # Alternative: using the --id flag
  rosa delete image-mirror --cluster=mycluster --id=abc123

7.2.1.31. rosa delete ingress

クラスター Ingress を削除します。

使用例

# Delete ingress with ID a1b2 from a cluster named 'mycluster'
  rosa delete ingress --cluster=mycluster a1b2

  # Delete secondary ingress using the sub-domain name
  rosa delete ingress --cluster=mycluster apps2

7.2.1.32. rosa delete kubeletconfig

クラスターから kubeletconfig を削除します。

使用例

# Delete the KubeletConfig for ROSA Classic cluster 'foo'
  rosa delete kubeletconfig --cluster foo
  # Delete the KubeletConfig named 'bar' from cluster 'foo'
  rosa delete kubeletconfig --cluster foo --name bar

7.2.1.33. ローザログフォワーダーを削除

ログフォワーダーを削除

使用例

# Delete log forwarder with ID 'example-id' from a cluster named 'mycluster-hcp'
  rosa delete log-forwarder --cluster=mycluster-hcp example-id

7.2.1.34. rosa delete machinepool

マシンプールを削除します。

使用例

# Delete machine pool with ID mp-1 from a cluster named 'mycluster'
  rosa delete machinepool --cluster=mycluster mp-1

7.2.1.35. rosa delete ocm-role

OCM ロールを削除します。

使用例

# Delete OCM role
rosa delete ocm-role --role-arn arn:aws:iam::123456789012:role/xxx-OCM-Role-1223456778

7.2.1.36. rosa delete oidc-config

OIDC 設定を削除します。

使用例

# Delete OIDC config based on registered OIDC Config ID that has been supplied
	rosa delete oidc-config --oidc-config-id <oidc_config_id>

7.2.1.37. rosa delete oidc-provider

OIDC プロバイダーを削除します。

使用例

# Delete OIDC provider for cluster named "mycluster"
  rosa delete oidc-provider --cluster=mycluster

7.2.1.38. rosa delete operator-roles

Operator ロールを削除します。

使用例

# Delete Operator roles for cluster named "mycluster"
  rosa delete operator-roles --cluster=mycluster

7.2.1.39. rosa delete tuning-configs

チューニング設定を削除します。

使用例

# Delete tuning config with name tuned1 from a cluster named 'mycluster'
  rosa delete tuning-config --cluster=mycluster tuned1

7.2.1.40. rosa delete user-role

ユーザーロールを削除します。

使用例

# Delete user role
rosa delete user-role --role-arn {prefix}-User-{username}-Role

7.2.1.41. rosa describe access-request

アクセス要求の詳細を表示します。

使用例

# Describe an Access Request wit id <access_request_id>
  rosa describe access-request --id <access_request_id>

7.2.1.42. rosa describe addon

アドオンの詳細を表示します。

使用例

# Describe an add-on named "codeready-workspaces"
  rosa describe addon codeready-workspaces

7.2.1.43. rosa describe addon-installation

アドオンインストールの詳細を表示します。

使用例

# Describe the 'bar' add-on installation on cluster 'foo'
  rosa describe addon-installation --cluster foo --addon bar

7.2.1.44. rosa describe admin

cluster-admin ユーザーの詳細を表示します。

使用例

# Describe cluster-admin user of a cluster named mycluster
  rosa describe admin -c mycluster

7.2.1.45. rosa describe autoscaler

クラスターの Autoscaler の詳細を表示します。

使用例

# Describe the autoscaler for cluster 'foo'
rosa describe autoscaler --cluster foo

7.2.1.46. rosa describe break-glass-credential

クラスター上のブレークグラス認証情報の詳細を表示します。

使用例

# Show details of a break glass credential with ID "12345" on a cluster named "mycluster"
  rosa describe break-glass-credential 12345 --cluster=mycluster

7.2.1.47. rosa describe cluster

クラスターの詳細を表示します。

使用例

# Describe a cluster named "mycluster"
  rosa describe cluster --cluster=mycluster

7.2.1.48. rosa describe external-auth-provider

クラスターの外部認証プロバイダーの詳細を表示します。

使用例

# Show details of an external authentication provider named "exauth" on a cluster named "mycluster"
  rosa describe external-auth-provider exauth --cluster=mycluster

7.2.1.49. rosa describe iamserviceaccount

Kubernetes サービスアカウントの IAM ロールを記述します。

使用例

# Describe IAM role for service account
  rosa describe iamserviceaccount --cluster my-cluster \
    --name my-app \
    --namespace default

7.2.1.50. rosa describe ingress

クラスター内の指定された Ingress の詳細を表示します。

使用例

rosa describe ingress <ingress_id> -c mycluster

7.2.1.51. rosa describe kubeletconfig

クラスターの kubeletconfig の詳細を表示します。

使用例

# Describe the custom kubeletconfig for ROSA Classic cluster 'foo'
  rosa describe kubeletconfig --cluster foo
  # Describe the custom kubeletconfig named 'bar' for cluster 'foo'
  rosa describe kubeletconfig --cluster foo --name bar

7.2.1.52. ローザはログフォワーダーについて説明します

クラスターで使用されている特定のログフォワーダーの詳細を表示します。

使用例

rosa describe log-forwarder <log_fwd_id> -c mycluster-hcp

7.2.1.53. rosa describe machinepool

クラスター上のマシンプールの詳細を表示します。

使用例

# Show details of a machine pool named "mymachinepool" on a cluster named "mycluster"
  rosa describe machinepool --cluster=mycluster --machinepool=mymachinepool

7.2.1.54. rosa describe tuning-configs

チューニング設定の詳細を表示します。

使用例

# Describe the 'tuned1' tuned config on cluster 'foo'
  rosa describe tuning-config --cluster foo tuned1

7.2.1.55. rosa describe upgrade

アップグレードの詳細を表示します。

使用例

# Describe an upgrade-policy"
  rosa describe upgrade

7.2.1.56. rosa download openshift-client

OpenShift クライアントツールをダウンロードします。

使用例

# Download oc client tools
  rosa download oc

7.2.1.57. rosa download rosa-client

ROSA クライアントツールをダウンロードします。

使用例

# Download rosa client tools
  rosa download rosa

7.2.1.58. rosa edit addon

クラスターのアドオンインストールパラメーターを編集します。

使用例

# Edit the parameters of the Red Hat OpenShift logging operator add-on installation
  rosa edit addon --cluster=mycluster cluster-logging-operator

7.2.1.59. rosa edit autoscaler

クラスターの Autoscaler を編集します。

使用例

# Interactively edit an autoscaler to a cluster named "mycluster"
  rosa edit autoscaler --cluster=mycluster --interactive

  # Edit a cluster-autoscaler to skip nodes with local storage
  rosa edit autoscaler --cluster=mycluster --skip-nodes-with-local-storage

  # Edit a cluster-autoscaler with log verbosity of '3'
  rosa edit autoscaler --cluster=mycluster --log-verbosity 3

  # Edit a cluster-autoscaler with total CPU constraints
  rosa edit autoscaler --cluster=mycluster --min-cores 10 --max-cores 100

7.2.1.60. rosa edit cluster

クラスターを編集します。

使用例

# Edit a cluster named "mycluster" to make it private
  rosa edit cluster -c mycluster --private

  # Edit all options interactively
  rosa edit cluster -c mycluster --interactive

7.2.1.61. rosa edit image-mirror

クラスターのイメージミラーを編集します。

使用例

# Update mirrors for image mirror with ID "abc123" on cluster "mycluster"
  rosa edit image-mirror --cluster=mycluster abc123 \
    --mirrors=mirror.corp.com/team,backup.corp.com/team,new-mirror.corp.com/team

  # Alternative: using the --id flag
  rosa edit image-mirror --cluster=mycluster --id=abc123 \
    --mirrors=mirror.corp.com/team,backup.corp.com/team,new-mirror.corp.com/team

7.2.1.62. rosa edit ingress

クラスター Ingress (ロードバランサー) を編集します。

使用例

# Make additional ingress with ID 'a1b2' private on a cluster named 'mycluster'
  rosa edit ingress --private --cluster=mycluster a1b2

  # Update the router selectors for the additional ingress with ID 'a1b2'
  rosa edit ingress --label-match=foo=bar --cluster=mycluster a1b2

  # Update the default ingress using the sub-domain identifier
  rosa edit ingress --private=false --cluster=mycluster apps

  # Update the load balancer type of the apps2 ingress
  rosa edit ingress --lb-type=nlb --cluster=mycluster apps2

7.2.1.63. rosa edit kubeletconfig

クラスターの kubeletconfig を編集します。

使用例

# Edit a KubeletConfig to have a pod-pids-limit of 10000
  rosa edit kubeletconfig --cluster=mycluster --pod-pids-limit=10000
  # Edit a KubeletConfig named 'bar' to have a pod-pids-limit of 10000
  rosa edit kubeletconfig --cluster=mycluster --name=bar --pod-pids-limit=10000

7.2.1.64. rosa edit machinepool

マシンプールを編集します。

使用例

# Set 4 replicas on machine pool 'mp1' on cluster 'mycluster'
	rosa edit machinepool --replicas=4 --cluster=mycluster mp1
	# Enable autoscaling and Set 3-5 replicas on machine pool 'mp1' on cluster 'mycluster'
	rosa edit machinepool --enable-autoscaling --min-replicas=3 --max-replicas=5 --cluster=mycluster mp1
	# Set the node drain grace period to 1 hour on machine pool 'mp1' on cluster 'mycluster'
	rosa edit machinepool --node-drain-grace-period="1 hour" --cluster=mycluster mp1

7.2.1.65. rosa edit tuning-configs

チューニング設定を編集します。

使用例

# Update the tuning config with name 'tuning-1' with the spec defined in file1
  rosa edit tuning-config --cluster=mycluster tuning-1 --spec-path file1

7.2.1.66. rosa grant user

ユーザーにクラスターへのアクセスを許可します。

使用例

# Add cluster-admin role to a user
  rosa grant user cluster-admin --user=myusername --cluster=mycluster

  # Grant dedicated-admins role to a user
  rosa grant user dedicated-admin --user=myusername --cluster=mycluster

7.2.1.67. rosa init

Red Hat OpenShift Service on AWS をサポートするためのテンプレートを適用します。

使用例

# Configure your AWS account to allow IAM (non-STS) ROSA clusters
  rosa init

  # Configure a new AWS account using pre-existing OCM credentials
  rosa init --token=$OFFLINE_ACCESS_TOKEN

7.2.1.68. rosa install addon

クラスターにアドオンをインストールします。

使用例

# Add the CodeReady Workspaces add-on installation to the cluster
  rosa install addon --cluster=mycluster codeready-workspaces

7.2.1.71. rosa list access-request

アクセス要求をリスト表示します。

使用例

# List all Access Requests for cluster 'foo'
  rosa list access-request --cluster foo

7.2.1.72. rosa list account-roles

アカウントのロールとポリシーをリスト表示します。

使用例

# List all account roles
  rosa list account-roles

7.2.1.73. rosa list addons

アドオンのインストールをリスト表示します。

使用例

# List all add-on installations on a cluster named "mycluster"
  rosa list addons --cluster=mycluster

7.2.1.74. rosa list break-glass-credentials

ブレークグラス認証情報をリスト表示します。

使用例

# List all break glass credentials for a cluster named 'mycluster'"
  rosa list break-glass-credentials -c mycluster

7.2.1.75. rosa list clusters

クラスターをリスト表示します。

使用例

# List all clusters
  rosa list clusters

7.2.1.76. rosa list dns-domain

DNS ドメインをリスト表示します。

使用例

# List all DNS Domains tied to your organization ID"
  rosa list dns-domain

7.2.1.77. rosa list external-auth-providers

外部認証プロバイダーをリスト表示します。

使用例

# List all external authentication providers for a cluster named 'mycluster'"
  rosa list external-auth-provider -c mycluster

7.2.1.78. rosa list gates

利用可能な OCP ゲートをリスト表示します。

使用例

# List all OCP gates for OCP version
  rosa list gates --version 4.9

  # List all STS gates for OCP version
  rosa list gates --gate sts --version 4.9

  # List all OCP gates for OCP version
  rosa list gates --gate ocp --version 4.9

  # List available gates for cluster upgrade version
  rosa list gates -c <cluster_id> --version 4.9.15

7.2.1.79. rosa list iamserviceaccounts

Kubernetes サービスアカウントの IAM ロールをリスト表示します。

使用例

# List IAM roles for service accounts
  rosa list iamserviceaccounts --cluster my-cluster

7.2.1.80. rosa list idps

クラスター IDP をリスト表示します。

使用例

# List all identity providers on a cluster named "mycluster"
  rosa list idps --cluster=mycluster

7.2.1.81. rosa list image-mirrors

クラスターイメージミラーをリスト表示します。

使用例

# List all image mirrors on a cluster named "mycluster"
  rosa list image-mirrors --cluster=mycluster

7.2.1.82. rosa list ingresses

クラスター Ingress をリスト表示します。

使用例

# List all routes on a cluster named "mycluster"
  rosa list ingresses --cluster=mycluster

7.2.1.83. rosa list instance-types

インスタンスタイプをリスト表示します。

使用例

# List all instance types
	rosa list instance-types

7.2.1.84. rosa list kubeletconfigs

kubeletconfigs をリスト表示します。

使用例

# List the kubeletconfigs for cluster 'foo'
rosa list kubeletconfig --cluster foo

7.2.1.85. ローザログフォワーダーリスト

クラスターログフォワーダーのリスト表示

使用例

# List all log forwarders on a cluster named "mycluster": rosa list log-forwarders --cluster=mycluster

7.2.1.86. rosa list machinepools

クラスターマシンプールをリスト表示します。

使用例

# List all machine pools on a cluster named "mycluster"
  rosa list machinepools --cluster=mycluster

  # List machine pools showing all information
  rosa list machinepools --cluster=mycluster --all

7.2.1.87. rosa list ocm-roles

ocm ロールをリスト表示します。

使用例

# List all ocm roles
rosa list ocm-roles

7.2.1.88. rosa list oidc-config

OIDC 設定リソースをリスト表示します。

使用例

# List all OIDC Configurations tied to your organization ID"
  rosa list oidc-config

7.2.1.89. rosa list oidc-providers

OIDC プロバイダーをリスト表示します。

使用例

# List all oidc providers
  rosa list oidc-providers

7.2.1.90. rosa list operator-roles

Operator のロールとポリシーをリスト表示します。

使用例

# List all operator roles
  rosa list operator-roles

7.2.1.91. rosa list regions

利用可能なリージョンをリスト表示します。

使用例

# List all available regions
  rosa list regions

7.2.1.92. rosa list tuning-configs

チューニング設定をリスト表示します。

使用例

# List all tuning configuration for a cluster named 'mycluster'"
  rosa list tuning-configs -c mycluster

7.2.1.93. rosa list user-roles

ユーザーロールをリスト表示します。

使用例

# List all user roles
rosa list user-roles

7.2.1.94. rosa list users

クラスターユーザーをリスト表示します。

使用例

# List all users on a cluster named "mycluster"
  rosa list users --cluster=mycluster

7.2.1.95. rosa list versions

利用可能なバージョンをリスト表示します。

使用例

# List all OpenShift versions
  rosa list versions

7.2.1.96. rosa login

Red Hat アカウントにログインします。

使用例

# Login to the OpenShift API with an existing token generated from https://console.redhat.com/openshift/token/rosa
  rosa login --token=$OFFLINE_ACCESS_TOKEN

7.2.1.97. rosa logs

クラスターのインストールログまたはアンインストールログを表示します。

使用例

# Show install logs for a cluster named 'mycluster'
  rosa logs install --cluster=mycluster

  # Show uninstall logs for a cluster named 'mycluster'
  rosa logs uninstall --cluster=mycluster

7.2.1.98. rosa logs install

クラスターのインストールログを表示します。

使用例

# Show last 100 install log lines for a cluster named "mycluster"
  rosa logs install mycluster --tail=100

  # Show install logs for a cluster using the --cluster flag
  rosa logs install --cluster=mycluster

7.2.1.99. rosa logs uninstall

クラスターのアンインストールログを表示します。

使用例

# Show last 100 uninstall log lines for a cluster named "mycluster"
  rosa logs uninstall mycluster --tail=100

  # Show uninstall logs for a cluster using the --cluster flag
  rosa logs uninstall --cluster=mycluster

7.2.1.100. rosa register oidc-config

管理されていない OIDC 設定を Openshift Clusters Manager に登録します。

使用例

# Register OIDC config
	rosa register oidc-config

7.2.1.101. rosa revoke break-glass-credentials

ブレークグラス認証情報を取り消します。

使用例

# Revoke all break glass credentials
  rosa revoke break-glass-credentials --cluster=mycluster

7.2.1.102. rosa revoke user

ユーザーからロールを取り消します。

使用例

# Revoke cluster-admin role from a user
  rosa revoke user cluster-admins --user=myusername --cluster=mycluster

  # Revoke dedicated-admin role from a user
  rosa revoke user dedicated-admins --user=myusername --cluster=mycluster

7.2.1.103. rosa uninstall addon

クラスターからアドオンをアンインストールします。

使用例

# Remove the CodeReady Workspaces add-on installation from the cluster
  rosa uninstall addon --cluster=mycluster codeready-workspaces

7.2.1.106. rosa upgrade account-roles

アカウント全体の IAM ロールを最新バージョンにアップグレードします。

使用例

# Upgrade account roles for ROSA STS clusters
  rosa upgrade account-roles

7.2.1.107. rosa upgrade cluster

クラスターをアップグレードします。

使用例

# Interactively schedule an upgrade on the cluster named "mycluster"
  rosa upgrade cluster --cluster=mycluster --interactive

  # Schedule a cluster upgrade within the hour
  rosa upgrade cluster -c mycluster --version 4.12.20

  # Check if any gates need to be acknowledged prior to attempting an upgrading
  rosa upgrade cluster -c mycluster --version 4.12.20 --dry-run

7.2.1.108. rosa upgrade machinepool

マシンプールをアップグレードします。

使用例

# Interactively schedule an upgrade on the cluster named "mycluster"" for a machinepool named "np1"
  rosa upgrade machinepool np1 --cluster=mycluster --interactive

  # Schedule a machinepool upgrade within the hour
  rosa upgrade machinepool np1 -c mycluster --version 4.12.20

7.2.1.109. rosa upgrade operator-roles

クラスターの Operator IAM ロールをアップグレードします。

使用例

# Upgrade cluster-specific operator IAM roles
  rosa upgrade operators-roles

7.2.1.110. rosa upgrade roles

クラスター固有の IAM ロールを最新バージョンにアップグレードします。

使用例

# Upgrade cluster roles for ROSA STS clusters
		rosa upgrade roles -c <cluster_key>

7.2.1.111. rosa verify network

VPC サブネットが正しく設定されていることを検証します。

使用例

# Verify two subnets
	rosa verify network --subnet-ids subnet-03046a9b92b5014fb,subnet-03046a9c92b5014fb

7.2.1.112. rosa verify openshift-client

OpenShift クライアントツールを検証します。

使用例

# Verify oc client tools
  rosa verify oc

7.2.1.113. rosa verify permissions

STS クラスター以外のインストールで AWS 権限が適切であることを検証します。

使用例

# Verify AWS permissions are configured correctly
  rosa verify permissions

  # Verify AWS permissions in a different region
  rosa verify permissions --region=us-west-2

7.2.1.114. rosa verify quota

クラスターインストールで AWS クォータが適切であることを検証します。

使用例

# Verify AWS quotas are configured correctly
  rosa verify quota

  # Verify AWS quotas in a different region
  rosa verify quota --region=us-west-2

7.2.1.115. rosa verify rosa-client

ROSA クライアントツールを検証します。

使用例

# Verify rosa client tools
  rosa verify rosa

7.2.1.116. rosa whoami

ユーザーアカウント情報を表示します。

使用例

# Displays user information
  rosa whoami

Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

Red Hat ドキュメントについて

Legal Notice

Theme

© 2026 Red Hat
トップに戻る