Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ServiceName - ServiceName = "ceilometer" // ServiceType - ServiceType = "Ceilometer" // CeilometerPrometheusPort - CeilometerPrometheusPort int = 3000 // KollaConfigCentral - KollaConfigCentral = "/var/lib/config-data/merged/config-central.json" // KollaConfigNotification - KollaConfigNotification = "/var/lib/config-data/merged/config-notification.json" )
View Source
const (
// InitContainerCommand -
InitContainerCommand = "/usr/local/bin/container-scripts/init.sh"
)
View Source
const (
// ServiceCommand -
ServiceCommand = "/usr/local/bin/kolla_set_configs && /usr/local/bin/kolla_start"
)
Variables ¶
View Source
var ( // ScriptsVolumeDefaultMode is the default permissions mode for Scripts volume ScriptsVolumeDefaultMode int32 = 0755 // Config0640AccessMode is the 640 permissions mode Config0640AccessMode int32 = 0640 )
Functions ¶
func Deployment ¶
func Deployment( instance *telemetryv1.CeilometerCentral, configHash string, labels map[string]string, ) (*appsv1.Deployment, error)
Deployment func
func Service ¶
func Service( instance *telemetryv1.CeilometerCentral, helper *helper.Helper, port int, labels map[string]string, ) (*corev1.Service, controllerutil.OperationResult, error)
Service creates services in Kubernetes for the appropiate port in the passed node
Types ¶
Click to show internal directories.
Click to hide internal directories.