Skip to content

0.12.0

Compare
Choose a tag to compare
@docker-ee-ucp docker-ee-ucp released this 01 Jul 13:54
4492884

Changelog

  • Fix docker hub private repository authentication
  • UCP v3.3.1
  • Download or load the engine install script on the launchpad host and transfer to the target hosts
  • Host environment variable and engine proxy configuration
  • Hostname uniqueness and admin access validation
  • Disable telemetry via --disable-telemetry flag
  • Make docker engine configurable via cluster.yaml
  • Use WinRM for windows hosts as an alternative to SSH
  • Install iptables on Centos
  • Add support for cloud provider config files on selected providers

API v1beta2

The configuration version has gone from v1beta1 to v1beta2. The old syntax still works if you only use SSH and don't need to configure the docker engine

Before:

apiVersion: launchpad.mirantis.com/v1beta1
kind: UCP
metadata:
  name: ucpcluster
spec:
  hosts:
    - address: "127.0.0.1"
      sshPort: 9022
      sshKeyPath: "./id_rsa_launchpad"
      user: "root"
      role: "manager"

Now:

apiVersion: launchpad.mirantis.com/v1beta2 # <-- changed from v1beta1 to v1beta2
kind: UCP
metadata:
  name: ucpcluster
spec:
  ucp:
    cloud: # cloud provider configuration
      provider: openstack
      configData: |
        [Global]
        region=RegionOne
      configFile: ~/cloud-provider.conf # read from a local file
  engine: # docker engine configuration can be set here
    version: 19.03.8
    repoUrl: https://repos.mirantis.com
    channel: stable
    # to use modified / locally hosted install scripts. can be a path or a file:// url.
    installURLLinux: https://get.mirantis.com/
    installURLWindows: https://get.mirantis.com/install.ps1 
  hosts:
    - address: 10.0.0.1
      ssh:  # ssh configuration has gone under the "ssh" keyword
        port: 22
        keyPath: ~/.ssh/id_rsa
        user: root
      environment:
        # can be used to configure env variables on the host. Any _proxy variables will also
        # be written into docker systemd configuration on linux.
        http_proxy: http://proxy.example.com/
        HTTPS_PROXY: https://proxy.example.com/
    - address: 10.0.0.2
      winRM: # winrm support has been added. here are all the configuration options:
        user: Administrator
        password: abcd1234
        port: 5986
        useHTTPS: true
        insecure: false
        useNTLM: false
        caCertPath: ~/.certs/cacert.pem
        certPath: ~/.certs/cert.pem
        keyPath: ~/.certs/key.pem

Full documentation can be found here.