2019-03-09 21:54:44 +01:00
|
|
|
---
|
|
|
|
|
2020-10-18 18:41:00 +02:00
|
|
|
##
|
|
|
|
# Global/Cluster Configuration
|
|
|
|
##
|
|
|
|
|
2020-10-23 17:40:35 +02:00
|
|
|
# k3s state, options: installed, started, stopped, restarted, uninstalled, validated
|
2019-12-20 20:03:27 +01:00
|
|
|
# (default: installed)
|
2020-10-17 19:26:30 +02:00
|
|
|
k3s_state: installed
|
2019-12-20 20:03:27 +01:00
|
|
|
|
2019-03-09 21:54:44 +01:00
|
|
|
# Use a specific k3s version, if set to "false" we will get the latest
|
2020-10-22 20:26:15 +02:00
|
|
|
# k3s_release_version: v1.19.3
|
2019-03-09 21:54:44 +01:00
|
|
|
k3s_release_version: false
|
|
|
|
|
2020-10-18 18:41:00 +02:00
|
|
|
# Loction of the k3s configuration file
|
|
|
|
k3s_config_file: /etc/rancher/k3s/config.yaml
|
|
|
|
|
2020-05-16 21:18:10 +02:00
|
|
|
# When multiple play_hosts are present, attempt to cluster the nodes.
|
|
|
|
# Using false will create multiple standalone nodes.
|
|
|
|
# (default: true)
|
|
|
|
k3s_build_cluster: true
|
|
|
|
|
2019-03-09 21:54:44 +01:00
|
|
|
# URL for GitHub project
|
|
|
|
k3s_github_url: https://github.com/rancher/k3s
|
|
|
|
|
2020-09-21 20:38:51 +02:00
|
|
|
# Skip all tasks that validate configuration
|
|
|
|
k3s_skip_validation: false
|
|
|
|
|
2019-03-09 21:54:44 +01:00
|
|
|
# Installation directory for k3s
|
|
|
|
k3s_install_dir: /usr/local/bin
|
|
|
|
|
2020-07-25 15:03:53 +02:00
|
|
|
# Install using hard links rather than symbolic links
|
|
|
|
k3s_install_hard_links: false
|
|
|
|
|
2020-01-11 20:03:16 +01:00
|
|
|
# A list of templates used for preconfigure the cluster.
|
2020-01-11 15:10:19 +01:00
|
|
|
k3s_server_manifests_templates: []
|
|
|
|
|
2019-12-21 18:11:30 +01:00
|
|
|
# Use experimental features in k3s?
|
|
|
|
k3s_use_experimental: false
|
|
|
|
|
2020-05-30 16:16:20 +02:00
|
|
|
# Allow for unsupported configurations in k3s?
|
|
|
|
k3s_use_unsupported_config: false
|
|
|
|
|
2020-12-12 15:27:59 +01:00
|
|
|
# Enable etcd embedded datastore
|
2020-10-23 17:31:21 +02:00
|
|
|
k3s_etcd_datastore: false
|
|
|
|
|
2019-10-26 23:49:48 +02:00
|
|
|
|
2020-10-18 18:41:00 +02:00
|
|
|
##
|
|
|
|
# Server Configuration
|
|
|
|
##
|
2019-10-26 23:49:48 +02:00
|
|
|
|
2020-11-29 21:10:42 +01:00
|
|
|
k3s_server: {}
|
2020-10-18 18:41:00 +02:00
|
|
|
# k3s_server:
|
|
|
|
# listen-port: 6443
|
2020-02-25 09:48:09 +01:00
|
|
|
|
2020-10-18 18:41:00 +02:00
|
|
|
##
|
|
|
|
# Agent Configuration
|
|
|
|
##
|
2020-03-28 13:58:58 +01:00
|
|
|
|
2020-11-29 21:10:42 +01:00
|
|
|
k3s_agent: {}
|
2020-10-18 18:41:00 +02:00
|
|
|
# k3s_agent:
|
|
|
|
# node-label:
|
|
|
|
# - "foo=bar"
|
|
|
|
# - "bish=bosh"
|
2020-04-22 16:42:45 +02:00
|
|
|
|
2020-10-18 18:41:00 +02:00
|
|
|
##
|
|
|
|
# Ansible Controller configuration
|
|
|
|
##
|
2020-09-21 20:38:51 +02:00
|
|
|
|
2020-10-18 18:41:00 +02:00
|
|
|
# Use become privileges for
|
2020-04-22 16:42:45 +02:00
|
|
|
k3s_become_for_all: false
|
|
|
|
k3s_become_for_systemd: null
|
|
|
|
k3s_become_for_install_dir: null
|
|
|
|
k3s_become_for_usr_local_bin: null
|
2020-12-05 22:56:28 +01:00
|
|
|
k3s_become_for_data_dir: null
|
2020-05-20 19:50:58 +02:00
|
|
|
k3s_become_for_package_install: null
|
|
|
|
k3s_become_for_kubectl: null
|
|
|
|
k3s_become_for_uninstall: null
|