VPPTool definition
The VPPTool Custom Resource (CR) is applied on the Core Cluster and describes templates for additional containers that are added to the FPP pods.
Caution
VPPTool is an immutable cluster-wide resource. To modify an existing object, you must delete it and re-create it. This restarts every FPP pod that uses the tool, which causes network downtime.
Configuration examples
This example defines a bird sidecar container template that runs the BIRD routing daemon. It mounts a shared /srv volume and exposes a reloadable bird.conf configuration file:
Configuration parameters
These are all parameters that you can use to configure the VPPTool CR:
- VPPToolKind
- fpp-manager.cennso.comGroup
- v1alpha1Version
- apiVersion:
- fpp-manager.cennso.com/v1alpha1
- kind:
- VPPTool
- listKind:
- VPPToolList
- plural:
- vpptools
- singular:
- vpptool
apiVersionstringrequiredConstant"fpp-manager.cennso.com/v1alpha1"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More information: Kubernetes API conventionsOpens in a new tab.kindstringrequiredConstant"VPPTool"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More information: Kubernetes API conventionsOpens in a new tab.metadataobjectrequiredStandard object metadata. More information: ObjectMetaOpens in a new tab.specobjectrequiredVPPToolSpec is a description of a VPPTool.x-kubernetes-validationscommandstring[]Command overrideconfigFilesobject[]Configuration files used by this toolenvobject[]Environment variables to pass to the toolimagestringContainer image nameimagePullPolicystringImage pull policy One of
Always,Never,IfNotPresent. The default value isAlwaysif :latest tag is specified, or IfNotPresent otherwise. More info: https://kubernetes.io/docs/concepts/containers/images#updating-imagesOpens in a new tablivenessProbeobjectLiveness probereadinessProbeobjectReadiness proberesourcesobjectResources to be used for pod limits and requestssecurityContextobjectSecurity context to usevolumeMountsobject[]Volume mounts to add to the tool containervolumesobject[]Volumes to add to the Amberd pod