Configuring Dedicated Node Pools Flashcards

1
Q

How do you add nodes in IPI

A

Modify the number of replicas specified in a Machine Set

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

Steps to add node in UPI

A

1) Update the compute node Ignition file with an updated TLS cert.

2) Install CoreOS from an ISO image or using a Preboot eXecution Environment (PXE) boot.

3) Add the new instance to the ingress load balancer.

4) Approve CSRs to allow the compute node to join the cluster.

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

List Ignition files generates by OPC install

A

bootstrap.ign
master.ign
worker.ign

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

Approve the certificate

A

1) oc get csr -A
2) oc adm certificate approve csr-lqcbd

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

Add compute nodes to a cluster, add the instance to external load balancer back-end pools

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

Add node with PXE install

A

1) Find pxelinux.cfg directory
2) In pxelinux.cfg, find NOOP file
3) In NOOP file, find location of the worker.ign file
4) Open worker.ign file and copy cert
5) Use the openssl to examine the x509 certificate
echo “LS0tL…g==” | base64 -d | openssl x509 -noout -text
6)

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

What does Machine Config Operator (MCO) do?

A

1) manages instance configuration changes and OS upgrades
2) uses MCP to track status as MCs are applied to nodes

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

how to set custom node configurations

A

by declaring MachineConfig and MachineConfigPool resources

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

MachineConfig (MC)

A

1) declare instance customizations using the Ignition config format.
2) labeled with a role such as worker or infra

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

MachineConfigPool (MCP)

A

use labels to match MCs to nodes

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

List Machine Configs for a specific role

A

oc get machineconfig –selector=machineconfiguration.openshift.io/role=worker

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

Default MCP

A

master and worker

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

MC CR

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

assign workloads to nodes that match the label

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

Get machinepool list

A

oc get machineconfigpool

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

view details about the infra Machine Config Pool

A

oc describe mcp/infra

17
Q

list the MachineConfigPool

A

oc get mcp