VmCluster is used to represent a set of virtual machines. It is mainly used to deploy services/apps to the specified clusters and in some cases, it can be used to run certain maintenance activities on the clusters as a whole.
- name: vmIntegrationResource type: VmCluster configuration: sshKey: <sshKey integration name> targets: - <IP address> - <IP address> - <IP address>
An alphanumeric string (underscores are permitted) that identifies the resource.
VmCluster for this resource type.
Specifies all configuration selections for the resource.
The name of an SSH Key Integration
Declares a collection of IP addresses of Virtual Machines in the clusters
VmCluster is used in a step, a set of environment variables is automatically made available that you can use in your step.
Name of the resource
Name of the SSH Key integration
The collection of IP addresses
The Pipelines DSL for this example is available in this repository in the JFrog GitHub account.
resources: - name: vmCluster_1 type: VmCluster configuration: sshKey: SR_SSHKEYS targets: - 126.96.36.199 pipelines: - name: pipelines_1 steps: - name: VM_0001 type: PowerShell configuration: inputResources: - name: vmCluster_1 execution: onExecute: - write-output "executing step..."