features

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (

	// alpha: v0.8
	// beta: v1.0
	// Enables support for ClusterNetworkPolicy and AntreaNetworkPolicy CRDs.
	AntreaPolicy featuregate.Feature = "AntreaPolicy"

	// alpha: v0.13
	// beta: v1.11
	// Enable EndpointSlice support in AntreaProxy. If AntreaProxy is not enabled, this
	// flag will not take effect.
	EndpointSlice featuregate.Feature = "EndpointSlice"

	// alpha: v1.8
	// beta: v1.12
	// Enable TopologyAwareHints in AntreaProxy. If EndpointSlice is not enabled, this
	// flag will not take effect.
	TopologyAwareHints featuregate.Feature = "TopologyAwareHints"

	// alpha: v0.8
	// beta: v0.11
	// Enable antrea proxy which provides ServiceLB for in-cluster services in antrea agent.
	// It should be enabled on Windows, otherwise NetworkPolicy will not take effect on
	// Service traffic.
	AntreaProxy featuregate.Feature = "AntreaProxy"

	// alpha: v0.8
	// beta: v0.11
	// Allows to trace path from a generated packet.
	Traceflow featuregate.Feature = "Traceflow"

	// alpha: v0.9
	// Flow exporter exports IPFIX flow records of Antrea flows seen in conntrack module.
	FlowExporter featuregate.Feature = "FlowExporter"

	// alpha: v0.10
	// beta: v1.2
	// Enable collecting and exposing NetworkPolicy statistics.
	NetworkPolicyStats featuregate.Feature = "NetworkPolicyStats"

	// alpha: v0.13
	// beta: v1.4
	// Expose Pod ports through NodePort
	NodePortLocal featuregate.Feature = "NodePortLocal"

	// alpha: v1.0
	// beta: v1.6
	// Enable controlling SNAT IPs of Pod egress traffic.
	Egress featuregate.Feature = "Egress"

	// alpha: v1.4
	// beta: v1.12
	// Run Kubernetes NodeIPAM with Antrea.
	NodeIPAM featuregate.Feature = "NodeIPAM"

	// alpha: v1.4
	// Enable AntreaIPAM, which is required by bridging mode Pods and secondary network IPAM.
	AntreaIPAM featuregate.Feature = "AntreaIPAM"

	// alpha: v1.5
	// beta: v1.12
	// Enable Multicast.
	Multicast featuregate.Feature = "Multicast"

	// alpha: v1.7
	// Enable Multicluster.
	Multicluster featuregate.Feature = "Multicluster"

	// alpha: v1.5
	// Enable Secondary interface feature for Antrea.
	SecondaryNetwork featuregate.Feature = "SecondaryNetwork"

	// alpha: v1.5
	// Enable controlling Services with ExternalIP.
	ServiceExternalIP featuregate.Feature = "ServiceExternalIP"

	// alpha: v1.7
	// Enable mirroring or redirecting the traffic Pods send or receive.
	TrafficControl featuregate.Feature = "TrafficControl"

	// alpha: v1.7
	// Enable certificated-based authentication for IPsec.
	IPsecCertAuth featuregate.Feature = "IPsecCertAuth"

	// alpha: v1.8
	// Enable running agent on an unmanaged VM/BM.
	ExternalNode featuregate.Feature = "ExternalNode"

	// alpha: v1.10
	// Enable collecting support bundle files with SupportBundleCollection CRD.
	SupportBundleCollection featuregate.Feature = "SupportBundleCollection"

	// alpha: v1.10
	// Enable users to protect their applications by specifying how they are allowed to communicate with others, taking
	// into account application context.
	L7NetworkPolicy featuregate.Feature = "L7NetworkPolicy"
)

Variables

View Source
var (
	// DefaultMutableFeatureGate is a mutable version of DefaultFeatureGate.
	DefaultMutableFeatureGate featuregate.MutableFeatureGate = featuregate.NewFeatureGate()

	// DefaultFeatureGate is a shared global FeatureGate.
	// The feature gate should be modified via DefaultMutableFeatureGate.
	DefaultFeatureGate featuregate.FeatureGate = DefaultMutableFeatureGate

	// DefaultAntreaFeatureGates consists of all known Antrea-specific feature keys.
	// To add a new feature, define a key for it above and add it here. The features will be
	// available throughout Antrea binaries.
	DefaultAntreaFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
		AntreaPolicy:            {Default: true, PreRelease: featuregate.Beta},
		AntreaProxy:             {Default: true, PreRelease: featuregate.Beta},
		Egress:                  {Default: true, PreRelease: featuregate.Beta},
		EndpointSlice:           {Default: true, PreRelease: featuregate.Beta},
		TopologyAwareHints:      {Default: true, PreRelease: featuregate.Beta},
		Traceflow:               {Default: true, PreRelease: featuregate.Beta},
		AntreaIPAM:              {Default: false, PreRelease: featuregate.Alpha},
		FlowExporter:            {Default: false, PreRelease: featuregate.Alpha},
		NetworkPolicyStats:      {Default: true, PreRelease: featuregate.Beta},
		NodePortLocal:           {Default: true, PreRelease: featuregate.Beta},
		NodeIPAM:                {Default: true, PreRelease: featuregate.Beta},
		Multicast:               {Default: true, PreRelease: featuregate.Beta},
		Multicluster:            {Default: false, PreRelease: featuregate.Alpha},
		SecondaryNetwork:        {Default: false, PreRelease: featuregate.Alpha},
		ServiceExternalIP:       {Default: false, PreRelease: featuregate.Alpha},
		TrafficControl:          {Default: false, PreRelease: featuregate.Alpha},
		IPsecCertAuth:           {Default: false, PreRelease: featuregate.Alpha},
		ExternalNode:            {Default: false, PreRelease: featuregate.Alpha},
		SupportBundleCollection: {Default: false, PreRelease: featuregate.Alpha},
		L7NetworkPolicy:         {Default: false, PreRelease: featuregate.Alpha},
	}
)

Functions

func SupportedOnExternalNode added in v1.8.0

func SupportedOnExternalNode(feature featuregate.Feature) bool

SupportedOnExternalNode checks whether a feature is supported on an external Node.

func SupportedOnWindows

func SupportedOnWindows(feature featuregate.Feature) bool

SupportedOnWindows checks whether a feature is supported on a Windows Node.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL