Class AlertmanagerSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.AlertmanagerSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AlertmanagerSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AlertmanagerSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<AlertmanagerSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlertmanagerSpec()No args constructor for use in serializationAlertmanagerSpec(List<Argument> additionalArgs, List<String> additionalPeers, io.fabric8.kubernetes.api.model.Affinity affinity, AlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy, io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigNamespaceSelector, io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigSelector, AlertmanagerConfiguration alertmanagerConfiguration, Boolean automountServiceAccountToken, String baseImage, String clusterAdvertiseAddress, String clusterGossipInterval, String clusterLabel, String clusterPeerTimeout, String clusterPushpullInterval, ClusterTLSConfig clusterTLS, List<String> configMaps, String configSecret, List<io.fabric8.kubernetes.api.model.Container> containers, PodDNSConfig dnsConfig, String dnsPolicy, List<String> enableFeatures, Boolean enableServiceLinks, String externalUrl, Boolean forceEnableClusterMode, List<HostAlias> hostAliases, String image, String imagePullPolicy, List<io.fabric8.kubernetes.api.model.LocalObjectReference> imagePullSecrets, List<io.fabric8.kubernetes.api.model.Container> initContainers, AlertmanagerLimitsSpec limits, Boolean listenLocal, String logFormat, String logLevel, Long minReadySeconds, Map<String,String> nodeSelector, Boolean paused, io.fabric8.kubernetes.api.model.apps.StatefulSetPersistentVolumeClaimRetentionPolicy persistentVolumeClaimRetentionPolicy, EmbeddedObjectMetadata podMetadata, String portName, String priorityClassName, Integer replicas, io.fabric8.kubernetes.api.model.ResourceRequirements resources, String retention, String routePrefix, List<String> secrets, io.fabric8.kubernetes.api.model.PodSecurityContext securityContext, String serviceAccountName, String serviceName, String sha, StorageSpec storage, String tag, Long terminationGracePeriodSeconds, List<io.fabric8.kubernetes.api.model.Toleration> tolerations, List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint> topologySpreadConstraints, String version, List<io.fabric8.kubernetes.api.model.VolumeMount> volumeMounts, List<io.fabric8.kubernetes.api.model.Volume> volumes, AlertmanagerWebSpec web)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertmanagerSpecBuilderedit()List<Argument>getAdditionalArgs()AdditionalArgs allows setting additional arguments for the 'Alertmanager' container.List<String>getAdditionalPeers()AdditionalPeers allows injecting a set of additional Alertmanagers to peer with to form a highly available cluster.Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.AffinitygetAffinity()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.AlertmanagerConfigMatcherStrategygetAlertmanagerConfigMatcherStrategy()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.io.fabric8.kubernetes.api.model.LabelSelectorgetAlertmanagerConfigNamespaceSelector()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.io.fabric8.kubernetes.api.model.LabelSelectorgetAlertmanagerConfigSelector()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.AlertmanagerConfigurationgetAlertmanagerConfiguration()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.BooleangetAutomountServiceAccountToken()AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in the pod.StringgetBaseImage()Base image that is used to deploy pods, without tag.StringgetClusterAdvertiseAddress()ClusterAdvertiseAddress is the explicit address to advertise in cluster.StringgetClusterGossipInterval()Interval between gossip attempts.StringgetClusterLabel()Defines the identifier that uniquely identifies the Alertmanager cluster.StringgetClusterPeerTimeout()Timeout for cluster peering.StringgetClusterPushpullInterval()Interval between pushpull attempts.ClusterTLSConfiggetClusterTLS()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.List<String>getConfigMaps()ConfigMaps is a list of ConfigMaps in the same namespace as the Alertmanager object, which shall be mounted into the Alertmanager Pods.StringgetConfigSecret()ConfigSecret is the name of a Kubernetes Secret in the same namespace as the Alertmanager object, which contains the configuration for this Alertmanager instance.List<io.fabric8.kubernetes.api.model.Container>getContainers()Containers allows injecting additional containers.PodDNSConfiggetDnsConfig()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.StringgetDnsPolicy()Defines the DNS policy for the pods.List<String>getEnableFeatures()Enable access to Alertmanager feature flags.BooleangetEnableServiceLinks()Indicates whether information about services should be injected into pod's environment variablesStringgetExternalUrl()The external URL the Alertmanager instances will be available under.BooleangetForceEnableClusterMode()ForceEnableClusterMode ensures Alertmanager does not deactivate the cluster mode when running with a single replica.List<HostAlias>getHostAliases()Pods' hostAliases configurationStringgetImage()Image if specified has precedence over baseImage, tag and sha combinations.StringgetImagePullPolicy()Image pull policy for the 'alertmanager', 'init-config-reloader' and 'config-reloader' containers.List<io.fabric8.kubernetes.api.model.LocalObjectReference>getImagePullSecrets()An optional list of references to secrets in the same namespace to use for pulling prometheus and alertmanager images from registries see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/List<io.fabric8.kubernetes.api.model.Container>getInitContainers()InitContainers allows adding initContainers to the pod definition.AlertmanagerLimitsSpecgetLimits()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.BooleangetListenLocal()ListenLocal makes the Alertmanager server listen on loopback, so that it does not bind against the Pod IP.StringgetLogFormat()Log format for Alertmanager to be configured with.StringgetLogLevel()Log level for Alertmanager to be configured with.LonggetMinReadySeconds()Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available.Map<String,String>getNodeSelector()Define which Nodes the Pods are scheduled on.BooleangetPaused()If set to true all actions on the underlying managed objects are not goint to be performed, except for delete actions.io.fabric8.kubernetes.api.model.apps.StatefulSetPersistentVolumeClaimRetentionPolicygetPersistentVolumeClaimRetentionPolicy()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.EmbeddedObjectMetadatagetPodMetadata()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.StringgetPortName()Port name used for the pods and governing service.StringgetPriorityClassName()Priority class assigned to the PodsIntegergetReplicas()Size is the expected size of the alertmanager cluster.io.fabric8.kubernetes.api.model.ResourceRequirementsgetResources()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.StringgetRetention()Time duration Alertmanager shall retain data for.StringgetRoutePrefix()The route prefix Alertmanager registers HTTP handlers for.List<String>getSecrets()Secrets is a list of Secrets in the same namespace as the Alertmanager object, which shall be mounted into the Alertmanager Pods.io.fabric8.kubernetes.api.model.PodSecurityContextgetSecurityContext()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.StringgetServiceAccountName()ServiceAccountName is the name of the ServiceAccount to use to run the Prometheus Pods.StringgetServiceName()The name of the service name used by the underlying StatefulSet(s) as the governing service.StringgetSha()SHA of Alertmanager container image to be deployed.StorageSpecgetStorage()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.StringgetTag()Tag of Alertmanager container image to be deployed.LonggetTerminationGracePeriodSeconds()Optional duration in seconds the pod needs to terminate gracefully.List<io.fabric8.kubernetes.api.model.Toleration>getTolerations()If specified, the pod's tolerations.List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint>getTopologySpreadConstraints()If specified, the pod's topology spread constraints.StringgetVersion()Version the cluster should be on.List<io.fabric8.kubernetes.api.model.VolumeMount>getVolumeMounts()VolumeMounts allows configuration of additional VolumeMounts on the output StatefulSet definition.List<io.fabric8.kubernetes.api.model.Volume>getVolumes()Volumes allows configuration of additional volumes on the output StatefulSet definition.AlertmanagerWebSpecgetWeb()AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetAdditionalArgs(List<Argument> additionalArgs)AdditionalArgs allows setting additional arguments for the 'Alertmanager' container.voidsetAdditionalPeers(List<String> additionalPeers)AdditionalPeers allows injecting a set of additional Alertmanagers to peer with to form a highly available cluster.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAffinity(io.fabric8.kubernetes.api.model.Affinity affinity)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetAlertmanagerConfigMatcherStrategy(AlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetAlertmanagerConfigNamespaceSelector(io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigNamespaceSelector)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetAlertmanagerConfigSelector(io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigSelector)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetAlertmanagerConfiguration(AlertmanagerConfiguration alertmanagerConfiguration)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetAutomountServiceAccountToken(Boolean automountServiceAccountToken)AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in the pod.voidsetBaseImage(String baseImage)Base image that is used to deploy pods, without tag.voidsetClusterAdvertiseAddress(String clusterAdvertiseAddress)ClusterAdvertiseAddress is the explicit address to advertise in cluster.voidsetClusterGossipInterval(String clusterGossipInterval)Interval between gossip attempts.voidsetClusterLabel(String clusterLabel)Defines the identifier that uniquely identifies the Alertmanager cluster.voidsetClusterPeerTimeout(String clusterPeerTimeout)Timeout for cluster peering.voidsetClusterPushpullInterval(String clusterPushpullInterval)Interval between pushpull attempts.voidsetClusterTLS(ClusterTLSConfig clusterTLS)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetConfigMaps(List<String> configMaps)ConfigMaps is a list of ConfigMaps in the same namespace as the Alertmanager object, which shall be mounted into the Alertmanager Pods.voidsetConfigSecret(String configSecret)ConfigSecret is the name of a Kubernetes Secret in the same namespace as the Alertmanager object, which contains the configuration for this Alertmanager instance.voidsetContainers(List<io.fabric8.kubernetes.api.model.Container> containers)Containers allows injecting additional containers.voidsetDnsConfig(PodDNSConfig dnsConfig)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetDnsPolicy(String dnsPolicy)Defines the DNS policy for the pods.voidsetEnableFeatures(List<String> enableFeatures)Enable access to Alertmanager feature flags.voidsetEnableServiceLinks(Boolean enableServiceLinks)Indicates whether information about services should be injected into pod's environment variablesvoidsetExternalUrl(String externalUrl)The external URL the Alertmanager instances will be available under.voidsetForceEnableClusterMode(Boolean forceEnableClusterMode)ForceEnableClusterMode ensures Alertmanager does not deactivate the cluster mode when running with a single replica.voidsetHostAliases(List<HostAlias> hostAliases)Pods' hostAliases configurationvoidsetImage(String image)Image if specified has precedence over baseImage, tag and sha combinations.voidsetImagePullPolicy(String imagePullPolicy)Image pull policy for the 'alertmanager', 'init-config-reloader' and 'config-reloader' containers.voidsetImagePullSecrets(List<io.fabric8.kubernetes.api.model.LocalObjectReference> imagePullSecrets)An optional list of references to secrets in the same namespace to use for pulling prometheus and alertmanager images from registries see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/voidsetInitContainers(List<io.fabric8.kubernetes.api.model.Container> initContainers)InitContainers allows adding initContainers to the pod definition.voidsetLimits(AlertmanagerLimitsSpec limits)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetListenLocal(Boolean listenLocal)ListenLocal makes the Alertmanager server listen on loopback, so that it does not bind against the Pod IP.voidsetLogFormat(String logFormat)Log format for Alertmanager to be configured with.voidsetLogLevel(String logLevel)Log level for Alertmanager to be configured with.voidsetMinReadySeconds(Long minReadySeconds)Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available.voidsetNodeSelector(Map<String,String> nodeSelector)Define which Nodes the Pods are scheduled on.voidsetPaused(Boolean paused)If set to true all actions on the underlying managed objects are not goint to be performed, except for delete actions.voidsetPersistentVolumeClaimRetentionPolicy(io.fabric8.kubernetes.api.model.apps.StatefulSetPersistentVolumeClaimRetentionPolicy persistentVolumeClaimRetentionPolicy)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetPodMetadata(EmbeddedObjectMetadata podMetadata)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetPortName(String portName)Port name used for the pods and governing service.voidsetPriorityClassName(String priorityClassName)Priority class assigned to the PodsvoidsetReplicas(Integer replicas)Size is the expected size of the alertmanager cluster.voidsetResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetRetention(String retention)Time duration Alertmanager shall retain data for.voidsetRoutePrefix(String routePrefix)The route prefix Alertmanager registers HTTP handlers for.voidsetSecrets(List<String> secrets)Secrets is a list of Secrets in the same namespace as the Alertmanager object, which shall be mounted into the Alertmanager Pods.voidsetSecurityContext(io.fabric8.kubernetes.api.model.PodSecurityContext securityContext)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetServiceAccountName(String serviceAccountName)ServiceAccountName is the name of the ServiceAccount to use to run the Prometheus Pods.voidsetServiceName(String serviceName)The name of the service name used by the underlying StatefulSet(s) as the governing service.voidsetSha(String sha)SHA of Alertmanager container image to be deployed.voidsetStorage(StorageSpec storage)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.voidsetTag(String tag)Tag of Alertmanager container image to be deployed.voidsetTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds)Optional duration in seconds the pod needs to terminate gracefully.voidsetTolerations(List<io.fabric8.kubernetes.api.model.Toleration> tolerations)If specified, the pod's tolerations.voidsetTopologySpreadConstraints(List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint> topologySpreadConstraints)If specified, the pod's topology spread constraints.voidsetVersion(String version)Version the cluster should be on.voidsetVolumeMounts(List<io.fabric8.kubernetes.api.model.VolumeMount> volumeMounts)VolumeMounts allows configuration of additional VolumeMounts on the output StatefulSet definition.voidsetVolumes(List<io.fabric8.kubernetes.api.model.Volume> volumes)Volumes allows configuration of additional volumes on the output StatefulSet definition.voidsetWeb(AlertmanagerWebSpec web)AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.AlertmanagerSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
AlertmanagerSpec
public AlertmanagerSpec()
No args constructor for use in serialization
-
AlertmanagerSpec
public AlertmanagerSpec(List<Argument> additionalArgs, List<String> additionalPeers, io.fabric8.kubernetes.api.model.Affinity affinity, AlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy, io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigNamespaceSelector, io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigSelector, AlertmanagerConfiguration alertmanagerConfiguration, Boolean automountServiceAccountToken, String baseImage, String clusterAdvertiseAddress, String clusterGossipInterval, String clusterLabel, String clusterPeerTimeout, String clusterPushpullInterval, ClusterTLSConfig clusterTLS, List<String> configMaps, String configSecret, List<io.fabric8.kubernetes.api.model.Container> containers, PodDNSConfig dnsConfig, String dnsPolicy, List<String> enableFeatures, Boolean enableServiceLinks, String externalUrl, Boolean forceEnableClusterMode, List<HostAlias> hostAliases, String image, String imagePullPolicy, List<io.fabric8.kubernetes.api.model.LocalObjectReference> imagePullSecrets, List<io.fabric8.kubernetes.api.model.Container> initContainers, AlertmanagerLimitsSpec limits, Boolean listenLocal, String logFormat, String logLevel, Long minReadySeconds, Map<String,String> nodeSelector, Boolean paused, io.fabric8.kubernetes.api.model.apps.StatefulSetPersistentVolumeClaimRetentionPolicy persistentVolumeClaimRetentionPolicy, EmbeddedObjectMetadata podMetadata, String portName, String priorityClassName, Integer replicas, io.fabric8.kubernetes.api.model.ResourceRequirements resources, String retention, String routePrefix, List<String> secrets, io.fabric8.kubernetes.api.model.PodSecurityContext securityContext, String serviceAccountName, String serviceName, String sha, StorageSpec storage, String tag, Long terminationGracePeriodSeconds, List<io.fabric8.kubernetes.api.model.Toleration> tolerations, List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint> topologySpreadConstraints, String version, List<io.fabric8.kubernetes.api.model.VolumeMount> volumeMounts, List<io.fabric8.kubernetes.api.model.Volume> volumes, AlertmanagerWebSpec web)
-
-
Method Detail
-
getAdditionalArgs
public List<Argument> getAdditionalArgs()
AdditionalArgs allows setting additional arguments for the 'Alertmanager' container. It is intended for e.g. activating hidden flags which are not supported by the dedicated configuration options yet. The arguments are passed as-is to the Alertmanager container which may cause issues if they are invalid or not supported by the given Alertmanager version.
-
setAdditionalArgs
public void setAdditionalArgs(List<Argument> additionalArgs)
AdditionalArgs allows setting additional arguments for the 'Alertmanager' container. It is intended for e.g. activating hidden flags which are not supported by the dedicated configuration options yet. The arguments are passed as-is to the Alertmanager container which may cause issues if they are invalid or not supported by the given Alertmanager version.
-
getAdditionalPeers
public List<String> getAdditionalPeers()
AdditionalPeers allows injecting a set of additional Alertmanagers to peer with to form a highly available cluster.
-
setAdditionalPeers
public void setAdditionalPeers(List<String> additionalPeers)
AdditionalPeers allows injecting a set of additional Alertmanagers to peer with to form a highly available cluster.
-
getAffinity
public io.fabric8.kubernetes.api.model.Affinity getAffinity()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setAffinity
public void setAffinity(io.fabric8.kubernetes.api.model.Affinity affinity)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
getAlertmanagerConfigMatcherStrategy
public AlertmanagerConfigMatcherStrategy getAlertmanagerConfigMatcherStrategy()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setAlertmanagerConfigMatcherStrategy
public void setAlertmanagerConfigMatcherStrategy(AlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
getAlertmanagerConfigNamespaceSelector
public io.fabric8.kubernetes.api.model.LabelSelector getAlertmanagerConfigNamespaceSelector()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setAlertmanagerConfigNamespaceSelector
public void setAlertmanagerConfigNamespaceSelector(io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigNamespaceSelector)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
getAlertmanagerConfigSelector
public io.fabric8.kubernetes.api.model.LabelSelector getAlertmanagerConfigSelector()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setAlertmanagerConfigSelector
public void setAlertmanagerConfigSelector(io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigSelector)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
getAlertmanagerConfiguration
public AlertmanagerConfiguration getAlertmanagerConfiguration()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setAlertmanagerConfiguration
public void setAlertmanagerConfiguration(AlertmanagerConfiguration alertmanagerConfiguration)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
getAutomountServiceAccountToken
public Boolean getAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in the pod. If the service account has `automountServiceAccountToken: true`, set the field to `false` to opt out of automounting API credentials.
-
setAutomountServiceAccountToken
public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken)
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in the pod. If the service account has `automountServiceAccountToken: true`, set the field to `false` to opt out of automounting API credentials.
-
getBaseImage
public String getBaseImage()
Base image that is used to deploy pods, without tag. Deprecated: use 'image' instead.
-
setBaseImage
public void setBaseImage(String baseImage)
Base image that is used to deploy pods, without tag. Deprecated: use 'image' instead.
-
getClusterAdvertiseAddress
public String getClusterAdvertiseAddress()
ClusterAdvertiseAddress is the explicit address to advertise in cluster. Needs to be provided for non RFC1918 [1] (public) addresses. [1] RFC1918: https://tools.ietf.org/html/rfc1918
-
setClusterAdvertiseAddress
public void setClusterAdvertiseAddress(String clusterAdvertiseAddress)
ClusterAdvertiseAddress is the explicit address to advertise in cluster. Needs to be provided for non RFC1918 [1] (public) addresses. [1] RFC1918: https://tools.ietf.org/html/rfc1918
-
getClusterGossipInterval
public String getClusterGossipInterval()
Interval between gossip attempts.
-
setClusterGossipInterval
public void setClusterGossipInterval(String clusterGossipInterval)
Interval between gossip attempts.
-
getClusterLabel
public String getClusterLabel()
Defines the identifier that uniquely identifies the Alertmanager cluster. You should only set it when the Alertmanager cluster includes Alertmanager instances which are external to this Alertmanager resource. In practice, the addresses of the external instances are provided via the `.spec.additionalPeers` field.
-
setClusterLabel
public void setClusterLabel(String clusterLabel)
Defines the identifier that uniquely identifies the Alertmanager cluster. You should only set it when the Alertmanager cluster includes Alertmanager instances which are external to this Alertmanager resource. In practice, the addresses of the external instances are provided via the `.spec.additionalPeers` field.
-
getClusterPeerTimeout
public String getClusterPeerTimeout()
Timeout for cluster peering.
-
setClusterPeerTimeout
public void setClusterPeerTimeout(String clusterPeerTimeout)
Timeout for cluster peering.
-
getClusterPushpullInterval
public String getClusterPushpullInterval()
Interval between pushpull attempts.
-
setClusterPushpullInterval
public void setClusterPushpullInterval(String clusterPushpullInterval)
Interval between pushpull attempts.
-
getClusterTLS
public ClusterTLSConfig getClusterTLS()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setClusterTLS
public void setClusterTLS(ClusterTLSConfig clusterTLS)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
getConfigMaps
public List<String> getConfigMaps()
ConfigMaps is a list of ConfigMaps in the same namespace as the Alertmanager object, which shall be mounted into the Alertmanager Pods. Each ConfigMap is added to the StatefulSet definition as a volume named `configmap-<configmap-name>`. The ConfigMaps are mounted into `/etc/alertmanager/configmaps/<configmap-name>` in the 'alertmanager' container.
-
setConfigMaps
public void setConfigMaps(List<String> configMaps)
ConfigMaps is a list of ConfigMaps in the same namespace as the Alertmanager object, which shall be mounted into the Alertmanager Pods. Each ConfigMap is added to the StatefulSet definition as a volume named `configmap-<configmap-name>`. The ConfigMaps are mounted into `/etc/alertmanager/configmaps/<configmap-name>` in the 'alertmanager' container.
-
getConfigSecret
public String getConfigSecret()
ConfigSecret is the name of a Kubernetes Secret in the same namespace as the Alertmanager object, which contains the configuration for this Alertmanager instance. If empty, it defaults to `alertmanager-<alertmanager-name>`.The Alertmanager configuration should be available under the `alertmanager.yaml` key. Additional keys from the original secret are copied to the generated secret and mounted into the `/etc/alertmanager/config` directory in the `alertmanager` container.
If either the secret or the `alertmanager.yaml` key is missing, the operator provisions a minimal Alertmanager configuration with one empty receiver (effectively dropping alert notifications).
-
setConfigSecret
public void setConfigSecret(String configSecret)
ConfigSecret is the name of a Kubernetes Secret in the same namespace as the Alertmanager object, which contains the configuration for this Alertmanager instance. If empty, it defaults to `alertmanager-<alertmanager-name>`.The Alertmanager configuration should be available under the `alertmanager.yaml` key. Additional keys from the original secret are copied to the generated secret and mounted into the `/etc/alertmanager/config` directory in the `alertmanager` container.
If either the secret or the `alertmanager.yaml` key is missing, the operator provisions a minimal Alertmanager configuration with one empty receiver (effectively dropping alert notifications).
-
getContainers
public List<io.fabric8.kubernetes.api.model.Container> getContainers()
Containers allows injecting additional containers. This is meant to allow adding an authentication proxy to an Alertmanager pod. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. The current container names are: `alertmanager` and `config-reloader`. Overriding containers is entirely outside the scope of what the maintainers will support and by doing so, you accept that this behaviour may break at any time without notice.
-
setContainers
public void setContainers(List<io.fabric8.kubernetes.api.model.Container> containers)
Containers allows injecting additional containers. This is meant to allow adding an authentication proxy to an Alertmanager pod. Containers described here modify an operator generated container if they share the same name and modifications are done via a strategic merge patch. The current container names are: `alertmanager` and `config-reloader`. Overriding containers is entirely outside the scope of what the maintainers will support and by doing so, you accept that this behaviour may break at any time without notice.
-
getDnsConfig
public PodDNSConfig getDnsConfig()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setDnsConfig
public void setDnsConfig(PodDNSConfig dnsConfig)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
getDnsPolicy
public String getDnsPolicy()
Defines the DNS policy for the pods.
-
setDnsPolicy
public void setDnsPolicy(String dnsPolicy)
Defines the DNS policy for the pods.
-
getEnableFeatures
public List<String> getEnableFeatures()
Enable access to Alertmanager feature flags. By default, no features are enabled. Enabling features which are disabled by default is entirely outside the scope of what the maintainers will support and by doing so, you accept that this behaviour may break at any time without notice.It requires Alertmanager >= 0.27.0.
-
setEnableFeatures
public void setEnableFeatures(List<String> enableFeatures)
Enable access to Alertmanager feature flags. By default, no features are enabled. Enabling features which are disabled by default is entirely outside the scope of what the maintainers will support and by doing so, you accept that this behaviour may break at any time without notice.It requires Alertmanager >= 0.27.0.
-
getEnableServiceLinks
public Boolean getEnableServiceLinks()
Indicates whether information about services should be injected into pod's environment variables
-
setEnableServiceLinks
public void setEnableServiceLinks(Boolean enableServiceLinks)
Indicates whether information about services should be injected into pod's environment variables
-
getExternalUrl
public String getExternalUrl()
The external URL the Alertmanager instances will be available under. This is necessary to generate correct URLs. This is necessary if Alertmanager is not served from root of a DNS name.
-
setExternalUrl
public void setExternalUrl(String externalUrl)
The external URL the Alertmanager instances will be available under. This is necessary to generate correct URLs. This is necessary if Alertmanager is not served from root of a DNS name.
-
getForceEnableClusterMode
public Boolean getForceEnableClusterMode()
ForceEnableClusterMode ensures Alertmanager does not deactivate the cluster mode when running with a single replica. Use case is e.g. spanning an Alertmanager cluster across Kubernetes clusters with a single replica in each.
-
setForceEnableClusterMode
public void setForceEnableClusterMode(Boolean forceEnableClusterMode)
ForceEnableClusterMode ensures Alertmanager does not deactivate the cluster mode when running with a single replica. Use case is e.g. spanning an Alertmanager cluster across Kubernetes clusters with a single replica in each.
-
setHostAliases
public void setHostAliases(List<HostAlias> hostAliases)
Pods' hostAliases configuration
-
getImage
public String getImage()
Image if specified has precedence over baseImage, tag and sha combinations. Specifying the version is still necessary to ensure the Prometheus Operator knows what version of Alertmanager is being configured.
-
setImage
public void setImage(String image)
Image if specified has precedence over baseImage, tag and sha combinations. Specifying the version is still necessary to ensure the Prometheus Operator knows what version of Alertmanager is being configured.
-
getImagePullPolicy
public String getImagePullPolicy()
Image pull policy for the 'alertmanager', 'init-config-reloader' and 'config-reloader' containers. See https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy for more details.Possible enum values:
- `"Always"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.
- `"IfNotPresent"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.
- `"Never"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present
-
setImagePullPolicy
public void setImagePullPolicy(String imagePullPolicy)
Image pull policy for the 'alertmanager', 'init-config-reloader' and 'config-reloader' containers. See https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy for more details.Possible enum values:
- `"Always"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.
- `"IfNotPresent"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.
- `"Never"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present
-
getImagePullSecrets
public List<io.fabric8.kubernetes.api.model.LocalObjectReference> getImagePullSecrets()
An optional list of references to secrets in the same namespace to use for pulling prometheus and alertmanager images from registries see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
-
setImagePullSecrets
public void setImagePullSecrets(List<io.fabric8.kubernetes.api.model.LocalObjectReference> imagePullSecrets)
An optional list of references to secrets in the same namespace to use for pulling prometheus and alertmanager images from registries see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
-
getInitContainers
public List<io.fabric8.kubernetes.api.model.Container> getInitContainers()
InitContainers allows adding initContainers to the pod definition. Those can be used to e.g. fetch secrets for injection into the Alertmanager configuration from external sources. Any errors during the execution of an initContainer will lead to a restart of the Pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ InitContainers described here modify an operator generated init containers if they share the same name and modifications are done via a strategic merge patch. The current init container name is: `init-config-reloader`. Overriding init containers is entirely outside the scope of what the maintainers will support and by doing so, you accept that this behaviour may break at any time without notice.
-
setInitContainers
public void setInitContainers(List<io.fabric8.kubernetes.api.model.Container> initContainers)
InitContainers allows adding initContainers to the pod definition. Those can be used to e.g. fetch secrets for injection into the Alertmanager configuration from external sources. Any errors during the execution of an initContainer will lead to a restart of the Pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ InitContainers described here modify an operator generated init containers if they share the same name and modifications are done via a strategic merge patch. The current init container name is: `init-config-reloader`. Overriding init containers is entirely outside the scope of what the maintainers will support and by doing so, you accept that this behaviour may break at any time without notice.
-
getLimits
public AlertmanagerLimitsSpec getLimits()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setLimits
public void setLimits(AlertmanagerLimitsSpec limits)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
getListenLocal
public Boolean getListenLocal()
ListenLocal makes the Alertmanager server listen on loopback, so that it does not bind against the Pod IP. Note this is only for the Alertmanager UI, not the gossip communication.
-
setListenLocal
public void setListenLocal(Boolean listenLocal)
ListenLocal makes the Alertmanager server listen on loopback, so that it does not bind against the Pod IP. Note this is only for the Alertmanager UI, not the gossip communication.
-
getLogFormat
public String getLogFormat()
Log format for Alertmanager to be configured with.
-
setLogFormat
public void setLogFormat(String logFormat)
Log format for Alertmanager to be configured with.
-
getLogLevel
public String getLogLevel()
Log level for Alertmanager to be configured with.
-
setLogLevel
public void setLogLevel(String logLevel)
Log level for Alertmanager to be configured with.
-
getMinReadySeconds
public Long getMinReadySeconds()
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) This is an alpha field from kubernetes 1.22 until 1.24 which requires enabling the StatefulSetMinReadySeconds feature gate.
-
setMinReadySeconds
public void setMinReadySeconds(Long minReadySeconds)
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) This is an alpha field from kubernetes 1.22 until 1.24 which requires enabling the StatefulSetMinReadySeconds feature gate.
-
getNodeSelector
public Map<String,String> getNodeSelector()
Define which Nodes the Pods are scheduled on.
-
setNodeSelector
public void setNodeSelector(Map<String,String> nodeSelector)
Define which Nodes the Pods are scheduled on.
-
getPaused
public Boolean getPaused()
If set to true all actions on the underlying managed objects are not goint to be performed, except for delete actions.
-
setPaused
public void setPaused(Boolean paused)
If set to true all actions on the underlying managed objects are not goint to be performed, except for delete actions.
-
getPersistentVolumeClaimRetentionPolicy
public io.fabric8.kubernetes.api.model.apps.StatefulSetPersistentVolumeClaimRetentionPolicy getPersistentVolumeClaimRetentionPolicy()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setPersistentVolumeClaimRetentionPolicy
public void setPersistentVolumeClaimRetentionPolicy(io.fabric8.kubernetes.api.model.apps.StatefulSetPersistentVolumeClaimRetentionPolicy persistentVolumeClaimRetentionPolicy)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
getPodMetadata
public EmbeddedObjectMetadata getPodMetadata()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setPodMetadata
public void setPodMetadata(EmbeddedObjectMetadata podMetadata)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
getPortName
public String getPortName()
Port name used for the pods and governing service. Defaults to `web`.
-
setPortName
public void setPortName(String portName)
Port name used for the pods and governing service. Defaults to `web`.
-
getPriorityClassName
public String getPriorityClassName()
Priority class assigned to the Pods
-
setPriorityClassName
public void setPriorityClassName(String priorityClassName)
Priority class assigned to the Pods
-
getReplicas
public Integer getReplicas()
Size is the expected size of the alertmanager cluster. The controller will eventually make the size of the running cluster equal to the expected size.
-
setReplicas
public void setReplicas(Integer replicas)
Size is the expected size of the alertmanager cluster. The controller will eventually make the size of the running cluster equal to the expected size.
-
getResources
public io.fabric8.kubernetes.api.model.ResourceRequirements getResources()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setResources
public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
getRetention
public String getRetention()
Time duration Alertmanager shall retain data for. Default is '120h', and must match the regular expression `[0-9]+(ms|s|m|h)` (milliseconds seconds minutes hours).
-
setRetention
public void setRetention(String retention)
Time duration Alertmanager shall retain data for. Default is '120h', and must match the regular expression `[0-9]+(ms|s|m|h)` (milliseconds seconds minutes hours).
-
getRoutePrefix
public String getRoutePrefix()
The route prefix Alertmanager registers HTTP handlers for. This is useful, if using ExternalURL and a proxy is rewriting HTTP routes of a request, and the actual ExternalURL is still true, but the server serves requests under a different route prefix. For example for use with `kubectl proxy`.
-
setRoutePrefix
public void setRoutePrefix(String routePrefix)
The route prefix Alertmanager registers HTTP handlers for. This is useful, if using ExternalURL and a proxy is rewriting HTTP routes of a request, and the actual ExternalURL is still true, but the server serves requests under a different route prefix. For example for use with `kubectl proxy`.
-
getSecrets
public List<String> getSecrets()
Secrets is a list of Secrets in the same namespace as the Alertmanager object, which shall be mounted into the Alertmanager Pods. Each Secret is added to the StatefulSet definition as a volume named `secret-<secret-name>`. The Secrets are mounted into `/etc/alertmanager/secrets/<secret-name>` in the 'alertmanager' container.
-
setSecrets
public void setSecrets(List<String> secrets)
Secrets is a list of Secrets in the same namespace as the Alertmanager object, which shall be mounted into the Alertmanager Pods. Each Secret is added to the StatefulSet definition as a volume named `secret-<secret-name>`. The Secrets are mounted into `/etc/alertmanager/secrets/<secret-name>` in the 'alertmanager' container.
-
getSecurityContext
public io.fabric8.kubernetes.api.model.PodSecurityContext getSecurityContext()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setSecurityContext
public void setSecurityContext(io.fabric8.kubernetes.api.model.PodSecurityContext securityContext)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
getServiceAccountName
public String getServiceAccountName()
ServiceAccountName is the name of the ServiceAccount to use to run the Prometheus Pods.
-
setServiceAccountName
public void setServiceAccountName(String serviceAccountName)
ServiceAccountName is the name of the ServiceAccount to use to run the Prometheus Pods.
-
getServiceName
public String getServiceName()
The name of the service name used by the underlying StatefulSet(s) as the governing service. If defined, the Service must be created before the Alertmanager resource in the same namespace and it must define a selector that matches the pod labels. If empty, the operator will create and manage a headless service named `alertmanager-operated` for Alermanager resources. When deploying multiple Alertmanager resources in the same namespace, it is recommended to specify a different value for each. See https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id for more details.
-
setServiceName
public void setServiceName(String serviceName)
The name of the service name used by the underlying StatefulSet(s) as the governing service. If defined, the Service must be created before the Alertmanager resource in the same namespace and it must define a selector that matches the pod labels. If empty, the operator will create and manage a headless service named `alertmanager-operated` for Alermanager resources. When deploying multiple Alertmanager resources in the same namespace, it is recommended to specify a different value for each. See https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id for more details.
-
getSha
public String getSha()
SHA of Alertmanager container image to be deployed. Defaults to the value of `version`. Similar to a tag, but the SHA explicitly deploys an immutable container image. Version and Tag are ignored if SHA is set. Deprecated: use 'image' instead. The image digest can be specified as part of the image URL.
-
setSha
public void setSha(String sha)
SHA of Alertmanager container image to be deployed. Defaults to the value of `version`. Similar to a tag, but the SHA explicitly deploys an immutable container image. Version and Tag are ignored if SHA is set. Deprecated: use 'image' instead. The image digest can be specified as part of the image URL.
-
getStorage
public StorageSpec getStorage()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setStorage
public void setStorage(StorageSpec storage)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
getTag
public String getTag()
Tag of Alertmanager container image to be deployed. Defaults to the value of `version`. Version is ignored if Tag is set. Deprecated: use 'image' instead. The image tag can be specified as part of the image URL.
-
setTag
public void setTag(String tag)
Tag of Alertmanager container image to be deployed. Defaults to the value of `version`. Version is ignored if Tag is set. Deprecated: use 'image' instead. The image tag can be specified as part of the image URL.
-
getTerminationGracePeriodSeconds
public Long getTerminationGracePeriodSeconds()
Optional duration in seconds the pod needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down) which may lead to data corruption.Defaults to 120 seconds.
-
setTerminationGracePeriodSeconds
public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds)
Optional duration in seconds the pod needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down) which may lead to data corruption.Defaults to 120 seconds.
-
getTolerations
public List<io.fabric8.kubernetes.api.model.Toleration> getTolerations()
If specified, the pod's tolerations.
-
setTolerations
public void setTolerations(List<io.fabric8.kubernetes.api.model.Toleration> tolerations)
If specified, the pod's tolerations.
-
getTopologySpreadConstraints
public List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint> getTopologySpreadConstraints()
If specified, the pod's topology spread constraints.
-
setTopologySpreadConstraints
public void setTopologySpreadConstraints(List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint> topologySpreadConstraints)
If specified, the pod's topology spread constraints.
-
getVersion
public String getVersion()
Version the cluster should be on.
-
setVersion
public void setVersion(String version)
Version the cluster should be on.
-
getVolumeMounts
public List<io.fabric8.kubernetes.api.model.VolumeMount> getVolumeMounts()
VolumeMounts allows configuration of additional VolumeMounts on the output StatefulSet definition. VolumeMounts specified will be appended to other VolumeMounts in the alertmanager container, that are generated as a result of StorageSpec objects.
-
setVolumeMounts
public void setVolumeMounts(List<io.fabric8.kubernetes.api.model.VolumeMount> volumeMounts)
VolumeMounts allows configuration of additional VolumeMounts on the output StatefulSet definition. VolumeMounts specified will be appended to other VolumeMounts in the alertmanager container, that are generated as a result of StorageSpec objects.
-
getVolumes
public List<io.fabric8.kubernetes.api.model.Volume> getVolumes()
Volumes allows configuration of additional volumes on the output StatefulSet definition. Volumes specified will be appended to other volumes that are generated as a result of StorageSpec objects.
-
setVolumes
public void setVolumes(List<io.fabric8.kubernetes.api.model.Volume> volumes)
Volumes allows configuration of additional volumes on the output StatefulSet definition. Volumes specified will be appended to other volumes that are generated as a result of StorageSpec objects.
-
getWeb
public AlertmanagerWebSpec getWeb()
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
setWeb
public void setWeb(AlertmanagerWebSpec web)
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
edit
public AlertmanagerSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AlertmanagerSpecBuilder>
-
toBuilder
public AlertmanagerSpecBuilder toBuilder()
-
-