# Packages
No description provided by the author
No description provided by the author
Package configmap manipulates the k8s api of configmap object.
No description provided by the author
Package deployment manipulates the k8s api of deployment object.
Package event manipulates the k8s api of event object.
Package ingress manipulates the k8s api of ingress object.
No description provided by the author
Package k8sapi contains necessary k8s types and objects.
Package k8serror encapsulates error of k8s object.
Package k8sservice manipulates the k8s api of service object.
Package namespace manipulates the k8s api of namespace object.
No description provided by the author
No description provided by the author
Package persistentvolume manipulates the k8s api of persistentvolume object.
Package persistentvolumeclaim manipulates the k8s api of persistentvolumeclaim object.
Package pod manipulates the k8s api of pod object.
No description provided by the author
Package role manipulates the k8s api of role object.
Package rolebinding manipulates the k8s api of rolebinding object.
Package secret manipulates the k8s api of secret object.
Package serviceaccount manipulates the k8s api of serviceaccount object.
Package statefulset manipulates the k8s api of statefulset object.
No description provided by the author
# Functions
ConvertEventStatus convert k8s status.
No description provided by the author
DefaultHealthCheck The user has not configured any health check, and the first port is checked by layer 4 tcp by default.
FillHealthCheckProbe Fill out k8s probe based on service.
No description provided by the author
No description provided by the author
IsGroupStateful Determine whether it is a stateful service the caller have to make sure sg is not nil Generally speaking, those with "SERVICE_TYPE" set to "ADDONS" are stateful applications, However, some of the ADDONS types still want to be deployed in a stateless manner, adding STATELESS_SERVICE To distinguish whether the ADDONS type is stateful or stateless, the default is to execute according to state.
No description provided by the author
MakeNamespace Generate a Namespace name Each runtime corresponds to a k8s namespace on k8s, format is ${runtimeNamespace}--${runtimeName}.
New new kubernetes executor struct.
NewCheckProbe Create k8s probe default object.
NewHealthCheck Configure the new version of Dice health check.
No description provided by the author
OldHealthCheck Compatible with Dice old version health detection.
ParseJobHostBindTemplate Analyze the hostPath template and convert it to the cluster info value.
No description provided by the author
ValidateRuntime check runtime validity.
# Constants
aliyun registry.
CPU_CFS_PERIOD_US 100000 /sys/fs/cgroup/cpu/cpu.cfs_period_us default value.
CPU_NUM_QUOTA cpu limit key.
No description provided by the author
DefaultServiceDNSSuffix k8s service dns fixed suffix.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProjectNamespace Env.
MIN_CPU_SIZE Minimum application cpu value.
MIN_MEM_SIZE Minimum application mem value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SUBSCRIBE_RATIO_SUFFIX the key suffix of the super ratio.
# Structs
No description provided by the author
Kubernetes is the Executor struct for k8s cluster.
OneGroupInfo Returns information about the statefulset corresponding to the group.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author