cookbook 'crio', '= 1.3.4'
crio
(21) Versions
1.3.4
-
Follow0
Installs/Configures crio
cookbook 'crio', '= 1.3.4', :supermarket
knife supermarket install crio
knife supermarket download crio
crio chef cookbook
Chef cookbook for managing CRI-O and related resources.
Recommended reading:
- crio man page
- podman man page
- CRI-O blog
Recipes
crio::default
includes install, configure, manage recipes
crio::install
sets up yum repository and install CRI-O related packages
crio::configure
configures the CRI-O daemon via attributes
crio::manage
manages crio.service
Resources
crio_image
resource for managing CRI-O images
properties
property | type | example | description |
---|---|---|---|
image_name | String | redis |
resource name |
repo | String | docker.io/library/redis |
image repository path |
tag | String | latest |
image tag to pull |
global_opts | Array | ['--storage-driver=vfs'] |
podman global options |
pull_opts | Array | --authfile=/etc/containers/auth.json |
podman pull options |
actions
-
:pull
: default, pulls image -
:pull_if_missing
: pull image if not already present -
:nothing
: do nothing
crio_container
resource for managing CRI-O containers as systemd service units
properties
property | type | example | description |
---|---|---|---|
container_name | String | redis |
resource name |
image | String | redis |
image to run |
tag | String | 3.2 |
image tag to run |
global_opts | Array | ['--storage-driver=vfs'] |
podman global options |
run_opts | Array | ['--net=host'] |
podman run options |
pull_opts | Array | ['--authfile=/etc/containers/auth.json'] |
podman pull options |
command | String | /usr/bin/my-app |
command to run in container |
pull_image | [TrueClass, FalseClass] | true |
whether to pull image before container start |
actions
-
:create
: default, create systemd unit to run container as a systemd service unit -
:delete
: delete container service unit -
:enable
: enable container service unit -
:disable
: disable container service unit -
:start
: start service unit -
:stop
: stop service unit -
:restart
: restart service unit, start if stopped -
:try_restart
: restart service unit if running, does nothing if stopped -
:nothing
: do... nothing!
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
1.3.4 / 2019-02-13
- sleep before rm
1.3.3 / 2018-12-11
- rm before start
1.3.0 / 2018-04-12
- update to latest podman
- use conmon-pidfile instead of cgroup placement
- add alternative package repo
1.2.2 / 2018-03-29
- set image pull timeout
1.2.1 / 2018-03-22
- coerce opts to string
1.2.0 / 2018-03-22
- consolidate common resource methods
- pull_image defaults to false on container resource
1.1.1 / 2018-03-21
- make pull action on image resource idempotent
1.1.0 / 2018-03-20
- add global_opts property for image/container resources
- detach podman run, use forking service type
- fix up tests
1.0.1 / 2018-03-15
- add travis config
- add identity to image_name
- clarify test functionality
- update documentation
- add travis config
1.0.0 / 2018-03-15
- add pull_if_missing action to image resource
- allow opt out of image pull in container resource using pull_image property
0.7.0 / 2018-03-15
- fix default container resource action
0.6.0 / 2018-03-15
- set default image/container repo properties rather than required
0.5.0 / 2018-03-15
- update documentation
- fix cops
- simplify service unit for podman-0.3.3
Collaborator Number Metric
1.3.4 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.3.4 passed this metric
Foodcritic Metric
1.3.4 passed this metric
No Binaries Metric
1.3.4 passed this metric
Testing File Metric
1.3.4 passed this metric
Version Tag Metric
1.3.4 passed this metric
1.3.4 failed this metric
1.3.4 passed this metric
Foodcritic Metric
1.3.4 passed this metric
No Binaries Metric
1.3.4 passed this metric
Testing File Metric
1.3.4 passed this metric
Version Tag Metric
1.3.4 passed this metric
1.3.4 passed this metric
1.3.4 passed this metric
Testing File Metric
1.3.4 passed this metric
Version Tag Metric
1.3.4 passed this metric
1.3.4 passed this metric
1.3.4 passed this metric