Documentation ¶
Index ¶
- Constants
- Variables
- func MakeConfigMap(c *pulsarv1alpha1.PulsarCluster) *v1.ConfigMap
- func MakeConfigMapName(c *pulsarv1alpha1.PulsarCluster) string
- func MakePodDisruptionBudget(c *pulsarv1alpha1.PulsarCluster) *v1beta1.PodDisruptionBudget
- func MakePodDisruptionBudgetName(c *pulsarv1alpha1.PulsarCluster) string
- func MakeService(c *pulsarv1alpha1.PulsarCluster) *v1.Service
- func MakeServiceName(c *pulsarv1alpha1.PulsarCluster) string
- func MakeStatefulSet(c *pulsarv1alpha1.PulsarCluster) *appsv1.StatefulSet
- func MakeStatefulSetName(c *pulsarv1alpha1.PulsarCluster) string
Constants ¶
View Source
const ( // Mem PulsarMemData = "\" -Xms100m -Xmx256m \"" // GC PulsarGCData = "\" -XX:+UseG1GC -XX:MaxGCPauseMillis=10\"" // Container zookeeper server list env key ContainerZookeeperServerList = "ZOOKEEPER_SERVERS" // Container data volume name ContainerDataVolumeName = "datadir" // Container zookeeper data path ContainerDataPath = "/pulsar/data" // ReadinessProbe script ReadinessProbeScript = "bin/pulsar-zookeeper-ruok.sh" // LivenessProbe script LivenessProbeScript = "bin/pulsar-zookeeper-ruok.sh" )
Variables ¶
View Source
var ServiceAnnotations map[string]string
Annotations
View Source
var StatefulSetAnnotations map[string]string
Functions ¶
func MakeConfigMap ¶
func MakeConfigMap(c *pulsarv1alpha1.PulsarCluster) *v1.ConfigMap
func MakeConfigMapName ¶
func MakeConfigMapName(c *pulsarv1alpha1.PulsarCluster) string
func MakePodDisruptionBudget ¶
func MakePodDisruptionBudget(c *pulsarv1alpha1.PulsarCluster) *v1beta1.PodDisruptionBudget
func MakePodDisruptionBudgetName ¶
func MakePodDisruptionBudgetName(c *pulsarv1alpha1.PulsarCluster) string
func MakeService ¶
func MakeService(c *pulsarv1alpha1.PulsarCluster) *v1.Service
func MakeServiceName ¶
func MakeServiceName(c *pulsarv1alpha1.PulsarCluster) string
func MakeStatefulSet ¶
func MakeStatefulSet(c *pulsarv1alpha1.PulsarCluster) *appsv1.StatefulSet
func MakeStatefulSetName ¶
func MakeStatefulSetName(c *pulsarv1alpha1.PulsarCluster) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.