1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +01:00

20 Commits

Author SHA1 Message Date
Andrea Fasano
e988175bf8 add node-joiner --config-iso flag
To generate only the the config ISO instead of the normal one. Removed also unused flags from the params file
2024-11-20 05:58:27 -05:00
Andrea Fasano
170f4973b7 add-nodes command report generation 2024-11-07 10:04:03 -05:00
Richard Su
de0eb79599 AGENT-859: Support for PXE files in day 2
Adding --pxe flag to "node-joiner add-nodes" generates PXE boot
artificats instead of an ISO.
2024-11-06 14:46:33 -05:00
Zane Bitter
0d1b4dd9cf AGENT-904: Output config-image from node-joiner tool
In addition to the agent ISO, also output a config-iso for use with the
appliance flow.
2024-07-31 12:33:45 +12:00
Richard Su
91dfe6757c Use a global context for all nodes 2024-07-17 17:45:32 -04:00
Richard Su
f35fa62d5f AGENT-862: Extend monitor-add-nodes to support multiple nodes
Multiple IP addresses can now be specified for monitoring at the
same time.
2024-07-15 12:07:31 -04:00
Richard Su
1f2e11bedc AGENT-903: monitor-add-nodes should only show CSRs matching node
The first and second CSRs pending approval have the node name
(hostname) embedded in their specs. monitor-add-nodes should only
show CSRs pending approval for a specific node. Currently it shows
all CSRs pending approval for all nodes.

If the IP address of the node cannot be resolved to a hostname,
we will not be able to determine if there are any CSRs pending
approval for that node. The monitoring command will skip showing
CSRs pending approval. In this case, users can still approve the
CSRs, and the monitoring command will continue to check if the node
has joined the cluster and has become Ready.
2024-05-15 11:35:48 -04:00
Richard Su
440a9bc7c9 Check status interatively instead of using a map
Co-authored-by: Andrea Fasano <afasano@redhat.com>
2024-05-02 16:02:18 -04:00
Richard Su
63c5738cb9 Add assetDir and kubeconfigPath parameters to NewCluster
NewCluster needs both assetDir for install workflow and
kubeconfigPath for addnodes workflow.

Cluster.assetDir should only be initialized for the install
workflow.
2024-05-02 16:02:16 -04:00
Richard Su
51a57560cf Add assisted-service validations and events to monitor-add-nodes 2024-05-02 16:02:16 -04:00
Richard Su
c4b0465e78 AGENT-861: day2 monitor-add-nodes single node
Adds the ability to monitor a node being added during day2.

The command is:

node-joiner monitor-add-nodes --kubeconfig <kubeconfig-file-path>
<IP-address-of-node-to-monitor>

Both the kubeconfig file and IP address are required.

Multi node monitoring will be added in a future PR.
2024-05-02 16:02:15 -04:00
Andrea Fasano
364b2a68fc lint fix 2024-04-24 07:52:25 -04:00
Andrea Fasano
2fd74d7149 Apply suggestions from code review
Co-authored-by: Richard Su <rwsu@redhat.com>
2024-04-24 07:52:25 -04:00
Andrea Fasano
5a3e543a3b removed usage of pull-secret.
command now generates directly an exit code file.
random namespace generation.
config file name customizable.
2024-04-24 07:52:24 -04:00
Patrick Dillon
608614ab65 Plumb in top-level context
Plumbs the top-level context into the agent, create, & gather commands
and into the asset graph.
2024-04-11 15:49:15 -04:00
Andrea Fasano
9d12c3bc6b additional lint fixes 2024-03-01 13:02:39 -05:00
Andrea Fasano
db1306ba7a inject ClusterInfo into AgentPullSecret asset 2024-03-01 13:02:36 -05:00
Andrea Fasano
d56bab4119 lint fixes 2024-02-16 14:56:11 -05:00
Andrea Fasano
385220dd65 added ClusterInfo asset 2024-02-16 13:04:54 -05:00
Andrea Fasano
29111517b6 add node-joiner cli tool main
Introduces no-joiner tool main with (empty) commands entry points
2024-01-31 06:32:49 -05:00