Ncloud Kubernetes Service の権限管理

Prev Next

最新のコンテンツが反映されていません。早急にアップデート内容をご提供できるよう努めております。最新のコンテンツ内容は韓国語ページをご参照ください。

VPC環境で利用できます。

NAVERクラウドプラットフォームのアカウント管理サービスである Sub Accountを使用して Ncloud Kubernetes Serviceのアクセス権を多様に設定できます。Sub Accountでは、管理および運用権限の設定のためにマネージド(System Managed)ポリシーとユーザー定義(User Created)ポリシーを提供します。

参考

Sub Accountは、ご利用の申し込みの際に別途料金が発生しない無料サービスです。Sub Accountに関する詳細は、NAVERクラウドプラットフォームポータルの サービス > Management & Governance > Sub Account メニューと Sub Account ご利用ガイドをご参照ください。

マネージドポリシー

マネージドポリシーは、ユーザーの便宜を図るために、NAVERクラウドプラットフォームが独自に定義したロールベースのポリシーです。Sub Accountで作成したサブアカウントにマネージドポリシーを付与すると、権限を付与されたサブアカウントは Ncloud Kubernetes Serviceを利用できるようになります。Ncloud Kubernetes Serviceのマネージドポリシーについての簡単な説明は、次の通りです。

ポリシー名 ポリシーの説明
NCP_ADMINISTRATOR メインアカウントと同等の権限で、すべてのサービスにアクセスできる権限
NCP_INFRA_MANAGER すべてのサービスにアクセスできるものの、コンソールの My Account > 課金情報と費用管理 > 請求と決済管理メニューのみアクセスが制限された権限
NCP_FINANCE_MANAGER Cost Explorerサービスとコンソールの My Account > 課金情報と費用管理 > 請求と決済管理メニューのみにアクセスできる権限
NCP_VPC_KUBERNETES_SERVICE_MANAGER VPCベースの Ncloud Kubernetes Serviceのすべての機能を利用できる権限(Server(MANAGER)、NAS(MANAGER)、Load Balancer(MANAGER)権限を含む)
NCP_VPC_KUBERNETES_SERVICE_VIEWER VPCベースの Ncloud Kubernetes Serviceのリストを見る、照会機能のみを利用できる権限(Server(VIEWER)、Load Balancer(VIEWER)、NAS(MANAGER)権限を含む)

ユーザー定義ポリシー

ユーザー定義ポリシーは、ユーザーが直接作成できるポリシーです。Sub Accountで作成したサブアカウントにユーザー定義ポリシーを付与すると、権限を付与されたサブアカウントはユーザーが割り当てたアクションの組み合わせでのみ利用できるようになります。Ncloud Kubernetes Serviceのユーザー定義ポリシーについての簡単な説明は、次の通りです。

クラスタ関連のアクション

区分 アクション名 関連アクション リソースタイプ リソースタイプ別のグループ アクションの説明
View View/getClusterList View/getWorkerNodeList
View/getVPCList
View/getSubnetList
- - Kubernetes Clusterリストの照会
View View/getClusterDetail View/getClusterList - - Kubernetes Clusterの詳細状況を照会
View View/downloadClusterKubeConfig View/getClusterList
View/getClusterDetail
- - Kubeconfig設定をダウンロード
View View/getIpAcl View/getClusterDetail - - Control Planeの IP ACL設定を照会
View View/getOidc - - - OIDC設定を照会
Change Change/createCluster View/getClusterList
View/getVPCList
View/getVPCDetail
View/getSubnetList
View/getSubnetDetail
View/getLogInKeyList
Change/createLoginKey
- - Kubernetes Clusterを作成
Change Change/deleteCluster View/getClusterDetail - - Kubernetes Clusterを削除
Change Change/resetClusterKubeConfig View/getClusterDetail - - Kubeconfigの設定初期化
Change Change/setInitscript View/getClusterDetail - - Kubernetes Clusterの Initscript設定を変更
Change Change/setPodSecurityPolicy View/getClusterDetail - - Kubernetes Clusterの Pod Security Policy設定を変更
Change Change/setAuditLog View/getClusterDetail - - Kubernetes Clusterの Audit log設定を変更
Change Change/setIpAcl View/getClusterDetail
View/getIpAcl
- - Control Planeの IP ACL設定を変更
Change Change/upgradeCluster View/getClusterDetail
View/getNodePoolDetail
View/getWorkerNodeDetail
- - Kubernetes Clusterをアップグレード
Change Change/setOidc View/getOidc - - OIDC設定を変更
Change Change/setSubnet View/getSubnetList
View/getClusterDetail
- - サブネット設定を変更

