Skip to content

feat: use public ip assignment for instancepool - #901

Merged
quentinalbertone merged 2 commits into
masterfrom
sc-194775/cli-enable-public-ip-conf-for-instance-pool
Aug 19, 2026
Merged

feat: use public ip assignment for instancepool#901
quentinalbertone merged 2 commits into
masterfrom
sc-194775/cli-enable-public-ip-conf-for-instance-pool

Conversation

@quentinalbertone

@quentinalbertone quentinalbertone commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Description

use public ip assigmnet (dual, inet4, none) for instancepool (cf. instance and nodepool)

Checklist

(For exoscale contributors)

  • Changelog updated (under Unreleased block, and add the Pull Request #number for each bit you add to the CHANGELOG.md)
  • Testing

Testing

$ go run main.go compute instance-pool create test-dual --disk-size 60 --public-ip dual --size 2
 ✔ Creating Instance Pool "test-dual"... 36s
┼──────────────────────┼──────────────────────────────────────┼
│    INSTANCE POOL     │                                      │
┼──────────────────────┼──────────────────────────────────────┼
│ ID                   │ d522190d-7cc1-47a8-9638-ae7e1ec35dc9 │
│ Name                 │ test-dual                            │
│ Description          │                                      │
│ Instance Type        │ standard.medium                      │
│ Template             │ Linux Ubuntu 22.04 LTS 64-bit        │
│ Zone                 │ ch-gva-2                             │
│ Anti-Affinity Groups │ n/a                                  │
│ Security Groups      │ n/a                                  │
│ Private Networks     │ n/a                                  │
│ Elastic IPs          │ n/a                                  │
│ IPv6                 │ true                                 │
+ │ Public IP            │ dual                                 │
│ SSH Key              │ -                                    │
│ Size                 │ 2                                    │
│ Disk Size            │ 60 GiB                               │
│ Instance Prefix      │ pool                                 │
│ State                │ scaling-up                           │
│ Labels               │ n/a                                  │
│ Instances            │ pool-d5221-hcugg                     │
│                      │ pool-d5221-xzxoj                     │
┼──────────────────────┼──────────────────────────────────────┼
$ go run main.go compute instance-pool create test-inet4 --disk-size 60 --public-ip inet4 --size 2
 ✔ Creating Instance Pool "test-inet4"... 33s
┼──────────────────────┼──────────────────────────────────────┼
│    INSTANCE POOL     │                                      │
┼──────────────────────┼──────────────────────────────────────┼
│ ID                   │ 52563046-ea19-4f53-92af-944658ef661f │
│ Name                 │ test-inet4                           │
│ Description          │                                      │
│ Instance Type        │ standard.medium                      │
│ Template             │ Linux Ubuntu 22.04 LTS 64-bit        │
│ Zone                 │ ch-gva-2                             │
│ Anti-Affinity Groups │ n/a                                  │
│ Security Groups      │ n/a                                  │
│ Private Networks     │ n/a                                  │
│ Elastic IPs          │ n/a                                  │
│ IPv6                 │ false                                │
+ │ Public IP            │ inet4                                │
│ SSH Key              │ -                                    │
│ Size                 │ 2                                    │
│ Disk Size            │ 60 GiB                               │
│ Instance Prefix      │ pool                                 │
│ State                │ scaling-up                           │
│ Labels               │ n/a                                  │
│ Instances            │ pool-52563-jjnbm                     │
│                      │ pool-52563-souge                     │
┼──────────────────────┼──────────────────────────────────────┼
$ go run main.go compute instance-pool create test-none --disk-size 60 --public-ip none --size 2
 ✔ Creating Instance Pool "test-none"... 30s
┼──────────────────────┼──────────────────────────────────────┼
│    INSTANCE POOL     │                                      │
┼──────────────────────┼──────────────────────────────────────┼
│ ID                   │ ba93cc68-5cb2-49dc-86cf-bccba9392677 │
│ Name                 │ test-none                            │
│ Description          │                                      │
│ Instance Type        │ standard.medium                      │
│ Template             │ Linux Ubuntu 22.04 LTS 64-bit        │
│ Zone                 │ ch-gva-2                             │
│ Anti-Affinity Groups │ n/a                                  │
│ Security Groups      │ n/a                                  │
│ Private Networks     │ n/a                                  │
│ Elastic IPs          │ n/a                                  │
│ IPv6                 │ false                                │
+ │ Public IP            │ none                                 │
│ SSH Key              │ -                                    │
│ Size                 │ 2                                    │
│ Disk Size            │ 60 GiB                               │
│ Instance Prefix      │ pool                                 │
│ State                │ scaling-up                           │
│ Labels               │ n/a                                  │
│ Instances            │ pool-ba93c-nciaq                     │
│                      │ pool-ba93c-mvixw                     │
┼──────────────────────┼──────────────────────────────────────┼
$ go run main.go compute instance-pool create test-default --disk-size 60 --size 2
 ✔ Creating Instance Pool "test-default"... 42s
┼──────────────────────┼──────────────────────────────────────┼
│    INSTANCE POOL     │                                      │
┼──────────────────────┼──────────────────────────────────────┼
│ ID                   │ a5cd3fdc-79d3-4ab6-bd3a-a67e30517db0 │
│ Name                 │ test-default                         │
│ Description          │                                      │
│ Instance Type        │ standard.medium                      │
│ Template             │ Linux Ubuntu 22.04 LTS 64-bit        │
│ Zone                 │ ch-gva-2                             │
│ Anti-Affinity Groups │ n/a                                  │
│ Security Groups      │ n/a                                  │
│ Private Networks     │ n/a                                  │
│ Elastic IPs          │ n/a                                  │
│ IPv6                 │ false                                │
+ │ Public IP            │ inet4                                │
│ SSH Key              │ -                                    │
│ Size                 │ 2                                    │
│ Disk Size            │ 60 GiB                               │
│ Instance Prefix      │ pool                                 │
│ State                │ scaling-up                           │
│ Labels               │ n/a                                  │
│ Instances            │ pool-a5cd3-bejdn                     │
│                      │ pool-a5cd3-swcgp                     │
┼──────────────────────┼──────────────────────────────────────┼

@natalie-o-perret
natalie-o-perret self-requested a review August 19, 2026 08:42
@quentinalbertone
quentinalbertone requested a review from a team August 19, 2026 08:45
@quentinalbertone
quentinalbertone merged commit 4e52d03 into master Aug 19, 2026
7 checks passed
@quentinalbertone
quentinalbertone deleted the sc-194775/cli-enable-public-ip-conf-for-instance-pool branch August 19, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants