Documentation
¶
Index ¶
Constants ¶
const ClusterNameData = "managed-cluster-name"
ClusterNameData - the field name in MCRegistrationSecret that contains this managed cluster's name
const DefaultClusterName = "local"
DefaultClusterName - the default cluster name
const DefaultScraperName = "verrazzano-system/vmi-system-prometheus-0"
DefaultScraperName is the default Prometheus deployment name used to scrape metrics. If a metrics trait does not specify a scraper, this is the scraper that will be used.
const ElasticsearchPasswordData = "password"
ElasticsearchPasswordData - the field name in MCRegistrationSecret that contains the admin cluster's Elasticsearch password
const ElasticsearchURLData = "es-url"
ElasticsearchURLData - the field name in MCRegistrationSecret that contains the admin cluster's Elasticsearch endpoint's URL
const ElasticsearchUsernameData = "username"
ElasticsearchUsernameData - the field name in MCRegistrationSecret that contains the admin cluster's Elasticsearch username
const FluentdClusterNameEnvVar = "CLUSTER_NAME"
ClusterNameEnvVar is the environment variable used to identify the managed cluster for fluentd
const FluentdElasticsearchPwdEnvVar = "ELASTICSEARCH_PASSWORD"
FluentdElasticsearchPwdEnvVar is the environment variable name used to identify the admin cluster's Elasticsearch password for fluentd
const FluentdElasticsearchURLEnvVar = "ELASTICSEARCH_URL"
FluentdElasticsearchURLEnvVar is the environment variable name used to identify the admin cluster's Elasticsearch URL for fluentd
const FluentdElasticsearchUserEnvVar = "ELASTICSEARCH_USER"
FluentdElasticsearchUserEnvVar is the environment variable name used to identify the admin cluster's Elasticsearch username for fluentd
const IstioSystemNamespace = "istio-system"
IstioSystemNamespace - the Istio system namespace
const LabelIngressTraitNsn = "verrazzano.io/ingress-trait"
LabelIngressTraitNsn - Namespaced name of the ingress trait
const LabelIstioInjection = "istio-injection"
LabelIstioInjection - constant for a Kubernetes label that is applied by Verrazzano
const LabelIstioInjectionDefault = "enabled"
LabelIstioInjectionDefault - default value for LabelIstioInjection
const LabelVerrazzanoManagedDefault = "true"
LabelVerrazzanoManagedDefault - default value for LabelVerrazzanoManaged
const LabelVerrazzanoNamespace = "verrazzano.io/namespace"
LabelVerrazzanoNamespace - constant for a Kubernetes label that is used by network policies
const LabelWorkloadType = "verrazzano.io/workload-type"
LabelWorkloadType - the type of workload, such as WebLogic
const LegacyDefaultMetricsTemplateName = "standard-k8s-metrics-template"
LegacyDefaultMetricsTemplateName is the name of the default metrics template used for standard Kubernetes workloads (legacy as of VZ 1.4)
const LegacyDefaultMetricsTemplateNamespace = VerrazzanoSystemNamespace
LegacyDefaultMetricsTemplateNamespace is the namespace containing the default metrics template used for standard Kubernetes workloads (legacy as of VZ 1.4)
const MCAgentSecret = "verrazzano-cluster-agent" //nolint:gosec //#gosec G101
MCAgentSecret contains information needed by the agent to access the admin cluster, such as the admin kubeconfig. This secret is used by the MC agent running on the managed cluster.
const MCLocalRegistrationSecret = "verrazzano-local-registration" //nolint:gosec //#gosec G101
MCLocalRegistrationSecret - the name of the local secret that contains the cluster registration information. Thos is created at Verrazzano install.
const MCRegistrationSecret = "verrazzano-cluster-registration" //nolint:gosec //#gosec G101
MCRegistrationSecret - the name of the secret that contains the cluster registration information
const MetricsWorkloadLabel = "app.verrazzano.io/workload"
MetricsWorkloadLabel - the label for identifying a pods scrape target
const OCILoggingIDAnnotation = "verrazzano.io/oci-log-id"
OCILoggingIDAnnotation Annotation name for a customized OCI log ID for all containers in a namespace
const StatusReasonSuccess = "success"
Webhook success status
const StatusUpdateBatchSize = 10
StatusUpdateBatchSize - the number of status update messages the multi cluster agent should process each time it wakes up
const StatusUpdateChannelBufferSize = 50
StatusUpdateChannelBufferSize - the number of status update messages that will be buffered by the agent channel before controllers trying to send more status updates will start blocking
const VerrazzanoLocalCABundleSecret = "verrazzano-local-ca-bundle" //nolint:gosec //#gosec G101
VerrazzanoLocalCABundleSecret is the name of the secret in the verrazzano-mc namespace on an admin cluster that contains the cluster's ca bundle
const VerrazzanoMultiClusterNamespace = "verrazzano-mc"
VerrazzanoMultiClusterNamespace is the multi-cluster namespace for Verrazzano
const VerrazzanoPasswordData = "password"
VerrazzanoPasswordData - the field name in Verrazzano secret that contains the password
const VerrazzanoSystemNamespace = "verrazzano-system"
VerrazzanoSystemNamespace is the system namespace for Verrazzano
const VerrazzanoUsernameData = "username"
VerrazzanoUsernameData - the field name in Verrazzano secret that contains the username
const VzConsoleIngress = "verrazzano-ingress"
VzConsoleIngress - the name of the ingress for Verrazzano console and api
const VzPrometheusIngress = "vmi-system-prometheus"
VzPrometehusIngress - the name of the ingress for system vmi prometheus
const WorkloadTypeCoherence = "coherence"
WorkloadTypeCoherence indicates the workload is Coherence
const WorkloadTypeGeneric = "generic"
WorkloadTypeGeneric indicates the workload is generic (one of VerrazzanoHelidonWorkload, ContainerizedWorkload or Deployment)
const WorkloadTypeWeblogic = "weblogic"
WorkloadTypeWeblogic indicates the workload is WebLogic
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.