Skip to content

Commit

Permalink
Merge pull request #38 from dougbtv/fixcrio
Browse files Browse the repository at this point in the history
[crio] updates for crio, trying to get to work with 1.7 but didn't work
  • Loading branch information
dougbtv authored Sep 1, 2017
2 parents f2de25d + d3ab8b0 commit b65477b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
# - crio
container_runtime: docker

# Which version of crio?
# (doesn't matter if docker is container runtime)
crio_version: v1.0.0-beta.0

# Pod net work types
# A value of "none" will create no networking and will not join minions to cluster.
# Valid values:
Expand Down
8 changes: 4 additions & 4 deletions roles/cri-o-install/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
- pkgconfig
- json-glib-devel
- skopeo-containers


- ostree
- ostree-devel

- name: Make directories
file:
Expand All @@ -57,7 +57,7 @@
git:
repo: https://github.com/kubernetes-incubator/cri-o
dest: /root/src/github.com/kubernetes-incubator/cri-o
version: kube-1.6.x
version: "{{ crio_version }}"

- name: clone CNI
git:
Expand Down Expand Up @@ -160,7 +160,7 @@
- name: systemd dropin for kubeadm
shell: |
sh -c 'echo "[Service]
Environment=\"KUBELET_EXTRA_ARGS=--enable-cri=true --container-runtime=remote --runtime-request-timeout=15m --image-service-endpoint /var/run/crio.sock --container-runtime-endpoint /var/run/crio.sock\"" > /etc/systemd/system/kubelet.service.d/0-crio.conf'
Environment=\"KUBELET_EXTRA_ARGS=--container-runtime=remote --runtime-request-timeout=15m --image-service-endpoint /var/run/crio.sock --container-runtime-endpoint /var/run/crio.sock\"" > /etc/systemd/system/kubelet.service.d/0-crio.conf'
- name: flush iptables
command: "iptables -F"
Expand Down

0 comments on commit b65477b

Please sign in to comment.