Advanced Features in Anthias
Anthias is a platform that provides several advanced features to enhance the user experience and functionality. These features can be enabled or disabled based on the user’s requirements. This document explains the possible options and provides examples for each option.
Feature Gates
Anthias uses feature gates to enable or disable experimental features. Feature gates are a map of feature names to bools that enable or disable experimental features. Here are some examples of feature gates in Anthias:
AntreaProxy
: This feature gate enables or disables the AntreaProxy component in Anthias. It is a GA feature and is enabled by default. It must be enabled for Windows.EndpointSlice
: This feature gate enables or disables the EndpointSlice component in Anthias. It is a GA feature and is enabled by default.TopologyAwareHints
: This feature gate enables or disables the TopologyAwareHints component in Anthias. It is a Beta feature and is enabled by default.CleanupStaleUDPSvcConntrack
: This feature gate enables or disables the CleanupStaleUDPSvcConntrack component in Anthias. It is an Alpha feature and is disabled by default.
To enable or disable a feature gate, you can set the value of the feature name to true
or false
in the featureGates
map. For example, to disable the AntreaProxy
feature gate, you can set AntreaProxy
to false
in the featureGates
map.
Feature Stages
A feature can be in Alpha, Beta, or GA stage. An Alpha feature is an experimental feature that is not fully tested and may have bugs. A Beta feature is a stable feature that is fully tested but may have some limitations. A GA feature is a stable feature that is fully tested and ready for production use.
Here are some examples of feature stages in Anthias:
AntreaProxy
: This feature is a GA feature and is enabled by default.EndpointSlice
: This feature is a GA feature and is enabled by default.TopologyAwareHints
: This feature is a Beta feature and is enabled by default.CleanupStaleUDPSvcConntrack
: This feature is an Alpha feature and is disabled by default.
To check the stage of a feature, you can refer to the Anthias documentation.
Bootstrap Parameters
Anthias provides several bootstrap parameters that allow you to enable advanced features or alpha features. Here are some examples of bootstrap parameters in Anthias:
AuthenticateApplication
: This bootstrap parameter enables or disables the authentication for applications. It is enabled by default.ZstdResourceTracker
: This bootstrap parameter enables or disables the zstd compression for ResourceTracker. It is useful if you have large applications that need to dispatch lots of resources or large resources. It is enabled by default.ZstdApplicationRevision
: This bootstrap parameter enables or disables the zstd compression for ApplicationRevision. It is useful if you want to save storage space. It is enabled by default.ApplyOnce
: This bootstrap parameter enables or disables the apply-once feature for all applications. If enabled, no StateKeep will be run, and ResourceTracker will also disable the storage of all resource data, only metadata will be kept.
To enable or disable a bootstrap parameter, you can set the value of the parameter to true
or false
in the bootstrapParameters
map. For example, to disable the AuthenticateApplication
bootstrap parameter, you can set AuthenticateApplication
to false
in the bootstrapParameters
map.
Sources
- https://clusternet.io/docs/configuration/feature-gates
- https://antrea.io/docs/v1.14.0/docs/feature-gates
- https://antrea.io/docs/main/docs/feature-gates
- https://karmada.io/docs/reference/components/karmada-aggregated-apiserver
- https://karmada.io/docs/next/reference/components/karmada-aggregated-apiserver
- https://kubevela.io/docs/next/platform-engineers/system-operation/bootstrap-parameters
- https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates
- https://grafana.com/blog/2023/08/04/how-to-create-an-ideal-grafana-dashboard-for-science-and-engineering
- https://grafana.com/go/webinar/grafana-tempo-for-distributed-tracing-emea