dcos-engine/releases
dmitsh ba28461e9e
Adding support for Windows bootstrap node (#54)
* added template generation for Windows bootstrap node

* Make the bootstrap provisioning for the dcos windows agent

* setting the password in the custom script (#23)

*  increase disk size on Windows bootstrap node (#25)

set default disk size on the Windows bootstrap node to 120 GB
resize C: partition on the Windows bootstrap node to 60 GB

* add SSH public key to authorized_keys on Windows bootstrap node

* adding SSH public key to Windows agents

* renamed install_bootstrap_windows.ps1 into dcos_generate_config.ps1

* implement Windows bootstrap node upgrade (#34)

* add separate functions for Linux and Windows agent upgrade

* starting docker container and SSH service on Windows nodes after reboot (#40)

* starting SSH service on Windows nodes after reboot
* starting docker container on Windows bootstrap node after reboot
* update docker start instructions on Windows bootstrap node after DCOS upgrade

* add Windows agent upgrade (#42)

* use compressed Windows bootstrap package (#46)

* retry failed curl attempts

* do not upgrade already upgraded node in case of partially successful upgrade operation

* update Docker version on Windows nodes (#49)

Specify desired Windows Docker version in api model under "properties/orchestratorProfile/windowsBootstrapProfile/dockerVersion"
to trigger Docker upgrade during Windows agent node deployment.
If dockerVersion is omitted, the default version 18.03.1-ee-1 is assumed.
If dockerVersion is set to "current", the upgrade is skipped.

* updated test configs

* introduce post-provision extension for Linux nodes
2018-09-12 08:56:13 -07:00
..
scripts Adding support for Windows bootstrap node (#54) 2018-09-12 08:56:13 -07:00
Dockerfile.linux update release files (#29) 2018-07-30 22:04:29 -07:00
README.Dockerfile.md update docs (#45) 2018-08-20 13:17:08 -07:00

README.Dockerfile.md

Build Docker image

Bash

$ VERSION=0.2.0
$ docker build --no-cache --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg DCOSENGINE_VERSION="$VERSION" -t microsoft/dcos-engine:$VERSION --file ./Dockerfile.linux .

PowerShell

PS> $VERSION="0.2.0"
PS> docker build --no-cache --build-arg BUILD_DATE=$(Get-Date((Get-Date).ToUniversalTime()) -UFormat "%Y-%m-%dT%H:%M:%SZ") --build-arg DCOSENGINE_VERSION="$VERSION" -t microsoft/dcos-engine:$VERSION --file .\Dockerfile.linux .

Inspect Docker image metadata

Bash

$ docker image inspect microsoft/dcos-engine:0.1.0 --format "{{json .Config.Labels}}" | jq
{
  "maintainer": "Microsoft",
  "org.label-schema.build-date": "2017-10-25T04:35:06Z",
  "org.label-schema.description": "DC/OS Engine (dcos-engine) generates ARM (Azure Resource Manager) templates for Docker enabled clusters on Microsoft Azure with DC/OS orchestrator.",
  "org.label-schema.docker.cmd": "docker run -v ${PWD}:/dcos-engine/workspace -it --rm microsoft/dcos-engine:0.1.0",
  "org.label-schema.license": "MIT",
  "org.label-schema.name": "DC/OS Engine (dcos-engine)",
  "org.label-schema.schema-version": "1.0",
  "org.label-schema.url": "https://github.com/Azure/dcos-engine",
  "org.label-schema.usage": "https://github.com/Azure/dcos-engine/blob/master/docs/dcos-engine.md",
  "org.label-schema.vcs-url": "https://github.com/Azure/dcos-engine.git",
  "org.label-schema.vendor": "Microsoft",
  "org.label-schema.version": "0.1.0"
}

PowerShell

PS> docker image inspect microsoft/dcos-engine:0.2.0 --format "{{json .Config.Labels}}" | ConvertFrom-Json | ConvertTo-Json
{
    "maintainer":  "Microsoft",
    "org.label-schema.build-date":  "2017-10-25T04:35:06Z",
    "org.label-schema.description":  "DC/OS Engine (dcos-engine) generates ARM (Azure Resource Manager) templates for Docker enabled clusters on Microsoft Azure with DC/OS orchestrator.",
    "org.label-schema.docker.cmd":  "docker run -v ${PWD}:/dcos-engine/workspace -it --rm microsoft/dcos-engine:0.1.0",
    "org.label-schema.license":  "MIT",
    "org.label-schema.name":  "DC/OS Engine (dcos-engine)",
    "org.label-schema.schema-version":  "1.0",
    "org.label-schema.url":  "https://github.com/Azure/dcos-engine",
    "org.label-schema.usage":  "https://github.com/Azure/dcos-engine/blob/master/docs/dcos-engine.md",
    "org.label-schema.vcs-url":  "https://github.com/Azure/dcos-engine.git",
    "org.label-schema.vendor":  "Microsoft",
    "org.label-schema.version":  "0.1.0"
}

Run Docker image

$ docker run -v ${PWD}:/dcos-engine/workspace -it --rm microsoft/dcos-engine:0.2.0