-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathmake-defaults.mk
More file actions
83 lines (61 loc) · 2.63 KB
/
make-defaults.mk
File metadata and controls
83 lines (61 loc) · 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#########################
#### Config Defaults ####
#########################
# Path to the DC/OS installer
DCOS_GENERATE_CONFIG_PATH := $(CURDIR)/dcos_generate_config.sh
# URL to use when downloading the DC/OS installer (make installer)
DCOS_GENERATE_CONFIG_URL := https://downloads.dcos.io/dcos/stable/dcos_generate_config.sh
# Version of Docker to install on the DC/OS nodes
DOCKER_VERSION := 1.11.2
# Storage driver to use on the DC/OS nodes
DOCKER_STORAGEDRIVER := overlay
# Enable Mesos systemd support (requires systemd on Docker host)
# Disabling MESOS_SYSTEMD_ENABLE_SUPPORT means that executors will be namespaced under the Mesos agent.
# This causes executors (and tasks) to be killed when the Mesos agent is restarted.
# This makes zero downtime in-place DC/OS upgrades impossible.
MESOS_SYSTEMD_ENABLE_SUPPORT := true
# Number of DC/OS master nodes
MASTERS := 1
# Number of DC/OS agent nodes
AGENTS := 1
# Number of DC/OS public agent nodes
PUBLIC_AGENTS := 1
# Distro to use as the OS for the "node" containers
DISTRO := centos-7
# PORT to pass to the DC/OS installer
INSTALLER_PORT := 9000
# DCOS_INSTALLER_CONTAINER_NAME to pass to the DC/OS installer
INSTALLER_CTR := dcos-docker-installer
# Node container name prefixes
MASTER_CTR:= dcos-docker-master
AGENT_CTR := dcos-docker-agent
PUBLIC_AGENT_CTR := dcos-docker-pubagent
# Name of the Docker image to build and deploy
DOCKER_IMAGE := mesosphere/dcos-docker
# Test directory and command (make test)
DCOS_PYTEST_DIR := /opt/mesosphere/active/dcos-integration-test/
DCOS_PYTEST_CMD := pytest -vv
# Variable for the registry host
REGISTRY_HOST := registry.local
# Custom Docker volume arguments (passed to docker run)
# Syntax: -v [<host-path>:]<container-path>[:<mode>]
CUSTOM_VOLUMES :=
CUSTOM_MASTER_VOLUMES :=
CUSTOM_AGENT_VOLUMES :=
CUSTOM_PUBLIC_AGENT_VOLUMES :=
POSTFLIGHT_PROGRESS := --progress=dots
# Resolvers to use when configuring DC/OS (space delimited IPs).
RESOLVERS := 8.8.8.8
#########################################
#### Enterprise-only Config Defaults ####
#########################################
# SuperUser login username
SUPERUSER_USERNAME := admin
# The following is a hash of the password `admin`.
# A hash of a password can be obtained by running the following command:
# bash dcos_generate_config.sh --hash-password admin | tail -1
# The password hash here is escaped.
# See https://stackoverflow.com/a/7860705 for details on escaping Makefile variables.
SUPERUSER_PASSWORD_HASH := $$6$$rounds=656000$$5hVo9bKXfWRg1OCd$$3X2U4hI6RYvKFqm6hXtEeqnH2xE3XUJYiiQ/ykKlDXUie/0B6cuCZEfLe.dN/7jF5mx/vSkoLE5d1Zno20Z7Q0
# A valid license key (file contents, not path)
LICENSE_KEY :=