Prior to the VMware Cloud Director Container Service Extension server installation, it is necessary to complete a YAML configuration file, that controls the server installation and runtime.

In the VMware Cloud Director Container Service Extension client, you can generate the following skeleton file:

cse sample -o config.yaml

The output of the command varies depending whether the flag --legacy-mode is used with the command or not.

If the flag is not present, sample for mqtt bus type generates, otherwise amqp bus type sample generates.

Table 1. Supported bus types

VMware Cloud Director Version

Supported Bus Types

VMware Cloud Director 10.1

amqp

VMware Cloud Director 10.2

amqp and mqtt

VMware Cloud Director 10.3

mqtt

VMware Cloud Director 10.4

mqtt

To add values from your VMware Cloud Director installation, edit this file.

The following example shows a configuration file with sample values configured:

# Only one of the amqp or mqtt sections should be present.

#amqp:
#  exchange: cse-ext
#  host: amqp.vmware.com
#  password: guest
#  port: 5672
#  prefix: vcd
#  routing_key: cse
#  username: guest
#  vhost: /

mqtt:
  verify_ssl: true

vcd:
  host: vcd.vmware.com
  log: true
  password: my_secret_password
  port: 443
  username: administrator
  verify: true

vcs:
- name: vc1
  password: my_secret_password
  username: [email protected]
  verify: true
- name: vc2
  password: my_secret_password
  username: [email protected]
  verify: true

service:
  enforce_authorization: false
  legacy_mode: false
  log_wire: false
  no_vc_communication_mode: false
  processors: 15
  telemetry:
    enable: true

broker:
  catalog: cse
  ip_allocation_mode: pool
  network: my_network
  org: my_org
  remote_template_cookbook_url: https://raw.githubusercontent.com/vmware/container-service-extension-templates/master/template_v2.yaml
  storage_profile: '*'
  vdc: my_org_vdc

# [Optional] Extra options section
#extra_options:
#  tkgm_http_proxy: [http proxy url with port]
#  tkgm_https_proxy: [https proxy url with port]
#  tkgm_no_proxy: [comma separated list of IP addresses]
#  cpi_version: cpi version in quotes
#  csi_version: csi version in quotes
#  antrea_version: antrea version in quotes