WIP: Phase 2 #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "phase2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 2: Basic Agent & Node Lifecycle (Init, Join, PKI)
internal/pki/
:kat-agent init
.kat-agent join --leader-api <...> --advertise-address <...>
) sends CSR to Leader.POST /v1alpha1/nodes/{nodeName}/status
) from Agent to Leader (RFC 4.1.3). Leader updates node status in etcd.NotReady
in etcd if heartbeats cease) (RFC 4.1.4).kat-agent init
establishes a Leader with a CA.kat-agent join
allows a second agent to securely register with the Leader, obtain certificates, and store its info in etcd.NotReady
in etcd afternodeLossTimeoutSeconds
.internal/pki/ca.go
file. I'll help you clean it up. Here's the corrected version: 4f7c2d6a66View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.