Skip to content

Bootstrap#

Node Onboarding → IInits

The Init resource, also known as the Bootstrap resource in the UI, prepares nodes for first contact with EDA. It pushes configuration that EDA needs in order to reach the node, such as the management interface, the management router, the gRPC server, and the hostname.

In addition to creating configuration objects, it creates TargetNode resources for TLS onboarding, a companion ManagementRouter, and Artifact resources such as the ZTP bootstrap script for each node and the initial ZTP configuration that the script retrieves.

Modify initial configuration#

The Init resource can be modified with additional configuration options, such as extra static routes for the management network instance or a different MTU on the out-of-band management interface.

Override initial configuration#

Sometimes it is necessary to override the default configuration pushed by the Init resource. One example is the AuthenticationPolicy, which can override the default authentication order (the order in which remote authentication servers and local authentication are attempted).

In EDA, each configuration object has a priority value. You can read more about priorities in the configuration application.

The configuration objects pushed by the Init resource have their priority value set to -100, and are therefore overwritten by any higher-priority configuration pushed by other resources to the same configuration paths.

Dependencies#

The Init resource does not have any dependencies.

Referenced resources#

The Init resource does not reference any other EDA resources.

Examples#

apiVersion: bootstrap.eda.nokia.com/v1
kind: Init
metadata:
  labels:
    eda.nokia.com/bootstrap: 'true'
  name: init-base
  namespace: eda
spec:
  mgmt:
    staticRoutes:
      - prefix: 172.19.255.0/24
        nextHop: 172.16.100.100
    ipMTU: 1400
cat << 'EOF' | kubectl apply -f -
apiVersion: bootstrap.eda.nokia.com/v1
kind: Init
metadata:
  labels:
    eda.nokia.com/bootstrap: 'true'
  name: init-base
  namespace: eda
spec:
  mgmt:
    staticRoutes:
      - prefix: 172.19.255.0/24
        nextHop: 172.16.100.100
    ipMTU: 1400
EOF

Custom Resource Definition#

To browse the Custom Resource Definition go to crd.eda.dev.

Init

bootstrap.eda.nokia.com / v1

SPEC

InitSpec defines the desired state of Init

  • #
  • #
  • #

STATUS

InitStatus defines the observed state of Init