Code Monkey home page Code Monkey logo

ansible-role-containerd's Introduction

Containerd

An Ansible role to install Containerd from the Docker repository and configure it.

Requirements

  • Supported version of Ansible: 2.12 and highter.
  • Supported platforms:
    • Debian
      • 10
      • 11
      • 12
    • RHEL
      • 7
      • 8
      • 9
    • Ubuntu
      • 18.04
      • 20.04
      • 22.04

Role Variables

  • containerd_version The version of the Containerd package. By default, Containerd is installed with the latest available version.
  • containerd_repository_mirror_url Docker repository mirror (default: https://download.docker.com/linux).
  • containerd_repository_gpgkey_url URL to Docker repository GPG key file (see default values in vars/*.yml).
  • containerd_repository_release_channel Docker repository release channel. Available values are: stable (default), test.
  • containerd_root_path The root directory for containerd metadata (default: /var/lib/containerd).
  • containerd_state_path The state directory for containerd (default: /run/containerd).
  • containerd_config_path The config directory for containerd (default: /etc/containerd).
  • containerd_oom_score The out of memory score applied to the containerd daemon process (default: 0).
  • containerd_debug_level The debug log level. Supported levels are: trace, debug, info, warn, error, fatal, panic (default: info).
  • containerd_grpc_max_recv_message_size and containerd_grpc_max_send_message_size Maximum gRPC receive and send message size in bytes (default: 16777216).
  • containerd_metrics_address Metrics tcp address (default: '').
  • containerd_metrics_grpc_histogram Turn on or off gRPC histogram metrics (default: false).
  • containerd_max_concurrent_downloads Restricts the number of concurrent downloads for each image (default: 3).
  • containerd_max_container_log_line_size The maximum log line size in bytes for a container (default: 16384).
  • containerd_sandbox_image The image used by sandbox container (default: registry.k8s.io/pause:3.6).
  • containerd_default_runtime_name The default runtime name to use (default: runc).
  • containerd_snapshotter The default snapshotter used by containerd (default: overlayfs).
  • containerd_runtimes A dictionary that contains runtimes configuration settings.
    • name The name of runtime (default: runc).
    • type The runtime type to use in containerd (default: io.containerd.runc.v2).
    • engine
    • root
    • options The options specific to the runtime.
  • containerd_registries_mirrors A dictionary that contains registry hosts configuration. See official documentation (default: []).
    • namespace A registry host namespace.
    • server The default server for this registry host namespace (default: '').
    • mirrors This section defines the names of registries.
      • host The hostname of the registry. It must be a valid domain name or an IP address.
      • capabilities The setting that specifies what operations a host can perform (default: ["pull", "resolve"]).
      • skip_verify Boolean that defines if TLS verification should be skipped for the registry (default: false).
      • override_path is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification (default: false).
  • containerd_registries_auth A dictionary that contains a credential for a specific registry. See official documetation (default: []).
    • registry The hostname of the registry. It must be a valid domain name or an IP address.
    • username Username of the private registry basic auth.
    • password User password of the private registry basic auth.
    • auth Authentication token of the private registry basic auth.

Dependencies

None.

Example Playbook

Install Containerd:

---
- name: 'Install Containerd'
  hosts: all

  roles:
    - role: antmelekhin.containerd

License

MIT

Author Information

Melekhin Anton.

ansible-role-containerd's People

Contributors

antmelekhin avatar semantic-release-bot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.