7. Upgrade cluster Flashcards

1
Q

Como se instala el parche por cmd para el canal fast-4.10

A

oc patch clusterversion version –type=”merge” \
> –patch ‘{“spec”:{“channel”:”fast-4.10”}}’
clusterversion.config.openshift.io/version patched

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Que significa OTA

A

Over The Air

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Cuales son los channels de un update

A

Candidate
Fast
Stable
EUS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Como se obtiene la version del cluster

A

oc get clusterversion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Como se obtiene el canal de update del cluster

A

oc get clusterversion -o jsonpath=’{.items[0].spec.channel}{“\n”}’
stable-4.10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Como se ven las versiones a las que se puede dar upgrade

A

oc adm upgrade

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Como se actualiza a la ultima version disponible para el cluster

A

oc adm upgrade –to-latest=true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Como se actualiza a una version particular del cluster

A

oc adm upgrade –to=VERSION

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Como tengo que hacer aknowladge para instalacion del parche ack-4.8-kube-1.22-api-removals-in-4.9

A

oc patch configmap admin-acks -n openshift-config \
–type=merge \
–patch ‘{“data”:{“ack-4.8-kube-1.22-api-removals-in-4.9”:”true”}}’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Como puedo ver el estado del upgrade en CVO

A

[user@host ~]$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.10.3 True True 30m Working towards 4.10.4 …

[user@host ~]$ oc get clusteroperators
NAME VERSION AVAILABLE PROGRESSING DEGRADED
authentication 4.10.3 True False False
cloud-credential 4.10.4 False True False
openshift-apiserver 4.10.4 True False True
…output omitted…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Que es CVO

A

Cluster Version Operator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Como se puede ver la historia de los parches instalados

A

oc describe clusterversion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Como se actualza el cluster desde la consola web

A

The Administration → Cluster Settings page displays an Update Status of Available updates when a new update is available. From this page, click Update now

How well did you know this?
1
Not at all
2
3
4
5
Perfectly