xoxys.k3s/defaults/main.yml

44 lines
969 B
YAML
Raw Normal View History

2022-10-03 20:58:05 +00:00
---
k3s_version: v1.25.0+k3s1
k3s_packages_extra:
- container-selinux
- selinux-policy-base
k3s_reset: False
k3s_token: "secure-token"
k3s_node_ip: "{{ ansible_default_ipv4.address }}"
k3s_init_log_enabled: False
k3s_config_dir: /etc/rancher/k3s
k3s_data_dir: /var/lib/rancher/k3s
k3s_log_dir: /var/log/rancher/k3s
k3s_server: True
k3s_server_bind_ip: "0.0.0.0"
k3s_server_nodes:
- "{{ ansible_hostname }}"
k3s_server_flannel_backend_enabled: True
k3s_server_network_policy_enabled: True
k3s_server_feature_gates: []
k3s_server_admission_plugins:
- NodeRestriction
- EventRateLimit
- ServiceAccount
- NamespaceLifecycle
k3s_server_admission_configuration:
- name: EventRateLimit
configuration:
kind: Configuration
apiVersion: eventratelimit.admission.k8s.io/v1alpha1
limits:
- type: Namespace
qps: 50
burst: 100
cacheSize: 2000
- type: User
qps: 10
burst: 50