AtlasProjectカスタム リソースは Atlas のプロジェクトを構成します。 AtlasProjectカスタム リソースを作成すると、Atlas Kubernetes Operator は Atlas に新しいプロジェクトを作成しようとします。
重要
カスタム リソースはデフォルトでオブジェクトを削除しなくなりました
Atlas Kubernetes Operator は、 カスタムリソース構成ファイルを使用して Atlas 構成を管理しますが、Atlas Kubernetes Operator2.0 以降、 Kubernetesで削除したカスタム リソースは Atlas で削除されなくなりました(デフォルトでは )。代わりに、Atlas Kubernetes Operator は Atlas 内のそれらのリソースの管理を停止します。 例、
AtlasProjectKubernetesで カスタム リソースを削除すると、デフォルトでは、Atlas Kubernetes Operator は Atlas から対応するプロジェクトを自動的に削除しなくなります。この動作の変更は、誤ってまたは予期せずに削除されるのを防ぐことを目的としています。 この動作を Atlas Kubernetes Operator.2 0より前に使用されていたデフォルトに戻す方法などの詳細については、「新しいデフォルト: Atlas Kubernetes演算子.2 の削除保護」を参照してください。0同様に、Atlas Kubernetes Operator を使用してKubernetesの Atlasプロジェクトからチームを削除しても、Atlas Kubernetes Operator は Atlas からチームを削除しません。
デフォルトのAtlas 構成値が暗黙的に使用されるのを避けるために、必要な構成の詳細を明示的に定義します。 場合によっては、Atlas のデフォルトを継承すると調整ループが発生し、カスタムリソースが
READY状態に達しなくなります。 例、含まれている例に示すように、AtlasDeploymentカスタムリソースで必要なオートスケーリング動作を明示的に定義すると、カスタムリソース内の静的インスタンスサイズが、オートスケーリングが有効になっている Atlas 配置に繰り返し適用されないことが保証されます。autoScaling: diskGB: enabled: true compute: enabled: true scaleDownEnabled: true minInstanceSize: M30 maxInstanceSize: M40
Atlas Kubernetes Operator は、次のいずれかのアクションを実行します。
接続シークレットによって構成される組織内に新しいプロジェクトを作成します。
既存のプロジェクトを再利用します。 この場合、Atlas Kubernetes Operator は、
spec.nameを持つプロジェクトが存在するかどうかを確認します。 プロジェクトが存在する場合、Atlas Kubernetes Operator は作成をスキップします。 調整後、Atlas Kubernetes Operator はstatus.idフィールドをプロジェクトの ID を使用して更新します。
You can use the spec.connectionSecretRef.name parameter to set the connection secret for the AtlasProject custom resource. This parameter overrides the default global connection secret.
By default, Atlas Kubernetes Operator keeps connection secrets in the same namespace as the AtlasProject Custom Resource. To store secrets in another namespace, specify the spec.connectionSecretRef.namespace parameter.
Atlas APIに接続するために、Atlas Kubernetes Operator は Atlas Kubernetes Operator シークレット から組織IDとAPIキーを読み取ります。
また、 AtlasProjectカスタム リソース仕様を編集して、次のオプションを構成することもできます。
An IP access list with the spec.projectIpAccessList parameter. This IP access list grants network access to Atlas clusters in the project.
Teams with the spec.teams parameter. A team lets you grant an access role to an entire group of Atlas users for a particular project.
The maintenance window with the spec.maintenanceWindow parameter. The maintenance window sets the hour and day that Atlas starts weekly maintenance on your database deployments.
Network peering with the spec.networkPeers parameter. Network peering allows you to connect securely to your AWS, Azure, or Google Cloud VPC.
Encryption at rest using customer-managed keys with the spec.encryptionAtRest parameter. Encryption at rest using customer-managed keys allows you to add an additional layer of security by using your cloud provider's KMS together with the MongoDB encrypted storage engine.
Private endpoints with the spec.privateEndpoints parameter.
X.509 authentication with the spec.x509CertRef.name parameter.
Project settings with the spec.settings parameter, including settings to enable and disable the following:
クラスター メトリクスでのデータベース統計のコレクション
Project alerts configurations with the spec.alertConfigurationSyncEnabled and spec.alertConfigurations parameters.
これらの設定がどのように影響するかについては、「考慮事項 」を参照してください。
Kubernetes クラスターからAtlasProjectリソースを削除すると、Atlas Kubernetes Operator は Atlas からプロジェクトを削除します。 プロジェクト内のすべてのクラスターを削除する必要があります。 それ以外の場合、Atlas は削除リクエストを拒否します。
例
次の例は、 AtlasProjectカスタム リソース仕様の例を示しています。
apiVersion: atlas.mongodb.com/v1 kind: AtlasProject metadata: name: my-project spec: name: Test project connectionSecretRef: name: my-atlas-key projectIpAccessList: - cidrBlock: "203.0.113.0/24" comment: "CIDR block for Application Server B - D"
Prometheus の例
次の例は、Prometheus と統合するAtlasProjectカスタム リソース仕様を示しています。
apiVersion: atlas.mongodb.com/v1 kind: AtlasProject metadata: name: my-project spec: name: TestPrometheusIntegration connectionSecretRef: name: my-atlas-key projectIpAccessList: - cidrBlock: "0.0.0.0/1" comment: "Everyone has access. For test purposes only." - cidrBlock: "128.0.0.0/1" comment: "Everyone has access. For test purposes only." integrations: - type: "PROMETHEUS" enabled: "true" username: "prometheus-user" passwordRef: name: "password-name" namespace: "password-namespace" scheme: "http" serviceDiscovery: "http"
詳細については、「サードパーティ サービスとの統合 」を参照してください。
注意
Atlas Kubernetes Operator は、 Grafana にインポートできるサンプルGrafana ダッシュボードを提供します。
チームの例
次の例は、このプロジェクトのgreen-leaf-teamにOrganization Ownerロールを付与するAtlasProjectカスタム リソース仕様を示しています。 チーム メンバーは、 AtlasTeam カスタム リソースで定義されます。
apiVersion: atlas.mongodb.com/v1 kind: AtlasProject metadata: name: my-project spec: name: Test project teams: - teamRef: name: green-leaf-team roles: - ORGANIZATION_OWNER
詳しくは、「チームの構成 」を参照してください。
メンテナンスウィンドウの例
次の例では、自動延期を無効にして、メンテナンスウィンドウを毎週火曜日の午前 5 時 00 分に設定するAtlasProjectカスタム リソース仕様を示しています。
apiVersion: atlas.mongodb.com/v1 kind: AtlasProject metadata: name: my-project spec: name: Test project projectIpAccessList: - ipAddress: "192.0.2.15" comment: "IP address for Application Server A" maintenanceWindow: dayOfWeek: 3 hourOfDay: 5 autoDefer: false
プロジェクト設定の例
次の例では、クラスター メトリクス、データ エクスプローラー、 Performance Advisor 、リアルタイム パフォーマンス パネル、スキーマ アドバイザー のデータベース統計のコレクションを無効にする AtlasProject カスタム リソース仕様を示しています。
apiVersion: atlas.mongodb.com/v1 kind: AtlasProject metadata: name: my-project spec: name: Test project projectIpAccessList: - ipAddress: "192.0.2.15" comment: "IP address for Application Server A" settings: isCollectDatabaseSpecificsStatisticsEnabled: false isDataExplorerEnabled: false isExtendedStorageSizesEnabled: false isPerformanceAdvisorEnabled: false isRealtimePerformancePanelEnabled: false isSchemaAdvisorEnabled: false
アラート構成の例
次の例では、oplog window が 1 時間未満の場合にトリガーされるアラートを構成するAtlasProjectカスタム リソース仕様を示しています。
apiVersion: atlas.mongodb.com/v1 kind: AtlasProject metadata: name: my-project spec: name: Test Atlas Operator Project connectionSecretRef: name: my-atlas-key alertConfigurations: - eventTypeName: "REPLICATION_OPLOG_WINDOW_RUNNING_OUT", enabled: true, notifications: - delayMin: 0 emailEnabled: true intervalMin: 60 roles: [ "GROUP_OWNER" ] smsEnabled: false typeName: "GROUP" threshold: operator: "LESS_THAN", threshold: "1", units: "HOURS" alertConfigurationSyncEnabled: true withDefaultAlertsSettings: false
サードパーティ アラートの構成例
次の例では、Slack に通知を送信するアラートを構成するAtlasProjectカスタム リソース仕様を示しています。
apiVersion: atlas.mongodb.com/v1 kind: AtlasProject metadata: name: my-project spec: name: Test Atlas Operator Project connectionSecretRef: name: my-atlas-key alertConfigurations: - eventTypeName: "REPLICATION_OPLOG_WINDOW_RUNNING_OUT" enabled: true notifications: - delayMin: 0 emailEnabled: true intervalMin: 60 roles: [ "GROUP_OWNER" ] smsEnabled: false - typeName: "SLACK" apiTokenRef: name: key-name namespace: key-namespace threshold: operator: "LESS_THAN" threshold: "1" units: "HOURS" alertConfigurationSyncEnabled: true withDefaultAlertsSettings: false
パラメーター
Atlas プロジェクト
AtlasProject is the Schema for the atlasprojects API
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | atlas.mongodb.com/v1 | true |
| string |
| true |
| オブジェクト |
| true |
| オブジェクト |
| false |
| オブジェクト |
| false |
AtlasProject.spec
AtlasProjectSpec defines the target state of Project in Atlas
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Name is the
| true |
| ブール値 |
| false |
| []オブジェクト |
| false |
| オブジェクト | Auditing represents | false |
| オブジェクト |
| false |
| []オブジェクト |
| false |
| []オブジェクト |
| false |
| オブジェクト |
| false |
| []オブジェクト |
| false |
| オブジェクト |
| false |
| []オブジェクト | Integrations is a list of | false |
| オブジェクト |
| false |
| []オブジェクト |
| false |
| []オブジェクト |
| false |
| []オブジェクト |
| false |
| 列挙 |
| false |
| オブジェクト | Settings allows the configuration of the Project Settings. | false |
| []オブジェクト | Teams enable you to grant project access roles to multiple users. | false |
| ブール値 | Flag that indicates whether Atlas Kubernetes Operator creates a project with the default alert configurations. If you use this setting, you must also set spec.``alertConfigurationSyncEnabled`` to true for Atlas Kubernetes Operator to modify project alert configurations. If you set this parameter to false when you create a project, Atlas doesn't add the default alert configurations to your project. This setting has no effect on existing projects. Default: true | false |
| オブジェクト | X509CertRef is a reference to the Kubernetes Secret which contains | false |
AtlasProject.spec.alertConfigurations
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| ブール値 | 省略した場合、構成は無効になります。 | false |
| string | The type of event that will trigger an alert. | false |
| []オブジェクト |
| false |
| オブジェクト |
| false |
| []オブジェクト | Notifications are sending when an alert condition is detected. | false |
| 列挙 |
| false |
| オブジェクト | Threshold causes an alert to be triggered. | false |
AtlasProject.spec.alertConfigurations.matchers
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | 一致するターゲット オブジェクト内のフィールドの名前。 | false |
| string | The | false |
| string | 指定された演算子でテストする値。 | false |
AtlasProject.spec.alertConfigurations.metricThreshold
MetricThreshold causes an alert to be triggered.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Threshold value outside which an alert will be triggered. | true |
| string | Name of the metric to check. | false |
| string | This must be set to | false |
| string | 現在のメトリクス値をしきい値と照合するときに適用する演算子。 | false |
| string | The | false |
AtlasProject.spec.alertConfigurations.notifications
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| オブジェクト | Secret containing a Slack | false |
| string | Slack channel name. Populated for the | false |
| オブジェクト | Secret containing a Datadog | false |
| string | Region that indicates which | false |
| integer | アラート条件が検出された後最初の通知を送信するまでに待機する時間(分)。 | false |
| string | Email address to which alert notifications are sent. Populated for the | false |
| ブール値 | Flag indicating if email notifications should be sent. Populated for | false |
| string | 小文字の Flowdock フロー名。 | false |
| オブジェクト | The Flowdock personal | false |
| integer | 解決されていない未確認アラートの連続した通知間で待機する時間(分)。 | false |
| string | Mobile number to which alert notifications are sent. Populated for the | false |
| オブジェクト |
| false |
| string | Region that indicates which | false |
| string | Flowdock organization name in lower-case letters. This is the name that appears after www.flowdock.com/app/ in the | false |
| []string | The following | false |
| オブジェクト |
| false |
| ブール値 | Flag indicating if text message notifications should be sent. Populated for | false |
| string | チームの一意の識別子。 | false |
| string | この通知を受け取ったチームのラベル。 | false |
| string | アラート通知のタイプ。 | false |
| string | Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Populated for the | false |
| オブジェクト | Secret containing a | false |
AtlasProject.spec.alertConfigurations.notifications.apiTokenRef
Secret containing a Slack API token or Bot token. Populated for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.alertConfigurations.notifications.datadogAPIKeyRef
Secret containing a Datadog API Key. Found in the Datadog dashboard. Populated for the DATADOG notifications type.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.alertConfigurations.notifications.flowdockApiTokenRef
The Flowdock personal API token. Populated for the FLOWDOCK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.alertConfigurations.notifications.opsGenieApiKeyRef
OpsGenie API Key. Populated for the OPS_GENIE notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.alertConfigurations.notifications.serviceKeyRef
PagerDuty service key. Populated for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.alertConfigurations.notifications.victorOpsSecretRef
Secret containing a VictorOps API key and Routing key. Populated for the VICTOR_OPS notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.alertConfigurations.threshold
Threshold causes an alert to be triggered.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Operator to apply when checking the current metric value against the threshold value. It accepts the following values: | false |
| string | Threshold value outside which an alert will be triggered. | false |
| string | The | false |
AtlasProject.spec.auditing
Auditing represents MongoDB Maintenance Windows.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| ブール値 | Indicates whether the auditing system captures successful authentication attempts for audit filters using the "atype" : " | false |
| string |
| false |
| ブール値 | Denotes whether the project associated with the { | false |
AtlasProject.spec.backupCompliancePolicyRef
BackupCompliancePolicyRef is a reference to the backup compliance custom resource.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.cloudProviderAccessRoles
CloudProviderAccessRole define an integration to a cloud provider DEPRECATED: This type is deprecated in favor of CloudProviderIntegration
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string |
| true |
| string |
| false |
AtlasProject.spec.cloudProviderIntegrations
CloudProviderIntegration define an integration to a cloud provider
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string |
| true |
| string |
| false |
AtlasProject.spec.connectionSecretRef
ConnectionSecret is the name of the Kubernetes Secret which contains the information about the way to connect to Atlas (organization ID, API keys). The default Operator connection configuration will be used if not provided.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.customRoles
CustomRole lets you create and change a custom role in your cluster. Use custom roles to specify custom sets of actions that the Atlas built-in roles can't describe. Deprecated: Migrate to the AtlasCustomRoles custom resource in accordance with the migration guide at https://www.mongodb.com/ja-jp/docs/atlas/operator/current/migrate-parameter-to-resource/#std-label-ak8so-migrate-ptr
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Human-readable label that identifies the role. This | true |
| []オブジェクト | List of the individual privilege | false |
| []オブジェクト | このカスタムロールが継承する組み込みロールのリスト。 | false |
AtlasProject.spec.customRoles.actions
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | 特権アクションを識別する、人間が判読可能なラベル。 | true |
| []オブジェクト | List of | true |
AtlasProject.spec.customRoles.actions.resources
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| ブール値 | Flag that indicates whether to grant the action on the | false |
| string | Human-readable label that identifies the | false |
| string | Human-readable label that identifies the | false |
AtlasProject.spec.customRoles.inheritedRoles
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Human-readable label that identifies the | true |
| string | Human-readable label that identifies the role inherited. | true |
AtlasProject.spec.encryptionAtRest
EncryptionAtRest allows to set encryption for AWS, Azure and GCP providers.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| オブジェクト |
| false |
| オブジェクト |
| false |
| オブジェクト |
| false |
AtlasProject.spec.encryptionAtRest.awsKms
AwsKms specifies AWS KMS configuration details and whether Encryption at Rest is enabled for an Atlas project.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| ブール値 | Specifies whether Encryption at Rest is | false |
| string | The | false |
| オブジェクト | A reference to as Secret containing the | false |
| ブール値 | Specifies whether the encryption key set for the provider is | false |
AtlasProject.spec.encryptionAtRest.awsKms.secretRef
A reference to as Secret containing the AccessKeyID, SecretAccessKey, CustomerMasterKeyID and RoleID fields
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.encryptionAtRest.azureKeyVault
AzureKeyVault specifies Azure Key Vault configuration details and whether Encryption at Rest is enabled for an Atlas project.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | The Azure environment where the Azure account credentials reside. Valid values are the following: | false |
| string | The Client | false |
| ブール値 | Specifies whether Encryption at Rest is | false |
| string | The name of the Azure Resource group that contains an Azure Key Vault. | false |
| オブジェクト | A reference to as Secret containing the | false |
| string | The unique identifier for an Azure | false |
AtlasProject.spec.encryptionAtRest.azureKeyVault.secretRef
A reference to as Secret containing the SubscriptionID, KeyVaultName, KeyIdentifier, Secret fields
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.encryptionAtRest.googleCloudKms
GoogleCloudKms specifies GCP KMS configuration details and whether Encryption at Rest is enabled for an Atlas project.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| ブール値 | Specifies whether Encryption at Rest is | false |
| オブジェクト | A reference to as Secret containing the | false |
AtlasProject.spec.encryptionAtRest.googleCloudKms.secretRef
A reference to as Secret containing the ServiceAccountKey, KeyVersionResourceID fields
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.integrations
Integration for the project between Atlas and a third party service. Deprecated: Migrate to the AtlasThirdPartyIntegration custom resource in accordance with the migration guide at https://www.mongodb.com/ja-jp/docs/atlas/operator/current/migrate-parameter-to-resource/#std-label-ak8so-migrate-ptr
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | New Relic アカウントを識別する一意の 40 桁の 16 進数文字列。 | false |
| オブジェクト | Reference to a Kubernetes Secret containing your | false |
| オブジェクト | Reference to a Kubernetes Secret containing the Key that allows Atlas to access your Slack account. | false |
| string | Name of the Slack channel to which Atlas sends alert notifications. | false |
| ブール値 | Prometheus 統合がアクティブ化されているかどうかを示すフラグ。 | false |
| string |
| false |
| オブジェクト | Reference to a Kubernetes Secret containing your Unique 40-hexadecimal digit string that identifies your New Relic license. | false |
| string | Endpoint web address of the Microsoft Teams webhook to which Atlas sends notifications. | false |
| string | false | |
| string |
| false |
| オブジェクト | Reference to a Kubernetes Secret containing the password to allow Atlas to access your Prometheus account. | false |
| オブジェクト | Reference to a Kubernetes Secret containing the query key associated with your New Relic account. | false |
| string | Region code indicating which regional | false |
| オブジェクト | Reference to a Kubernetes Secret containing the Routing key associated with your Splunk On-Call account. Used for Victor Ops. | false |
| string | false | |
| オブジェクト | Reference to a Kubernetes Secret containing the secret for your Webhook. | false |
| string | Prometheus サービスを検出するための希望方法です。 | false |
| オブジェクト | Reference to a Kubernetes Secret containing the service key associated with your | false |
| string | Human-readable label that identifies your Slack team. | false |
| 列挙 | Third Party Integration | false |
| string | Endpoint web address to which Atlas sends notifications. Used for Webhooks. | false |
| string | Prometheus 受信 Webhook を識別する、人間が判読可能なラベル。 | false |
| オブジェクト | Reference to a Kubernetes Secret containing the insert key associated with your New Relic account. | false |
AtlasProject.spec.integrations.apiKeyRef
Reference to a Kubernetes Secret containing your API Key for Datadog, OpsGenie or Victor Ops.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.integrations.apiTokenRef
Reference to a Kubernetes Secret containing the Key that allows Atlas to access your Slack account.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.integrations.licenseKeyRef
Reference to a Kubernetes Secret containing your Unique 40-hexadecimal digit string that identifies your New Relic license.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.integrations.passwordRef
Reference to a Kubernetes Secret containing the password to allow Atlas to access your Prometheus account.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.integrations.readTokenRef
Reference to a Kubernetes Secret containing the query key associated with your New Relic account.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.integrations.routingKeyRef
Reference to a Kubernetes Secret containing the Routing key associated with your Splunk On-Call account. Used for Victor Ops.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.integrations.secretRef
Reference to a Kubernetes Secret containing the secret for your Webhook.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.integrations.serviceKeyRef
Reference to a Kubernetes Secret containing the service key associated with your PagerDuty account.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.integrations.writeTokenRef
Reference to a Kubernetes Secret containing the insert key associated with your New Relic account.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.maintenanceWindow
MaintenanceWindow allows to specify a preferred time in the week to run maintenance operations. See more information at https://www.mongodb.com/ja-jp/docs/atlas/reference/api/maintenance-windows/
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| ブール値 | Flag indicating whether any scheduled project maintenance should be deferred automatically for one week. | false |
| integer | Day of the week when you would like the maintenance window to start as a 1-based integer. Sunday 1, Monday 2, Tuesday 3, Wednesday 4, Thursday 5, Friday 6, Saturday 7. Minimum: 1 Maximum: 7 | false |
| ブール値 | Flag indicating whether the next scheduled project maintenance should be deferred for one week. Cannot be specified if | false |
| integer | Hour of the day when you would like the maintenance window to start. This parameter uses the 24-hour clock, where midnight is 0, noon is 12. Minimum: 0 Maximum: 23 | false |
| ブール値 | Flag indicating whether project maintenance has been directed to start immediately. Cannot be specified if defer is true | false |
AtlasProject.spec.networkPeers
NetworkPeer configured for the current Project. Deprecated: Migrate to the AtlasNetworkPeering and AtlasNetworkContainer custom resources in accordance with the migration guide at https://www.mongodb.com/ja-jp/docs/atlas/operator/current/migrate-parameter-to-resource/#std-label-ak8so-migrate-ptr
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string |
| false |
| string | Atlas | false |
| string |
| false |
| string |
| false |
| string |
| false |
| string |
| false |
| string |
| false |
| string | ユーザー | false |
| string |
| false |
| string |
| false |
| string |
| false |
| string | ユーザー | false |
| string | VNetName はAzure VNet の名前です。 Azureにのみ適用されます。 | false |
| string |
| false |
AtlasProject.spec.privateEndpoints
PrivateEndpoint is a list of Private Endpoints configured for the current Project. Deprecated: Migrate to the AtlasPrivateEndpoint Custom Resource in accordance with the migration guide at https://www.mongodb.com/ja-jp/docs/atlas/operator/current/migrate-parameter-to-resource/#std-label-ak8so-migrate-ptr
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| 列挙 | Cloud | true |
| string | Cloud provider | true |
| string | Unique identifier of the endpoint group. The endpoint group encompasses all the endpoints that you created in Google Cloud. | false |
| []オブジェクト | Collection of individual private | false |
| string | Unique identifier of the Google Cloud project in which you created your endpoints. | false |
| string | Unique identifier of the private endpoint you created in your | false |
| string | Azure VNet で作成したプライベートエンドポイント ネットワーク インターフェイスのプライベート | false |
AtlasProject.spec.privateEndpoints.endpoints
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Forwarding rule that corresponds to the endpoint you created in Google Cloud. | false |
| string | Private | false |
AtlasProject.spec.projectIpAccessList
IPAccessList allows the use of the IP Access List for a Project. See more information at https://mongodb.com/ja-jp/docs/atlas/reference/api/ip-access-list/add-entries-to-access-list/ Deprecated: Migrate to the AtlasIPAccessList Custom Resource in accordance with the migration guide at https://www.mongodb.com/ja-jp/docs/atlas/operator/current/migrate-parameter-to-resource/#std-label-ak8so-migrate-ptr
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Unique identifier of | false |
| string | Range of | false |
| string | このアクセス リスト エントリに関連付けられたコメント。 | false |
| string | Timestamp in | false |
| string | Entry using an | false |
AtlasProject.spec.settings
Settings allows the configuration of the Project Settings.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| ブール値 | 指定されたプロジェクトのデータベース固有のメトリクスを収集するかどうかを示すフラグ。 | false |
| ブール値 | 指定されたプロジェクトに対して Data Explorer を有効にするかどうかを示すフラグ。 | false |
| ブール値 | 指定されたプロジェクトに対してストレージ サイズ拡張を有効にするかどうかを示すフラグ。 | false |
| ブール値 | 指定したプロジェクトの Performance Advisor とプロファイラーを有効にするかどうかを示すフラグ。 | false |
| ブール値 | 指定したプロジェクトに対してリアルタイム パフォーマンス パネルを有効にするかどうかを示すフラグ。 | false |
| ブール値 | 指定されたプロジェクトに対してスキーマ アドバイザーを有効にするかどうかを示すフラグ。 | false |
AtlasProject.spec.teams
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| []enum | Roles the users in the team has within the project. Enum: | true |
| オブジェクト | Reference to the | true |
AtlasProject.spec.teams.teamRef
Reference to the AtlasTeam custom resource which will be assigned to the project.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.spec.x509CertRef
X509CertRef is a reference to the Kubernetes Secret which contains PEM-encoded CA certificate. Atlas Kubernetes Operator watches secrets only with the label atlas.mongodb.com/type=credentials to avoid watching unnecessary secrets.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |
AtlasProject.status
AtlasProjectStatus defines the observed state of AtlasProject
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| []オブジェクト | 条件は、Atlas カスタム リソースの現在の状態を示すステータスのリストです | true |
| []オブジェクト |
| false |
| []string |
| false |
| []オブジェクト |
| false |
| []オブジェクト |
| false |
| []オブジェクト | The list of | false |
| string | The | false |
| []オブジェクト | The list of network peers that are configured for current project | false |
| integer |
| false |
| []オブジェクト | The list of private endpoints configured for current project | false |
| オブジェクト | Prometheus contains the status for Prometheus integration including the | false |
| []オブジェクト | Teams contains a list of | false |
AtlasProject.status.conditions
条件 は、 特定の点における Atlas カスタム リソースの状態を表します。
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | 条件のステータス。 True、False、Unknown のいずれか 1 つ。 | true |
| string | Atlas カスタム リソース条件のタイプ。 | true |
| string | 条件があるステータスから別のステータスに最後に移行した時刻。 | false |
| string | 移行に関する詳細を提供する | false |
| string | 条件の最後の移行の | false |
AtlasProject.status.alertConfigurations
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | The date through which the alert has been acknowledged. Will not be present if the alert has never been acknowledged. | false |
| string | The comment left by the user who acknowledged the alert. Will not be present if the alert has never been acknowledged. | false |
| string | The username of the user who acknowledged the alert. Will not be present if the alert has never been acknowledged. | false |
| string |
| false |
| string | The | false |
| string | The name the cluster to which this alert applies. Only present for alerts of type | false |
| string | Timestamp in | false |
| オブジェクト |
| false |
| ブール値 | 省略した場合、構成は無効になります。 | false |
| string |
| false |
| string | The type of event that will trigger an alert. | false |
| string | このアラート構成を所有するプロジェクトの一意の識別子。 | false |
| string |
| false |
| string | The hostname and port of each host to which the alert applies. Only present for alerts of type | false |
| string | Unique identifier. | false |
| string | このアラートの最後の通知が送信されたとき。 通知が送信された場合にのみ存在します。 | false |
| []オブジェクト |
| false |
| string | The name of the measurement whose value went outside the threshold. Only present if | false |
| オブジェクト |
| false |
| []オブジェクト | Notifications are sending when an alert condition is detected. | false |
| string | Name of the replica set. Only present for alerts of type | false |
| string | When the alert was closed. Only present if the status is | false |
| string | Severity of the alert. | false |
| string | For alerts of the type | false |
| string | The current state of the alert. Possible values are: | false |
| オブジェクト | Threshold causes an alert to be triggered. | false |
| string | Timestamp in | false |
AtlasProject.status.alertConfigurations.currentValue
CurrentValue represents current value of the metric that triggered the alert. Only present for alerts of type HOST_METRIC.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | The value of the metric. | false |
| string | The | false |
AtlasProject.status.alertConfigurations.matchers
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | 一致するターゲット オブジェクト内のフィールドの名前。 | false |
| string | The | false |
| string | 指定された演算子でテストする値。 | false |
AtlasProject.status.alertConfigurations.metricThreshold
MetricThreshold causes an alert to be triggered.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Threshold value outside which an alert will be triggered. | true |
| string | Name of the metric to check. | false |
| string | This must be set to | false |
| string | 現在のメトリクス値をしきい値と照合するときに適用する演算子。 | false |
| string | The | false |
AtlasProject.status.alertConfigurations.notifications
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Slack | false |
| string | Slack channel name. Populated for the | false |
| string | Datadog | false |
| string | Region that indicates which | false |
| integer | アラート条件が検出された後最初の通知を送信するまでに待機する時間(分)。 | false |
| string | Email address to which alert notifications are sent. Populated for the | false |
| ブール値 | Flag indicating if email notifications should be sent. Populated for | false |
| string | Flowdock flow namse in lower-case letters. | false |
| string | The Flowdock personal | false |
| integer | 解決されていない未確認アラートの連続した通知間で待機する時間(分)。 | false |
| string | Mobile number to which alert notifications are sent. Populated for the | false |
| string | Opsgenie | false |
| string | Region that indicates which | false |
| string | Flowdock organization name in lower-case letters. This is the name that appears after www.flowdock.com/app/ in the | false |
| []string | The following | false |
| string |
| false |
| ブール値 | Flag indicating if text message notifications should be sent. Populated for | false |
| string | チームの一意の識別子。 | false |
| string | この通知を受け取ったチームのラベル。 | false |
| string | アラート通知のタイプ。 | false |
| string | Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Populated for the | false |
| string |
| false |
| string |
| false |
AtlasProject.status.alertConfigurations.threshold
Threshold causes an alert to be triggered.
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Operator to apply when checking the current metric value against the threshold value. it accepts the following values: | false |
| string | Threshold value outside which an alert will be triggered. | false |
| string | The | false |
AtlasProject.status.cloudProviderIntegrations
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Unique external | true |
| string | ロールのクラウドプロバイダーを識別する、人間が判読できるラベル。 | true |
| string | Amazon Resource Name that identifies the Amazon Web Services user account that | false |
| string | Date and time when someone authorized this role for the specified cloud service provider. This parameter expresses its value in the | false |
| string | Date and time when someone created this role for the specified cloud service provider. This parameter expresses its value in the | false |
| string | Application error message returned. | false |
| []オブジェクト | List that contains application features associated with this Amazon Web Services Identity and Access Management role. | false |
| string | Amazon Resource Name that identifies the Amazon Web Services Identity and Access Management role that | false |
| string | ロールを識別するユニークな 24 桁の 16 進数の文字列。 | false |
| string | Provision | false |
AtlasProject.status.cloudProviderIntegrations.featureUsages
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Identifying characteristics about the data lake linked to this Amazon Web Services Identity and Access Management role. | false |
| string | Human-readable label that describes one | false |
AtlasProject.status.customRoles
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Role | true |
| string | The | true |
| string | The message when the custom role is in the | false |
AtlasProject.status.expiredIpAccessList
IPAccessList allows the use of the IP Access List for a Project. See more information at https://mongodb.com/ja-jp/docs/atlas/reference/api/ip-access-list/add-entries-to-access-list/ Deprecated: Migrate to the AtlasIPAccessList Custom Resource in accordance with the migration guide at https://www.mongodb.com/ja-jp/docs/atlas/operator/current/migrate-parameter-to-resource/#std-label-ak8so-migrate-ptr
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Unique identifier of | false |
| string | Range of | false |
| string | このアクセス リスト エントリに関連付けられたコメント。 | false |
| string | Timestamp in | false |
| string | Entry using an | false |
AtlasProject.status.networkPeers
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Unique identifier for | true |
| string | Cloud provider for which you want to retrieve a network peer. | true |
| string | Region for which you want to create the network peer. It isn't needed for | true |
| string |
| false |
| string | Atlas Network Name. Applicable only for | false |
| string | Unique identifier of the network peer connection. Applicable only for | false |
| string |
| false |
| string | Error state of the network peer. Applicable only for | false |
| string | Error state of the network peer. Applicable only for Azure. | false |
| string | Error state of the network peer. Applicable only for | false |
| string |
| false |
| string | Status of the network peer. Applicable only for | false |
| string | Status of the network peer. Applicable only for | false |
| string |
| false |
AtlasProject.status.privateEndpoints
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Cloud | true |
| string | Cloud provider | true |
| []オブジェクト | Collection of individual | false |
| string | Unique identifier for | false |
| string | Unique identifier of the | false |
| []string | Unique alphanumeric and special character strings that identify the service attachments associated with the | false |
| string | Name of the | false |
| string | Unique identifier of the Azure Private Link Service (for | false |
AtlasProject.status.privateEndpoints.endpoints
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | 作成した Google Cloud コンシューマー転送ルールを識別する、人間に判読可能なラベル。 | true |
| string | この Google Cloud コンシューマー転送ルールが解決される、1 つのプライベート インターネット プロトコル バージョン 4(IPv4)アドレス。 | true |
| string | State of the | true |
AtlasProject.status.prometheus
Prometheus contains the status for Prometheus integration including the prometheusDiscoveryURL
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string |
| false |
| string | Protocol | false |
AtlasProject.status.teams
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| オブジェクト |
| true |
| string | false |
AtlasProject.status.teams.teamRef
ResourceRefNamespaced is a reference to a Kubernetes Resource that allows to configure the namespace
Name | タイプ | 説明 | 必須 |
|---|---|---|---|
| string | Kubernetesリソースの名前 | true |
| string | Kubernetesリソースの名前空間 | false |