6.6 Kubernetesネームスペースの作成
Oracle Access Management (OAM)のKubernetesオブジェクトを格納するネームスペースを作成する必要があります。
- 次のコマンドを実行して、OAMデプロイメントのKubernetesネームスペースを作成します:
例:kubectl create namespace <namespace>
出力は次のようになります:kubectl create namespace oamns
namespace/oamns created
- 次のコマンドを実行して、ネームスペースにタグ付けし、WebLogic Kubernetes Operatorで管理できるようにします:
例:kubectl label namespaces <domain_namespace> weblogic-operator=enabled
出力は次のようになります:kubectl label namespaces oamns weblogic-operator=enabled
namespace/oamns labeled
- 次のコマンドを実行して、ラベルが作成されたことを確認します:
例:kubectl describe namespace <domain_namespace>
出力は次のようになります:kubectl describe namespace oamns
Name: oamns Labels: kubernetes.io/metadata.name=oamns weblogic-operator=enabled Annotations: <none> Status: Active No resource quota. No LimitRange resource.