Service Definition Deployments with AS3 Container — F5 Pipeline documentation

Service Definition Deployments with AS3 Container

Deploy the AS3 Service Definition

  1. Save a copy of the previously deployed service definition. Change the name of the file to represent the use of the AS3 container. HTTP-service-docker.json
  2. Modify the existing defeintion to include a BIG-IP target that AS3 container will use as a target for the declaration. An example of an included target stanza can be found below.
  3. POST the new service definition to the BIG-IQ’s application services interface.
    • https://{{as3_container}}/mgmt/shared/appsvcs/declare

Note

The ensure that you also include a valid user name and password in the JSON body.

Example Target Host in AS3 Container Definintion

{
    "class": "AS3",
    "action": "deploy",
    "targetHost": "{{big_ip_mgmt}}",
    "targetPort": 443,
    "targetUsername": "admin",
    "targetPassphrase": "admin",
    "persist": true,
    "declaration": {
....