TimesTenカスタム・リソース定義(CRD)のインストール

TimesTenオペレータには、timestenclassics.timesten.oracle.comおよびtimestenscaleouts.timesten.oracle.comという2つのカスタム・リソース定義(CRD)が用意されています。これらのCRDは、TimesTenClassicおよびTimesTenScaleoutオブジェクト型を定義します。

Helmを使用して、TimesTen CRDをKubernetesクラスタにインストールします。CRDはクラスタ全体であるため、CRDはインストール後にすべてのネームスペースで使用できます。TimesTenオペレータのttcrdチャートをインストールして、CRDをインストールします。ttcrdチャートはカスタマイズできません。したがって、チャートをそのままインストールします。

Helmを使用したチャートのインストールの詳細は、https://helm.sh/docs/intro/using_helm/を参照してください。

  1. 開発ホストで、helmディレクトリに変更します。helmディレクトリの詳細は、「環境の設定」を参照してください。
    cd kube_files/helm
  2. ttcrdチャートをインストールします。
    helm install ttcrd ./ttcrd

    出力。

    NAME: ttcrd
    LAST DEPLOYED: Tue Oct 17 22:00:53 2023
    NAMESPACE: mynamespace
    STATUS: deployed
    REVISION: 1
    NOTES:
    Version 2211190.1.0 of the ttcrd chart has been installed.
    
    This release is named "ttcrd".
    
    To learn more about the release, try:
    
      $ helm status ttcrd
      $ helm get all ttcrd
      $ helm history ttcrd
    
    To rollback to a previous version of the chart, run:
    
      $ helm rollback ttcrd <REVISION>
        - run 'helm history ttcrd' for a list of revisions.

    ttcrdリリースはネームスペースにインストールされます。

  3. CRDがKubernetesクラスタで定義されていることを確認します。
     kubectl get crds | grep timesten

    出力。

    timestenclassics.timesten.oracle.com               2023-10-17T22:00:53Z
    timestenscaleouts.timesten.oracle.com              2023-10-17T22:00:53Z
TimesTenClassicおよびTimesTenScaleout CRDは、Kubernetesクラスタで定義されます。