goharbor.io / v1alpha3 / JobService
- string
.apiVersion
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
- string
.kind
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- object
.metadata
- object
.spec
JobServiceSpec defines the desired state of JobService.
- array
.spec .certificateRefs
- object required
.spec .core
- string required
.spec .core .secretRef
- string required
.spec .core .url
- string
.spec .image
Image name for the component.
- string
.spec .imagePullPolicy
Image pull policy. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
- array
.spec .imagePullSecrets
- string
.spec .imagePullSecrets[] .name
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
- object
.spec .jobLoggers
Job logger configurations
- object
.spec .jobLoggers .database
- string
.spec .jobLoggers .database .level
JobServiceLogLevel is the log level for JobService.
- string
.spec .jobLoggers .database .sweeper
- array | null
.spec .jobLoggers .files
- object
.spec .jobLoggers .stdout
- string
.spec .jobLoggers .stdout .level
JobServiceLogLevel is the log level for JobService.
- object
.spec .loggers
Logger configurations
- object
.spec .loggers .database
- string
.spec .loggers .database .level
JobServiceLogLevel is the log level for JobService.
- string
.spec .loggers .database .sweeper
- array | null
.spec .loggers .files
- object
.spec .loggers .stdout
- string
.spec .loggers .stdout .level
JobServiceLogLevel is the log level for JobService.
- object
.spec .nodeSelector
NodeSelector is a selector which must be true for the component to fit on a node. Selector which must match a node’s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
- object
.spec .proxy
- string
.spec .proxy .httpProxy
- string
.spec .proxy .httpsProxy
- array
.spec .proxy .noProxy
- object required
.spec .registry
- string required
.spec .registry .controllerURL
- object required
.spec .registry .credentials
- string required
.spec .registry .credentials .passwordRef
- string required
.spec .registry .credentials .username
- string required
.spec .registry .url
- integer
.spec .replicas
Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
- object
.spec .resources
Compute Resources required by this component. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- array
.spec .resources .claims
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable.
- string required
.spec .resources .claims[] .name
Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
- object
.spec .resources .limits
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- object
.spec .resources .requests
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- string required
.spec .secretRef
- string
.spec .serviceAccountName
ServiceAccountName is the name of the ServiceAccount to use to run this component. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
- object
.spec .templateAnnotations
Custom annotations to be added into the pods
- object
.spec .templateLabels
Custom Labels to be added into the pods
- object
.spec .tls
- string
.spec .tls .certificateRef
- object required
.spec .tokenService
- string required
.spec .tokenService .url
- array
.spec .tolerations
If specified, the pod’s tolerations.
- string
.spec .tolerations[] .effect
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- string
.spec .tolerations[] .key
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- string
.spec .tolerations[] .operator
Operator represents a key’s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- integer
.spec .tolerations[] .tolerationSeconds
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- string
.spec .tolerations[] .value
Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- object required
.spec .workerPool
Configurations of worker pool
- string
.spec .workerPool .backend
- object
.spec .workerPool .redisPool
RedisPoolConfig keeps redis worker info.
- string
.spec .workerPool .redisPool .certificateRef
Secret containing the client certificate to authenticate with.
- integer
.spec .workerPool .redisPool .database
The database number.
- string required
.spec .workerPool .redisPool .host
Server hostname.
- string
.spec .workerPool .redisPool .idleTimeout
IdleTimeoutSecond closes connections after remaining idle for this duration. If the value is zero, then idle connections are not closed. Applications should set the timeout to a value less than the server’s timeout.
- string
.spec .workerPool .redisPool .namespace
- string
.spec .workerPool .redisPool .passwordRef
Secret containing the password to use when connecting to the server.
- integer
.spec .workerPool .redisPool .port
Server port.
- string
.spec .workerPool .redisPool .sentinelMasterSet
for Sentinel MasterSet.
- integer
.spec .workerPool .workers
Worker concurrency
- object
.status
ComponentStatus represents the current status of the resource. https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
- array required
.status .conditions
Conditions list of extracted conditions from Resource
- string
.status .conditions[] .message
Message Human readable reason string
- string
.status .conditions[] .reason
Reason one work CamelCase reason
- string required
.status .conditions[] .status
Status String that describes the condition status
- string required
.status .conditions[] .type
Type condition type
- integer
.status .observedGeneration
- object
.status .operator
ControllerStatus represents the current status of the operator.
- string
.status .operator .controllerGitCommit
- string
.status .operator .controllerName
- string
.status .operator .controllerVersion
- integer
.status .replicas
Current number of pods.