summaryrefslogtreecommitdiffstats
path: root/inventory/byo
diff options
context:
space:
mode:
authorSteve Milner <smilner@redhat.com>2017-11-02 16:41:47 -0400
committerSteve Milner <smilner@redhat.com>2017-11-02 18:07:01 -0400
commitb88adec6c15157c2894ccfe2ac855e67fb48ca33 (patch)
treeaea5e7f13ce7cda84cf97de2ff55851d07172987 /inventory/byo
parent129e91a3654943228c9ddeb38d6119a706cedcc2 (diff)
downloadopenshift-b88adec6c15157c2894ccfe2ac855e67fb48ca33.tar.gz
openshift-b88adec6c15157c2894ccfe2ac855e67fb48ca33.tar.bz2
openshift-b88adec6c15157c2894ccfe2ac855e67fb48ca33.tar.xz
openshift-b88adec6c15157c2894ccfe2ac855e67fb48ca33.zip
openshift_hosted: Add docker-gc
Two new inventory variables have been created: - openshift_crio_enable_docker_gc: Enable docker_gc daemon set - openshift_crio_docker_gc_node_selector: Optional dictionary to use node selector When openshift_crio_enable_docker_gc and openshift_use_crio are both true then dockergc daemonset will be created along with adding a dockergc sa. Signed-off-by: Steve Milner <smilner@redhat.com>
Diffstat (limited to 'inventory/byo')
-rw-r--r--inventory/byo/hosts.example9
1 files changed, 9 insertions, 0 deletions
diff --git a/inventory/byo/hosts.example b/inventory/byo/hosts.example
index e49dd5fa2..5de43270e 100644
--- a/inventory/byo/hosts.example
+++ b/inventory/byo/hosts.example
@@ -123,6 +123,15 @@ openshift_release=v3.7
# use this option if you are sure you know what you are doing!
#openshift_docker_systemcontainer_image_override="registry.example.com/container-engine:latest"
#openshift_crio_systemcontainer_image_override="registry.example.com/cri-o:latest"
+# NOTE: The following crio docker-gc items are tech preview and likely shouldn't be used
+# unless you know what you are doing!!
+# The following two variables are used when opneshift_use_crio is True
+# and cleans up after builds that pass through docker.
+# Enable docker garbage collection when using cri-o
+#openshift_crio_enable_docker_gc=false
+# Node Selectors to run the garbage collection
+#openshift_crio_docker_gc_node_selector: {'runtime': 'cri-o'}
+
# Items added, as is, to end of /etc/sysconfig/docker OPTIONS
# Default value: "--log-driver=journald"
#openshift_docker_options="-l warn --ipv6=false"