6.6 Kubernetesネームスペースの作成

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