Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

テンプレートのセレクターで特定されるリソースのIDを表示 #266

Open
yamamoto-febc opened this issue Jan 24, 2022 · 2 comments
Labels
enhancement あったらいいかも?

Comments

@yamamoto-febc
Copy link
Member

yamamoto-febc commented Jan 24, 2022

related: #255

水平スケール時のソースアーカイブなどのセレクターで指定するリソースについて、
実際に利用されるリソースのIDを表示したい。

垂直スケールの対象リソースについては同じくセレクターで指定する形だが
autoscaler core resourcesサブコマンドで表示可能となっている。
これを水平スケールなどで用いるテンプレートなどといった箇所でも同じようにIDを表示したい。

例:

resources:
  - type: ELB
    name: "elb"
    selector:
      names: ["example"]
    resources:
    - type: ServerGroup
      name: "workers"

      template: # 各サーバのテンプレート
        disks:
          - source_archive:
              names: ["Ubuntu", "20.04", "cloudimg"]
            plan: "ssd"
            connection: "virtio"
            size: 20

ソースアーカイブのセレクターとしてnames: ["Ubuntu", "20.04", "cloudimg"]を指定している。
これが最終的にどのリソースが使われるのかIDを表示したい。

@yamamoto-febc yamamoto-febc added the enhancement あったらいいかも? label Jan 24, 2022
@yamamoto-febc yamamoto-febc added this to the v0.4.0 milestone Jan 25, 2022
@yamamoto-febc
Copy link
Member Author

autoscaler core resourcesコマンドの改修と合わせv0.5で対応する。

@yamamoto-febc yamamoto-febc modified the milestones: v0.4.0, v0.5.0 Feb 2, 2022
@yamamoto-febc
Copy link
Member Author

#275 の後で対応する

@yamamoto-febc yamamoto-febc modified the milestones: v0.5.0, v0.6.0 Feb 25, 2022
@yamamoto-febc yamamoto-febc removed this from the v0.6.0 milestone Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement あったらいいかも?
Projects
None yet
Development

No branches or pull requests

1 participant