Deployment Client Release Notes¶
Version 1.0.0, 01 Oct 2019¶
This is the first release of the Deployment Client. The Deployment Client is derived from the Acumos Boreas release of the Kubernetes Client, and is dependent upon a Jenkins server being deployed as part of the Acumos platform or externally. See the Deployment Client documents for further information.
- 3181: Deployment Client to deploy model to K8s using Jenkins
- 5368: Jenkins integration
- 5309: update code for deployment-client
- 5279: Add missing detail on /deploy API response
- 5276: Update siteConfig key k8sCluster design
- 5189: API structure for deployment-client
- 5237: Fix diagram
- 5178: Add Jenkins job and updates to deploy process
- 5071: Add docs and other base folders
- 5069: Initial repo files
The Kubernetes templates are in the System Integration repo, under AIO/kubernetes. The docker-compose template is in the System Integration repo under AIO/docker, and copied below:
version: '3.2'
services:
deployment-client-service:
image: ${DEPLOYMENT_CLIENT_IMAGE}
environment:
SPRING_APPLICATION_JSON: '{
"logging": {
"level": {
"root": "INFO"
}
},
"server": {
"port": 8337
},
"jenkins": {
"url": "${ACUMOS_JENKINS_API_URL}",
"user": "${ACUMOS_JENKINS_USER}",
"password": "${ACUMOS_JENKINS_PASSWORD}",
"job": {
"simple": "${ACUMOS_JENKINS_SIMPLE_SOLUTION_DEPLOY_JOB}",
"composite": "${ACUMOS_JENKINS_COMPOSITE_SOLUTION_DEPLOY_JOB}",
"nifi": "${ACUMOS_JENKINS_NIFI_DEPLOY_JOB}"
}
},
"api": {
"baseUrl": "https://${ACUMOS_DOMAIN}/deployment/"
},
"kube" : {
"incrementPort": "8557",
"singleModelPort": "8556",
"folderPath": "/maven/home",
"singleNodePort": "30333",
"singleTargetPort": "3330",
"dataBrokerModelPort": "8556",
"dataBrokerNodePort": "30556",
"dataBrokerTargetPort": "8556",
"mlTargetPort": "3330",
"nginxImageName": "nginx",
"nexusEndPointURL": "http://localhost:80"
},
"dockerRegistry": {
"url": "https://${ACUMOS_DOCKER_PROXY_HOST}:${ACUMOS_DOCKER_PROXY_PORT}/",
"username": "${ACUMOS_DOCKER_PROXY_USERNAME}",
"password": "${ACUMOS_DOCKER_PROXY_PASSWORD}"
},
"blueprint": {
"ImageName": "${BLUEPRINT_ORCHESTRATOR_IMAGE}",
"name": "blueprint-orchestrator",
"port": "8555"
},
"nexus": {
"url": "http://${ACUMOS_NEXUS_HOST}:${ACUMOS_NEXUS_API_PORT}/${ACUMOS_NEXUS_MAVEN_REPO_PATH}/${ACUMOS_NEXUS_MAVEN_REPO}/",
"password": "${ACUMOS_NEXUS_RW_USER_PASSWORD}",
"username": "${ACUMOS_NEXUS_RW_USER}",
"groupid": "${ACUMOS_NEXUS_GROUP}"
},
"cmndatasvc": {
"cmndatasvcendpointurl": "http://<ACUMOS_CDS_HOST>:<ACUMOS_CDS_PORT>/ccds",
"cmndatasvcuser": "${ACUMOS_CDS_USER}",
"cmndatasvcpwd": "${ACUMOS_CDS_PASSWORD}"
},
"logstash": {
"host": "${ACUMOS_ELK_HOST}",
"ip": "${ACUMOS_ELK_HOST_IP}",
"port": "${ACUMOS_ELK_LOGSTASH_PORT}"
}
}'
expose:
- 8337
volumes:
- type: bind
source: /mnt/${ACUMOS_NAMESPACE}/logs
target: /maven/logs
logging:
driver: json-file
extra_hosts:
- "${ACUMOS_HOST}:${ACUMOS_HOST_IP}"
restart: on-failure