5.5. ユーザーおよびグループラベルの管理
ラベルをユーザーまたはグループに追加するには、以下を実行します。
$ oc label user/<user_name> <label_name>=<label_value>
Copy to clipboardCopiedたとえば、ユーザー名が theuser で、ラベルが level=gold の場合には、以下のようになります。
$ oc label user/theuser level=gold
Copy to clipboardCopiedラベルを削除するには、以下を実行します。
$ oc label user/<user_name> <label_name>-
Copy to clipboardCopiedユーザーまたはグループのラベルを表示するには、以下を実行します。
$ oc describe user/<user_name>
Copy to clipboardCopied