ノードプール関連のアクション

区分 アクション名 関連アクション リソースタイプ リソースタイプ別のグループ アクションの説明
View View/getNodePoolList View/getClusterList - - Kubernetes Clusterの Node poolリストを照会
View View/getNodePoolDetail View/getClusterList
View/getClusterDetail
- - Kubernetes Clusterのノードプール情報を照会
Change Change/createNodePool View/getClusterDetail
View/getNodePoolDetail
- - Kubernetes Clusterのノードプールを追加
Change Change/setNodePool View/getClusterDetail
View/getNodePoolDetail
- - Kubernetes Clusterのノードプールを変更
Change Change/deleteNodePool View/getClusterDetail
View/getNodePoolDetail
- - Kubernetes Clusterのノードプールを削除

ノード関連のアクション

区分 アクション名 関連アクション リソースタイプ リソースタイプ別のグループ アクションの説明
View View/getWorkerNodeList View/getClusterList
View/getNodePoolList
View/getServerInstancesList
- - Kubernetes Clusterの Worker Nodeリストを照会
View View/getWorkerNodeDetail View/getClusterList
View/getServerInstancesList
- - Kubernetes Clusterのノードプールの詳細状況を照会
Change Change/deleteWorkerNode View/getClusterDetail
View/getNodePoolDetail
View/getWorkerNodeDetail
- - Kubernetes Clusterのワーカーノードを削除

サーバ関連のアクション

区分 アクション名 関連アクション リソースタイプ リソースタイプ別のグループ アクションの説明
View View/getServerInstancesList - - - サーバインスタンス(VM)リストを照会

ログインキー関連のアクション

区分 アクション名 関連アクション リソースタイプ リソースタイプ別のグループ アクションの説明
View View/getLogInKeyList - - - 認証キーリストの照会
Change Change/createLoginKey - - - 新しい認証キーの作成

VPC関連アクション

区分 アクション名 関連アクション リソースタイプ リソースタイプ別のグループ アクションの説明
View View/getVPCList - - - VPCリストを照会
View View/getVPCDetail View/getVPCList VPC:VPC - VPCの詳細情報を照会
View View/getSubnetList - - - Subnetリストの照会
View View/getSubnetDetail View/getSubnetList VPC:Subnet - Subnetの詳細情報を照会

Velero関連アクション

サービス 区分 アクション名 関連アクション リソースタイプ リソースタイプ別グループ アクションの説明
Server(VPC) View View/getServerInstanceList View/getPlacementGroupList - Server サーバインスタンス(VM)リストを照会
Server(VPC) View View/getBlockStorageInstanceDetail View/getBlockStorageInstanceList Storage Storage サーバ追加ストレージの詳細情報を照会
Server(VPC) Change Change/createBlockStorageInstance View/getBlockStorageSnapshotInstanceList
View/getServerInstanceList
View/getServerInstanceDetail
View/getBlockStorageInstanceDetail
View/getBlockStorageInstanceList
- Storage ブロックストレージインスタンスの作成
Server(VPC) Change Change/createBlockStorageSnapshotInstance View/getBlockStorageInstanceDetail
View/getBlockStorageInstanceList
Storage Storage サーバ追加ストレージのスナップショットを作成
Server(VPC) Change Change/createBlockStorageWithSnapshot View/getBlockStorageSnapshotInstanceList
View/getServerInstanceList
View/getServerInstanceDetail
View/getBlockStorageSnapshotInstanceDetail
Snapshot Snapshot スナップショットでブロックストレージを作成
Server(VPC) Change Change/deleteBlockStorageSnapshotInstance View/getBlockStorageSnapshotInstanceList
View/getBlockStorageSnapshotInstanceDetail
Snapshot Snapshot スナップショットの削除
Object Storage View View/getBucketList - - Bucket バケットリストの照会
Object Storage View View/getObjectList View/getBucketList Bucket Bucket バケット内のファイルリストと詳細情報の照会
Object Storage Change Change/writeObject View/getBucketList
View/getObjectList
Bucket Bucket バケットのオブジェクト作成と変更
注意

特定のアクションに対する権限が付与されたとしても、関連する必須アクションに対する権限が一緒に付与されていない場合、タスクは正常に行えません。このような問題を防ぐため、Sub Accountではアクション権限の付与時に、関連アクションに対する権限も自動的に一緒に付与する機能を提供します。ただし、自動的に一緒に付与された関連アクションの選択を解除すると、メインアカウントユーザーの意図とみなし、システムで強制的に含めないようにするため、権限設定の際はご注意ください。