内部でアクセス可能なk8sクラスタを公開FQDNを使用してACCに追加することはできません
環境
- Astra Control Center(ACC)23.07
- Kubernetesクラスタ(OpenShift 4.12など)
問題
外部名で内部Kubernetesクラスタを追加しようとすると、次のエラーが表示されます。
- 複合計算モジュールでは、次の2つのイベントが発生します。
failed to add cluster
次のメッセージがエラーである""- 別個のイベント:
type:https://astra.netapp.io/problems/63, title:Kubeconfig not valid, description:The provided credential can't connect to the cluster. Provide an updated credential and retry the request., status:400, schema_validation_failure:, invalid_params:[], invalid_fields:[]
""
- Tridentサービスモジュール:
- イベント:
errors - error handler - Invalid cluster credentials for provided ID." with error: "could not initialize Kubernetes client; couldn't retrieve API server's version: Get \"https://api-int.<CLUSTER-FQDN>:6443/version\": x509: certificate signed by unknown authority
""
- イベント:
これらのエラー(特にX509エラー)は、「cluster」の下のkubeconfigに次の行を追加した場合でも発生します。
insecure-skip-tls-verify: true