operator

package
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CollecotrMetricsPortName = "metrics"
	CollecotrMetricsPort     = 2020
	CollecotrTCPProtocolName = "TCP"
)
View Source
const (
	FluentBitMetricsPortName = "metrics"
	FluentBitTCPProtocolName = "TCP"
)
View Source
const (
	FluentdForwardPortName = "forward"
	FluentdHttpPortName    = "http"
)
View Source
const (
	SecretVolName    = "config"
	FluentdMountPath = "/fluentd/etc"
	BufferMountPath  = "/buffers"

	MetricsName = "metrics"

	MetricsPort int32 = 2021

	DefaultForwardPort int32 = 24424
	DefaultHttpPort    int32 = 9880

	DefaultForwardName = "forward"
	DefaultHttpName    = "http"

	InputForwardType = "forward"
	InputHttpType    = "http"
)

Variables

View Source
var (
	// DefaultBufferPath defines the buffer path for single process
	DefaultBufferPath = "/buffers/fluentbit/log"
)

Functions

func FlunetbitBufferMountPath

func FlunetbitBufferMountPath(co fluentbitv1alpha2.Collector) string

func MakeCollecotrService

func MakeCollecotrService(co fluentbitv1alpha2.Collector) corev1.Service

func MakeDaemonSet

func MakeDaemonSet(fb fluentbitv1alpha2.FluentBit, logPath string) appsv1.DaemonSet

func MakeFluentbitService

func MakeFluentbitService(fb fluentbitv1alpha2.FluentBit) corev1.Service

func MakeFluentdService

func MakeFluentdService(fd fluentdv1alpha1.Fluentd) corev1.Service

func MakeRBACObjects

func MakeRBACObjects(name, namespace, component string, additionalRules []rbacv1.PolicyRule) (*rbacv1.ClusterRole, *corev1.ServiceAccount, *rbacv1.ClusterRoleBinding)

func MakeScopedRBACObjects

func MakeScopedRBACObjects(fbName, fbNamespace string) (*rbacv1.Role, *corev1.ServiceAccount, *rbacv1.RoleBinding)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL