Community
configuration-avd
By netclab
Last changed 17 days ago
Source Code

Notice something off about this package? Help us keep the marketplace safe and trustworthy by reporting inappropriate content or behavior.

Report this package
Overview
The avd.netclab.dev API -- Fabric, FabricInput and Device -- served by function-avd.

The avd.netclab.dev API and its Compositions, served by function-avd:

  • Fabric -- one AVD fabric: the play, the inventory groups and ansible.cfg, and the ConfigMaps and FabricInputs it lists;
  • FabricInput -- the variables for one group, or for hosts;
  • Device -- one host's structured config, and where its eAPI is.

netadopt writes them from an existing AVD repository. Installing this also installs function-avd and provider-http.

First, before installing this Configuration, apply the CPU and memory function-avd runs with:

apiVersion: pkg.crossplane.io/v1beta1
kind: DeploymentRuntimeConfig
metadata:
  name: function-avd
spec:
  deploymentTemplate:
    spec:
      selector: {}
      template:
        spec:
          containers:
          - name: package-runtime
            resources:
              requests:
                cpu: "1"
                memory: 1Gi
              limits:
                cpu: "4"
                memory: 1Gi
---
apiVersion: pkg.crossplane.io/v1beta1
kind: ImageConfig
metadata:
  name: function-avd
spec:
  matchImages:
  - prefix: xpkg.upbound.io/netclab/function-avd
  runtime:
    configRef:
      name: function-avd

Last, after this Configuration is healthy, apply the provider config that every Device's push uses:

apiVersion: http.m.crossplane.io/v1alpha2
kind: ClusterProviderConfig
metadata:
  name: default
spec:
  credentials:
    source: None