cloud-pak-ocp-4 icon indicating copy to clipboard operation
cloud-pak-ocp-4 copied to clipboard

override CRI-O script to update for 3 master configuration

Open ronanb3 opened this issue 4 years ago • 1 comments

Here is the configuration in this case : changer worker into master in labels

cat << EOF > /tmp/51-worker-cp4d-crio-conf.yaml
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
 labels:
   machineconfiguration.openshift.io/role: master
 name: 51-worker-cp4d-crio-conf
spec:
 config:
   ignition:
     version: 2.2.0
   storage:
     files:
     - contents:
         source: data:,${crio_conf}
       filesystem: root
       mode: 0644
       path: /etc/crio/crio.conf
EOF

ronanb3 avatar Nov 10 '20 14:11 ronanb3

The other override is working fine with

- match:
    - label: node-role.kubernetes.io/worker

Can you use the same kind of selector?

ronanb3 avatar Nov 10 '20 14:11 ronanb3