コンテンツにスキップ

インフラ Ingress

インフラ Ingress チャートは、共有 AMS ホスト上でブラウザの /(ランディング)だけを担当します。モジュール側のパス付き Ingress は各チャートが持ちます。

チャート: ams-helm-infrastructure-ingress

なぜ重要か

このチャートがないと、https://ams.example.com/ の着地先が決まりません。あれば、どのモジュールが / に答えるかを明示できます。

root.module の選び方

状況 root.module
4 モジュールすべて command-center(プライマリ)
Command Center のみ command-center
EOBS のみ eobs
FortifyOps のみ fortifyops
ARE のみ are

例:

global:
  environment: release
  amsDomain: ams.example.com
  tlsSecretName: wildcard-tls
  ingress:
    cloud: azure
    host: ams.example.com
    tls:
      enabled: true
      secretName: wildcard-tls

root:
  enabled: true
  module: command-center

ホスト名と Secret 名は実環境に置き換えてください。

ランディングカタログ(要約)

root.module バックエンド Service(典型) メモ
command-center ams-frontend ネイティブ /
eobs EOBS UI Service /eobs 向けリライト
fortifyops FortifyOps UI Service /fortify-ops 向けリライト
are ARE UI Service ARE UI パス向けリライト

正確な Service 名とポートはチャート values.yamlmodules カタログにあります。

デプロイ順

  1. プライマリモジュールを入れ、Service を用意
  2. Ingress 用 NS に TLS Secret があること
  3. インストール / アップグレード:
helm upgrade --install ams-ingress ./ams-helm-infrastructure-ingress \
  --namespace ams \
  --create-namespace \
  -f providers/azure/release/values.yaml
  1. https://<amsDomain>/ で期待 UI を確認

後からランディングを変える

root.module を変えて再適用し、Ingress の反映を待ちます。/ の担当変更だけのために他モジュールを入れ直す必要はありません。

よくある失敗

  • 対象 Service 前に Ingress を適用 → 502/404
  • TLS Secret 名の不一致
  • DNS が古い IP のまま
  • 別チャートが再度 / を主張する