summaryrefslogtreecommitdiffstats
path: root/docs/pods.txt
blob: b84f42f50b510985358d94b306a0a5e19bf4e0dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Updating Daemon Set
===================
 - Not trivial. We need to 
    a) Re-recreate ds
        * Manualy change 'imagePullPolicty' to 'Always' if it is set to 'IfNotExisting'
    b) Destory all nodes and allow ds to recreate them

 - Sample: Updateing gluster
    oc -n glusterfs delete ds/glusterfs-storage
    oc -n glusterfs process glusterfs IMAGE_NAME=chsa/gluster-centos IMAGE_VERSION=312 > gluster.json
        *** Edit
    oc -n glusterfs create -f gluster.json
    oc -n glusterfs delete pods -l 'glusterfs=storage-pod'