Przeglądaj źródła

crio: change socket path to /var/run/crio/crio.sock

it is required for OpenShift 3.9

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Giuseppe Scrivano 7 lat temu
rodzic
commit
646dac7564

+ 1 - 1
roles/container_runtime/templates/crio.conf.j2

@@ -27,7 +27,7 @@ storage_option = [
 [crio.api]
 
 # listen is the path to the AF_LOCAL socket on which crio will listen.
-listen = "/var/run/crio.sock"
+listen = "/var/run/crio/crio.sock"
 
 # stream_address is the IP address on which the stream server will listen
 stream_address = ""

+ 2 - 2
roles/openshift_node/templates/node.yaml.v1.j2

@@ -20,9 +20,9 @@ kubeletArguments: {{ openshift.node.kubelet_args | default(None) | to_padded_yam
   container-runtime:
   - remote
   container-runtime-endpoint:
-  - /var/run/crio.sock
+  - /var/run/crio/crio.sock
   image-service-endpoint:
-  - /var/run/crio.sock
+  - /var/run/crio/crio.sock
   node-labels:
   - router=true
   - registry=true