Go to file
2024-02-19 10:55:25 +01:00
.woodpecker ci: migrate to woodpecker 2024-02-18 21:09:43 +01:00
defaults ci: migrate to woodpecker 2024-02-18 21:09:43 +01:00
handlers ci: migrate to woodpecker 2024-02-18 21:09:43 +01:00
meta ci: migrate to woodpecker 2024-02-18 21:09:43 +01:00
molecule cleanup [skip ci] 2024-02-19 10:55:25 +01:00
tasks ci: migrate to woodpecker 2024-02-18 21:09:43 +01:00
templates fix: enable tls-san-security server option 2023-09-09 20:43:47 +02:00
vars feat: set node role labels 2022-10-27 14:11:11 +02:00
.gitignore initial commit 2022-10-03 22:58:05 +02:00
.later.yml ci: migrate to woodpecker 2024-02-18 21:09:43 +01:00
.markdownlint.yml ci: migrate to woodpecker 2024-02-18 21:09:43 +01:00
.prettierignore ci: migrate to woodpecker 2024-02-18 21:09:43 +01:00
LICENSE initial commit 2022-10-03 22:58:05 +02:00
pyproject.toml ci: migrate to woodpecker 2024-02-18 21:09:43 +01:00
README.md [skip ci] automated docs update 2024-02-18 20:44:02 +00:00

xoxys.k3s

Build Status License: MIT

Setup K3s cluster nodes.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

k3s_init_log_enabled

Default value

k3s_init_log_enabled: false

k3s_iscsi_enabled

Default value

k3s_iscsi_enabled: false

k3s_node_ip

Default value

k3s_node_ip: '{{ ansible_default_ipv4.address }}'

k3s_node_labels

Default value

k3s_node_labels: {}

k3s_node_name

Default value

k3s_node_name: '{{ ansible_hostname }}'

k3s_packages

Default value

k3s_packages:
  - epel-release
  - python3-kubernetes
  - container-selinux
  - selinux-policy-base

k3s_packages_extra

Default value

k3s_packages_extra: []

k3s_protect_kernel_defaults

Default value

k3s_protect_kernel_defaults: false

k3s_reset

Default value

k3s_reset: false

k3s_selinux_enabled

Default value

k3s_selinux_enabled: false

k3s_server

Default value

k3s_server: true

k3s_server_admission_configuration

Default value

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

k3s_server_admission_plugins

Default value

k3s_server_admission_plugins:
  - NodeRestriction
  - EventRateLimit
  - ServiceAccount
  - NamespaceLifecycle

k3s_server_bind_ip

Default value

k3s_server_bind_ip: 0.0.0.0

k3s_server_cloud_controller_enabled

Default value

k3s_server_cloud_controller_enabled: true

k3s_server_cluster_cidr

Default value

k3s_server_cluster_cidr: 10.42.0.0/16

k3s_server_cluster_dns

Default value

k3s_server_cluster_dns: 10.43.0.10

k3s_server_cluster_domain

Default value

k3s_server_cluster_domain: cluster.local

k3s_server_components_disabled

Default value

k3s_server_components_disabled:
  - traefik

k3s_server_feature_gates

Default value

k3s_server_feature_gates: []

k3s_server_flannel_backend_enabled

Default value

k3s_server_flannel_backend_enabled: true

k3s_server_kube_proxy_enabled

Default value

k3s_server_kube_proxy_enabled: true

k3s_server_manifests_templates

Default value

k3s_server_manifests_templates: []

k3s_server_manifests_urls

Default value

k3s_server_manifests_urls: []

k3s_server_network_policy_enabled

Default value

k3s_server_network_policy_enabled: true

k3s_server_nodes

Default value

k3s_server_nodes:
  - '{{ ansible_hostname }}'

k3s_server_resource_creations

Default value

k3s_server_resource_creations: []

k3s_server_resource_patches

Default value

k3s_server_resource_patches: []

k3s_server_service_cidr

Default value

k3s_server_service_cidr: 10.43.0.0/16

k3s_server_service_node_port_range

Default value

k3s_server_service_node_port_range: 30000-32767

k3s_server_workload_enabled

Default value

k3s_server_workload_enabled: true

k3s_token

Default value

k3s_token: secure-token

k3s_version

Default value

k3s_version: 1.28.6+k3s2

Discovered Tags

skip_ansible_later

Dependencies

None.

License

MIT

Author

Robert Kaussow