Files
nodepool/nodepool/tests/fixtures/azure-gallery-image.yaml
James E. Blair 4279b4766d Add Azure gallery image support
The shared and community gallery images are another way to specify
what image to use when creating a VM.  Shared galleries are intended
for use within an organization, and community galleries are public.

This adds support for using these images.  It requires an API version
bump since the virtual machine attributes to specify them are new.

Change-Id: Ia981fcbeea6680a9d14ee8e4ec401bf227a7cc12
2023-06-21 18:21:40 -07:00

60 lines
1.9 KiB
YAML

webapp:
port: 8005
listen_address: '0.0.0.0'
zookeeper-servers:
- host: {zookeeper_host}
port: {zookeeper_port}
chroot: {zookeeper_chroot}
zookeeper-tls:
ca: {zookeeper_ca}
cert: {zookeeper_cert}
key: {zookeeper_key}
labels:
- name: community-bionic
min-ready: 0
- name: shared-bionic
min-ready: 0
providers:
- name: azure
driver: azure
zuul-public-key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+mplenM+m6pNY9Un3fpO9eqf808Jrfb3d1gXg7BZVawCvtEZ/cDYvLQ3OF1AeL2kcIC0UAIglM5JXae7yO5CJbJRdkbXvv0u1LvpLxYSPM4ATR0r4IseC5YVxkfJQNi4ixSwTqD4ScEkuCXcSqSU9M+hB+KlnwXoR4IcYHf7vD2Z0Mdwm2ikk3SeERmspmMxx/uz0SPn58QxONuoTlNWQKqDWsV6bRyoPa6HWccMrIH1/e7E69Nw/30oioOQpKBgaDCauh+QkDtSkjRpRMOV47ZFh16Q9DqMgLx+FD8z6++9rsHlB65Zas1xyQsiRCFG09s00b7OR7Xz9ukQ5+vXV
resource-group-location: centralus
location: centralus
resource-group: nodepool
auth-path: {auth_path}
subnet-id: /subscriptions/c35cf7df-ed75-4c85-be00-535409a85120/resourceGroups/nodepool/providers/Microsoft.Network/virtualNetworks/NodePool/subnets/default
cloud-images:
- name: community-bionic
username: zuul
shell-type: sh
community-gallery-image:
gallery-name: community-gallery
name: community-image
version: latest
- name: shared-bionic
username: zuul
shell-type: sh
shared-gallery-image:
gallery-name: shared-gallery
name: shared-image
version: latest
pools:
- name: main
max-servers: 10
node-attributes:
key1: value1
key2: value2
labels:
- name: community-bionic
cloud-image: community-bionic
hardware-profile:
vm-size: Standard_B1ls
- name: shared-bionic
cloud-image: shared-bionic
hardware-profile:
vm-size: Standard_B1ls