Documentation ¶
Index ¶
Constants ¶
View Source
const File_deploy_cluster_role_binding_yaml = `` /* 267-byte string literal not displayed */
View Source
const File_deploy_cluster_role_yaml = `` /* 1189-byte string literal not displayed */
View Source
const File_deploy_crds_noobaa_io_backingstores_crd_yaml = `` /* 18128-byte string literal not displayed */
View Source
const File_deploy_crds_noobaa_io_bucketclasses_crd_yaml = `` /* 12495-byte string literal not displayed */
View Source
const File_deploy_crds_noobaa_io_namespacestores_crd_yaml = `` /* 14794-byte string literal not displayed */
View Source
const File_deploy_crds_noobaa_io_noobaaaccounts_crd_yaml = `` /* 9338-byte string literal not displayed */
View Source
const File_deploy_crds_noobaa_io_noobaas_crd_yaml = `apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: noobaas.noobaa.io
spec:
group: noobaa.io
names:
kind: NooBaa
listKind: NooBaaList
plural: noobaas
shortNames:
- nb
singular: noobaa
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Management Endpoints
jsonPath: .status.services.serviceMgmt.nodePorts
name: Mgmt-Endpoints
type: string
- description: S3 Endpoints
jsonPath: .status.services.serviceS3.nodePorts
name: S3-Endpoints
type: string
- description: STS Endpoints
jsonPath: .status.services.serviceSts.nodePorts
name: Sts-Endpoints
type: string
- description: Actual Image
jsonPath: .status.actualImage
name: Image
type: string
- description: Phase
jsonPath: .status.phase
name: Phase
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
description: NooBaa is the Schema for the NooBaas API
properties:
apiVersion:
description: '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'
type: string
kind:
description: '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'
type: string
metadata:
type: object
spec:
description: Specification of the desired behavior of the noobaa system.
properties:
affinity:
description: Affinity (optional) passed through to noobaa's pods
properties:
nodeAffinity:
description: Describes node affinity scheduling rules for the
pod.
properties:
preferredDuringSchedulingIgnoredDuringExecution:
description: The scheduler will prefer to schedule pods to
nodes that satisfy the affinity expressions specified by
this field, but it may choose a node that violates one or
more of the expressions. The node that is most preferred
is the one with the greatest sum of weights, i.e. for each
node that meets all of the scheduling requirements (resource
request, requiredDuringScheduling affinity expressions,
etc.), compute a sum by iterating through the elements of
this field and adding "weight" to the sum if the node matches
the corresponding matchExpressions; the node(s) with the
highest sum are the most preferred.
items:
description: An empty preferred scheduling term matches
all objects with implicit weight 0 (i.e. it's a no-op).
A null preferred scheduling term matches no objects (i.e.
is also a no-op).
properties:
preference:
description: A node selector term, associated with the
corresponding weight.
properties:
matchExpressions:
description: A list of node selector requirements
by node's labels.
items:
description: A node selector requirement is a
selector that contains values, a key, and an
operator that relates the key and values.
properties:
key:
description: The label key that the selector
applies to.
type: string
operator:
description: Represents a key's relationship
to a set of values. Valid operators are
In, NotIn, Exists, DoesNotExist. Gt, and
Lt.
type: string
values:
description: An array of string values. If
the operator is In or NotIn, the values
array must be non-empty. If the operator
is Exists or DoesNotExist, the values array
must be empty. If the operator is Gt or
Lt, the values array must have a single
element, which will be interpreted as an
integer. This array is replaced during a
strategic merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchFields:
description: A list of node selector requirements
by node's fields.
items:
description: A node selector requirement is a
selector that contains values, a key, and an
operator that relates the key and values.
properties:
key:
description: The label key that the selector
applies to.
type: string
operator:
description: Represents a key's relationship
to a set of values. Valid operators are
In, NotIn, Exists, DoesNotExist. Gt, and
Lt.
type: string
values:
description: An array of string values. If
the operator is In or NotIn, the values
array must be non-empty. If the operator
is Exists or DoesNotExist, the values array
must be empty. If the operator is Gt or
Lt, the values array must have a single
element, which will be interpreted as an
integer. This array is replaced during a
strategic merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
type: object
weight:
description: Weight associated with matching the corresponding
nodeSelectorTerm, in the range 1-100.
format: int32
type: integer
required:
- preference
- weight
type: object
type: array
requiredDuringSchedulingIgnoredDuringExecution:
description: If the affinity requirements specified by this
field are not met at scheduling time, the pod will not be
scheduled onto the node. If the affinity requirements specified
by this field cease to be met at some point during pod execution
(e.g. due to an update), the system may or may not try to
eventually evict the pod from its node.
properties:
nodeSelectorTerms:
description: Required. A list of node selector terms.
The terms are ORed.
items:
description: A null or empty node selector term matches
no objects. The requirements of them are ANDed. The
TopologySelectorTerm type implements a subset of the
NodeSelectorTerm.
properties:
matchExpressions:
description: A list of node selector requirements
by node's labels.
items:
description: A node selector requirement is a
selector that contains values, a key, and an
operator that relates the key and values.
properties:
key:
description: The label key that the selector
applies to.
type: string
operator:
description: Represents a key's relationship
to a set of values. Valid operators are
In, NotIn, Exists, DoesNotExist. Gt, and
Lt.
type: string
values:
description: An array of string values. If
the operator is In or NotIn, the values
array must be non-empty. If the operator
is Exists or DoesNotExist, the values array
must be empty. If the operator is Gt or
Lt, the values array must have a single
element, which will be interpreted as an
integer. This array is replaced during a
strategic merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchFields:
description: A list of node selector requirements
by node's fields.
items:
description: A node selector requirement is a
selector that contains values, a key, and an
operator that relates the key and values.
properties:
key:
description: The label key that the selector
applies to.
type: string
operator:
description: Represents a key's relationship
to a set of values. Valid operators are
In, NotIn, Exists, DoesNotExist. Gt, and
Lt.
type: string
values:
description: An array of string values. If
the operator is In or NotIn, the values
array must be non-empty. If the operator
is Exists or DoesNotExist, the values array
must be empty. If the operator is Gt or
Lt, the values array must have a single
element, which will be interpreted as an
integer. This array is replaced during a
strategic merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
type: object
type: array
required:
- nodeSelectorTerms
type: object
type: object
podAffinity:
description: Describes pod affinity scheduling rules (e.g. co-locate
this pod in the same node, zone, etc. as some other pod(s)).
properties:
preferredDuringSchedulingIgnoredDuringExecution:
description: The scheduler will prefer to schedule pods to
nodes that satisfy the affinity expressions specified by
this field, but it may choose a node that violates one or
more of the expressions. The node that is most preferred
is the one with the greatest sum of weights, i.e. for each
node that meets all of the scheduling requirements (resource
request, requiredDuringScheduling affinity expressions,
etc.), compute a sum by iterating through the elements of
this field and adding "weight" to the sum if the node has
pods which matches the corresponding podAffinityTerm; the
node(s) with the highest sum are the most preferred.
items:
description: The weights of all of the matched WeightedPodAffinityTerm
fields are added per-node to find the most preferred node(s)
properties:
podAffinityTerm:
description: Required. A pod affinity term, associated
with the corresponding weight.
properties:
labelSelector:
description: A label query over a set of resources,
in this case pods.
properties:
matchExpressions:
description: matchExpressions is a list of label
selector requirements. The requirements are
ANDed.
items:
description: A label selector requirement
is a selector that contains values, a key,
and an operator that relates the key and
values.
properties:
key:
description: key is the label key that
the selector applies to.
type: string
operator:
description: operator represents a key's
relationship to a set of values. Valid
operators are In, NotIn, Exists and
DoesNotExist.
type: string
values:
description: values is an array of string
values. If the operator is In or NotIn,
the values array must be non-empty.
If the operator is Exists or DoesNotExist,
the values array must be empty. This
array is replaced during a strategic
merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value}
pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions,
whose key field is "key", the operator is
"In", and the values array contains only "value".
The requirements are ANDed.
type: object
type: object
namespaceSelector:
description: A label query over the set of namespaces
that the term applies to. The term is applied
to the union of the namespaces selected by this
field and the ones listed in the namespaces field.
null selector and null or empty namespaces list
means "this pod's namespace". An empty selector
({}) matches all namespaces. This field is beta-level
and is only honored when PodAffinityNamespaceSelector
feature is enabled.
properties:
matchExpressions:
description: matchExpressions is a list of label
selector requirements. The requirements are
ANDed.
items:
description: A label selector requirement
is a selector that contains values, a key,
and an operator that relates the key and
values.
properties:
key:
description: key is the label key that
the selector applies to.
type: string
operator:
description: operator represents a key's
relationship to a set of values. Valid
operators are In, NotIn, Exists and
DoesNotExist.
type: string
values:
description: values is an array of string
values. If the operator is In or NotIn,
the values array must be non-empty.
If the operator is Exists or DoesNotExist,
the values array must be empty. This
array is replaced during a strategic
merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value}
pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions,
whose key field is "key", the operator is
"In", and the values array contains only "value".
The requirements are ANDed.
type: object
type: object
namespaces:
description: namespaces specifies a static list
of namespace names that the term applies to. The
term is applied to the union of the namespaces
listed in this field and the ones selected by
namespaceSelector. null or empty namespaces list
and null namespaceSelector means "this pod's namespace"
items:
type: string
type: array
topologyKey:
description: This pod should be co-located (affinity)
or not co-located (anti-affinity) with the pods
matching the labelSelector in the specified namespaces,
where co-located is defined as running on a node
whose value of the label with key topologyKey
matches that of any node on which any of the selected
pods is running. Empty topologyKey is not allowed.
type: string
required:
- topologyKey
type: object
weight:
description: weight associated with matching the corresponding
podAffinityTerm, in the range 1-100.
format: int32
type: integer
required:
- podAffinityTerm
- weight
type: object
type: array
requiredDuringSchedulingIgnoredDuringExecution:
description: If the affinity requirements specified by this
field are not met at scheduling time, the pod will not be
scheduled onto the node. If the affinity requirements specified
by this field cease to be met at some point during pod execution
(e.g. due to a pod label update), the system may or may
not try to eventually evict the pod from its node. When
there are multiple elements, the lists of nodes corresponding
to each podAffinityTerm are intersected, i.e. all terms
must be satisfied.
items:
description: Defines a set of pods (namely those matching
the labelSelector relative to the given namespace(s))
that this pod should be co-located (affinity) or not co-located
(anti-affinity) with, where co-located is defined as running
on a node whose value of the label with key <topologyKey>
matches that of any node on which a pod of the set of
pods is running
properties:
labelSelector:
description: A label query over a set of resources,
in this case pods.
properties:
matchExpressions:
description: matchExpressions is a list of label
selector requirements. The requirements are ANDed.
items:
description: A label selector requirement is a
selector that contains values, a key, and an
operator that relates the key and values.
properties:
key:
description: key is the label key that the
selector applies to.
type: string
operator:
description: operator represents a key's relationship
to a set of values. Valid operators are
In, NotIn, Exists and DoesNotExist.
type: string
values:
description: values is an array of string
values. If the operator is In or NotIn,
the values array must be non-empty. If the
operator is Exists or DoesNotExist, the
values array must be empty. This array is
replaced during a strategic merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value}
pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions,
whose key field is "key", the operator is "In",
and the values array contains only "value". The
requirements are ANDed.
type: object
type: object
namespaceSelector:
description: A label query over the set of namespaces
that the term applies to. The term is applied to the
union of the namespaces selected by this field and
the ones listed in the namespaces field. null selector
and null or empty namespaces list means "this pod's
namespace". An empty selector ({}) matches all namespaces.
This field is beta-level and is only honored when
PodAffinityNamespaceSelector feature is enabled.
properties:
matchExpressions:
description: matchExpressions is a list of label
selector requirements. The requirements are ANDed.
items:
description: A label selector requirement is a
selector that contains values, a key, and an
operator that relates the key and values.
properties:
key:
description: key is the label key that the
selector applies to.
type: string
operator:
description: operator represents a key's relationship
to a set of values. Valid operators are
In, NotIn, Exists and DoesNotExist.
type: string
values:
description: values is an array of string
values. If the operator is In or NotIn,
the values array must be non-empty. If the
operator is Exists or DoesNotExist, the
values array must be empty. This array is
replaced during a strategic merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value}
pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions,
whose key field is "key", the operator is "In",
and the values array contains only "value". The
requirements are ANDed.
type: object
type: object
namespaces:
description: namespaces specifies a static list of namespace
names that the term applies to. The term is applied
to the union of the namespaces listed in this field
and the ones selected by namespaceSelector. null or
empty namespaces list and null namespaceSelector means
"this pod's namespace"
items:
type: string
type: array
topologyKey:
description: This pod should be co-located (affinity)
or not co-located (anti-affinity) with the pods matching
the labelSelector in the specified namespaces, where
co-located is defined as running on a node whose value
of the label with key topologyKey matches that of
any node on which any of the selected pods is running.
Empty topologyKey is not allowed.
type: string
required:
- topologyKey
type: object
type: array
type: object
podAntiAffinity:
description: Describes pod anti-affinity scheduling rules (e.g.
avoid putting this pod in the same node, zone, etc. as some
other pod(s)).
properties:
preferredDuringSchedulingIgnoredDuringExecution:
description: The scheduler will prefer to schedule pods to
nodes that satisfy the anti-affinity expressions specified
by this field, but it may choose a node that violates one
or more of the expressions. The node that is most preferred
is the one with the greatest sum of weights, i.e. for each
node that meets all of the scheduling requirements (resource
request, requiredDuringScheduling anti-affinity expressions,
etc.), compute a sum by iterating through the elements of
this field and adding "weight" to the sum if the node has
pods which matches the corresponding podAffinityTerm; the
node(s) with the highest sum are the most preferred.
items:
description: The weights of all of the matched WeightedPodAffinityTerm
fields are added per-node to find the most preferred node(s)
properties:
podAffinityTerm:
description: Required. A pod affinity term, associated
with the corresponding weight.
properties:
labelSelector:
description: A label query over a set of resources,
in this case pods.
properties:
matchExpressions:
description: matchExpressions is a list of label
selector requirements. The requirements are
ANDed.
items:
description: A label selector requirement
is a selector that contains values, a key,
and an operator that relates the key and
values.
properties:
key:
description: key is the label key that
the selector applies to.
type: string
operator:
description: operator represents a key's
relationship to a set of values. Valid
operators are In, NotIn, Exists and
DoesNotExist.
type: string
values:
description: values is an array of string
values. If the operator is In or NotIn,
the values array must be non-empty.
If the operator is Exists or DoesNotExist,
the values array must be empty. This
array is replaced during a strategic
merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value}
pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions,
whose key field is "key", the operator is
"In", and the values array contains only "value".
The requirements are ANDed.
type: object
type: object
namespaceSelector:
description: A label query over the set of namespaces
that the term applies to. The term is applied
to the union of the namespaces selected by this
field and the ones listed in the namespaces field.
null selector and null or empty namespaces list
means "this pod's namespace". An empty selector
({}) matches all namespaces. This field is beta-level
and is only honored when PodAffinityNamespaceSelector
feature is enabled.
properties:
matchExpressions:
description: matchExpressions is a list of label
selector requirements. The requirements are
ANDed.
items:
description: A label selector requirement
is a selector that contains values, a key,
and an operator that relates the key and
values.
properties:
key:
description: key is the label key that
the selector applies to.
type: string
operator:
description: operator represents a key's
relationship to a set of values. Valid
operators are In, NotIn, Exists and
DoesNotExist.
type: string
values:
description: values is an array of string
values. If the operator is In or NotIn,
the values array must be non-empty.
If the operator is Exists or DoesNotExist,
the values array must be empty. This
array is replaced during a strategic
merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value}
pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions,
whose key field is "key", the operator is
"In", and the values array contains only "value".
The requirements are ANDed.
type: object
type: object
namespaces:
description: namespaces specifies a static list
of namespace names that the term applies to. The
term is applied to the union of the namespaces
listed in this field and the ones selected by
namespaceSelector. null or empty namespaces list
and null namespaceSelector means "this pod's namespace"
items:
type: string
type: array
topologyKey:
description: This pod should be co-located (affinity)
or not co-located (anti-affinity) with the pods
matching the labelSelector in the specified namespaces,
where co-located is defined as running on a node
whose value of the label with key topologyKey
matches that of any node on which any of the selected
pods is running. Empty topologyKey is not allowed.
type: string
required:
- topologyKey
type: object
weight:
description: weight associated with matching the corresponding
podAffinityTerm, in the range 1-100.
format: int32
type: integer
required:
- podAffinityTerm
- weight
type: object
type: array
requiredDuringSchedulingIgnoredDuringExecution:
description: If the anti-affinity requirements specified by
this field are not met at scheduling time, the pod will
not be scheduled onto the node. If the anti-affinity requirements
specified by this field cease to be met at some point during
pod execution (e.g. due to a pod label update), the system
may or may not try to eventually evict the pod from its
node. When there are multiple elements, the lists of nodes
corresponding to each podAffinityTerm are intersected, i.e.
all terms must be satisfied.
items:
description: Defines a set of pods (namely those matching
the labelSelector relative to the given namespace(s))
that this pod should be co-located (affinity) or not co-located
(anti-affinity) with, where co-located is defined as running
on a node whose value of the label with key <topologyKey>
matches that of any node on which a pod of the set of
pods is running
properties:
labelSelector:
description: A label query over a set of resources,
in this case pods.
properties:
matchExpressions:
description: matchExpressions is a list of label
selector requirements. The requirements are ANDed.
items:
description: A label selector requirement is a
selector that contains values, a key, and an
operator that relates the key and values.
properties:
key:
description: key is the label key that the
selector applies to.
type: string
operator:
description: operator represents a key's relationship
to a set of values. Valid operators are
In, NotIn, Exists and DoesNotExist.
type: string
values:
description: values is an array of string
values. If the operator is In or NotIn,
the values array must be non-empty. If the
operator is Exists or DoesNotExist, the
values array must be empty. This array is
replaced during a strategic merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value}
pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions,
whose key field is "key", the operator is "In",
and the values array contains only "value". The
requirements are ANDed.
type: object
type: object
namespaceSelector:
description: A label query over the set of namespaces
that the term applies to. The term is applied to the
union of the namespaces selected by this field and
the ones listed in the namespaces field. null selector
and null or empty namespaces list means "this pod's
namespace". An empty selector ({}) matches all namespaces.
This field is beta-level and is only honored when
PodAffinityNamespaceSelector feature is enabled.
properties:
matchExpressions:
description: matchExpressions is a list of label
selector requirements. The requirements are ANDed.
items:
description: A label selector requirement is a
selector that contains values, a key, and an
operator that relates the key and values.
properties:
key:
description: key is the label key that the
selector applies to.
type: string
operator:
description: operator represents a key's relationship
to a set of values. Valid operators are
In, NotIn, Exists and DoesNotExist.
type: string
values:
description: values is an array of string
values. If the operator is In or NotIn,
the values array must be non-empty. If the
operator is Exists or DoesNotExist, the
values array must be empty. This array is
replaced during a strategic merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value}
pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions,
whose key field is "key", the operator is "In",
and the values array contains only "value". The
requirements are ANDed.
type: object
type: object
namespaces:
description: namespaces specifies a static list of namespace
names that the term applies to. The term is applied
to the union of the namespaces listed in this field
and the ones selected by namespaceSelector. null or
empty namespaces list and null namespaceSelector means
"this pod's namespace"
items:
type: string
type: array
topologyKey:
description: This pod should be co-located (affinity)
or not co-located (anti-affinity) with the pods matching
the labelSelector in the specified namespaces, where
co-located is defined as running on a node whose value
of the label with key topologyKey matches that of
any node on which any of the selected pods is running.
Empty topologyKey is not allowed.
type: string
required:
- topologyKey
type: object
type: array
type: object
type: object
annotations:
additionalProperties:
additionalProperties:
type: string
description: Annotations are annotation for a given daemon
type: object
description: The annotations-related configuration to add/set on each
Pod related object.
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
cleanupPolicy:
description: CleanupPolicy (optional) Indicates user's policy for
deletion
properties:
confirmation:
description: CleanupConfirmationProperty is a string that specifies
cleanup confirmation
type: string
type: object
coreResources:
description: CoreResources (optional) overrides the default resource
requirements for the server container
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Limits describes the maximum amount of compute resources
allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: '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/'
type: object
type: object
dbConf:
description: DBConf (optional) overrides the default postgresql db
config
type: string
dbImage:
description: DBImage (optional) overrides the default image for the
db container
type: string
dbResources:
description: DBResources (optional) overrides the default resource
requirements for the db container
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Limits describes the maximum amount of compute resources
allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: '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/'
type: object
type: object
dbStorageClass:
description: DBStorageClass (optional) overrides the default cluster
StorageClass for the database volume. For the time being this field
is immutable and can only be set on system creation. This affects
where the system stores its database which contains system config,
buckets, objects meta-data and mapping file parts to storage locations.
type: string
dbType:
description: DBType (optional) overrides the default type image for
the db container
enum:
- mongodb
- postgres
type: string
dbVolumeResources:
description: 'DBVolumeResources (optional) overrides the default PVC
resource requirements for the database volume. For the time being
this field is immutable and can only be set on system creation.
This is because volume size updates are only supported for increasing
the size, and only if the storage class specifies ` + "`" + `allowVolumeExpansion:
true` + "`" + `,'
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Limits describes the maximum amount of compute resources
allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: '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/'
type: object
type: object
debugLevel:
description: DebugLevel (optional) sets the debug level
enum:
- all
- nsfs
- warn
- default_level
type: integer
defaultBackingStoreSpec:
description: BackingStoreSpec defines the desired state of BackingStore
properties:
awsS3:
description: AWSS3Spec specifies a backing store of type aws-s3
properties:
awsSTSRoleARN:
type: string
region:
description: Region is the AWS region
type: string
secret:
description: Secret refers to a secret that provides the credentials
The secret should define AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
properties:
name:
description: Name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description: Namespace defines the space within which
the secret name must be unique.
type: string
type: object
sslDisabled:
description: SSLDisabled allows to disable SSL and use plain
http
type: boolean
targetBucket:
description: TargetBucket is the name of the target S3 bucket
type: string
required:
- targetBucket
type: object
azureBlob:
description: AzureBlob specifies a backing store of type azure-blob
properties:
secret:
description: Secret refers to a secret that provides the credentials
The secret should define AccountName and AccountKey as provided
by Azure Blob.
properties:
name:
description: Name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description: Namespace defines the space within which
the secret name must be unique.
type: string
type: object
targetBlobContainer:
description: TargetBlobContainer is the name of the target
Azure Blob container
type: string
required:
- secret
- targetBlobContainer
type: object
googleCloudStorage:
description: GoogleCloudStorage specifies a backing store of type
google-cloud-storage
properties:
secret:
description: Secret refers to a secret that provides the credentials
The secret should define GoogleServiceAccountPrivateKeyJson
containing the entire json string as provided by Google.
properties:
name:
description: Name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description: Namespace defines the space within which
the secret name must be unique.
type: string
type: object
targetBucket:
description: TargetBucket is the name of the target S3 bucket
type: string
required:
- secret
- targetBucket
type: object
ibmCos:
description: IBMCos specifies a backing store of type ibm-cos
properties:
endpoint:
description: 'Endpoint is the IBM COS compatible endpoint:
http(s)://host:port'
type: string
secret:
description: Secret refers to a secret that provides the credentials
The secret should define IBM_COS_ACCESS_KEY_ID and IBM_COS_SECRET_ACCESS_KEY
properties:
name:
description: Name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description: Namespace defines the space within which
the secret name must be unique.
type: string
type: object
signatureVersion:
description: SignatureVersion specifies the client signature
version to use when signing requests.
type: string
targetBucket:
description: TargetBucket is the name of the target IBM COS
bucket
type: string
required:
- endpoint
- secret
- targetBucket
type: object
pvPool:
description: PVPool specifies a backing store of type pv-pool
properties:
numVolumes:
description: NumVolumes is the number of volumes to allocate
type: integer
resources:
description: VolumeResources represents the minimum resources
each volume should have.
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Limits describes the maximum amount of compute
resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: '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/'
type: object
type: object
secret:
description: Secret refers to a secret that provides the agent
configuration The secret should define AGENT_CONFIG containing
agent_configuration from noobaa-core.
properties:
name:
description: Name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description: Namespace defines the space within which
the secret name must be unique.
type: string
type: object
storageClass:
description: StorageClass is the name of the storage class
to use for the PV's
type: string
required:
- numVolumes
type: object
s3Compatible:
description: S3Compatible specifies a backing store of type s3-compatible
properties:
endpoint:
description: 'Endpoint is the S3 compatible endpoint: http(s)://host:port'
type: string
secret:
description: Secret refers to a secret that provides the credentials
The secret should define AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
properties:
name:
description: Name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description: Namespace defines the space within which
the secret name must be unique.
type: string
type: object
signatureVersion:
description: SignatureVersion specifies the client signature
version to use when signing requests.
type: string
targetBucket:
description: TargetBucket is the name of the target S3 bucket
type: string
required:
- endpoint
- secret
- targetBucket
type: object
type:
description: Type is an enum of supported types
type: string
required:
- type
type: object
disableLoadBalancerService:
description: DisableLoadBalancerService (optional) sets the service
type to ClusterIP instead of LoadBalancer
nullable: true
type: boolean
endpoints:
description: Endpoints (optional) sets configuration info for the
noobaa endpoint deployment.
properties:
additionalVirtualHosts:
description: 'AdditionalVirtualHosts (optional) provide a list
of additional hostnames (on top of the builtin names defined
by the cluster: service name, elb name, route name) to be used
as virtual hosts by the the endpoints in the endpoint deployment'
items:
type: string
type: array
maxCount:
description: MaxCount, the number of endpoint instances (pods)
to be used as the upper bound when autoscaling
format: int32
type: integer
minCount:
description: MinCount, the number of endpoint instances (pods)
to be used as the lower bound when autoscaling
format: int32
type: integer
resources:
description: Resources (optional) overrides the default resource
requirements for every endpoint pod
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Limits describes the maximum amount of compute
resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: '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/'
type: object
type: object
type: object
image:
description: Image (optional) overrides the default image for the
server container
type: string
imagePullSecret:
description: ImagePullSecret (optional) sets a pull secret for the
system image
properties:
name:
description: '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?'
type: string
type: object
joinSecret:
description: JoinSecret (optional) instructs the operator to join
another cluster and point to a secret that holds the join information
properties:
name:
description: Name is unique within a namespace to reference a
secret resource.
type: string
namespace:
description: Namespace defines the space within which the secret
name must be unique.
type: string
type: object
labels:
additionalProperties:
additionalProperties:
type: string
description: Labels are label for a given daemon
type: object
description: The labels-related configuration to add/set on each Pod
related object.
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
mongoDbURL:
description: MongoDbURL (optional) overrides the default mongo db
remote url
type: string
pvPoolDefaultStorageClass:
description: PVPoolDefaultStorageClass (optional) overrides the default
cluster StorageClass for the pv-pool volumes. This affects where
the system stores data chunks (encrypted). Updates to this field
will only affect new pv-pools, but updates to existing pools are
not supported by the operator.
type: string
region:
description: Region (optional) provide a region for the location info
of the endpoints in the endpoint deployment
type: string
security:
description: Security represents security settings
properties:
kms:
description: KeyManagementServiceSpec represent various details
of the KMS server
properties:
connectionDetails:
additionalProperties:
type: string
type: object
tokenSecretName:
type: string
type: object
type: object
tolerations:
description: Tolerations (optional) passed through to noobaa's pods
items:
description: The pod this Toleration is attached to tolerates any
taint that matches the triple <key,value,effect> using the matching
operator <operator>.
properties:
effect:
description: Effect indicates the taint effect to match. Empty
means match all taint effects. When specified, allowed values
are NoSchedule, PreferNoSchedule and NoExecute.
type: string
key:
description: 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.
type: string
operator:
description: 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.
type: string
tolerationSeconds:
description: 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.
format: int64
type: integer
value:
description: Value is the taint value the toleration matches
to. If the operator is Exists, the value should be empty,
otherwise just a regular string.
type: string
type: object
type: array
type: object
status:
description: Most recently observed status of the noobaa system.
properties:
accounts:
description: Accounts reports accounts info for the admin account
properties:
admin:
description: UserStatus is the status info of a user secret
properties:
secretRef:
description: SecretReference represents a Secret Reference.
It has enough information to retrieve secret in any namespace
properties:
name:
description: Name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description: Namespace defines the space within which
the secret name must be unique.
type: string
type: object
required:
- secretRef
type: object
required:
- admin
type: object
actualImage:
description: ActualImage is set to report which image the operator
is using
type: string
conditions:
description: Conditions is a list of conditions related to operator
reconciliation
items:
description: Condition represents the state of the operator's reconciliation
functionality.
properties:
lastHeartbeatTime:
format: date-time
type: string
lastTransitionTime:
format: date-time
type: string
message:
type: string
reason:
type: string
status:
type: string
type:
description: ConditionType is the state of the operator's reconciliation
functionality.
type: string
required:
- status
- type
type: object
type: array
endpoints:
description: Endpoints reports the actual number of endpoints in the
endpoint deployment and the virtual hosts list used recognized by
the endpoints
properties:
readyCount:
format: int32
type: integer
virtualHosts:
items:
type: string
type: array
required:
- readyCount
- virtualHosts
type: object
observedGeneration:
description: ObservedGeneration is the most recent generation observed
for this noobaa system. It corresponds to the CR generation, which
is updated on mutation by the API Server.
format: int64
type: integer
phase:
description: Phase is a simple, high-level summary of where the System
is in its lifecycle
type: string
readme:
description: Readme is a user readable string with explanations on
the system
type: string
relatedObjects:
description: RelatedObjects is a list of objects related to this operator.
items:
description: 'ObjectReference contains enough information to let
you inspect or modify the referred object. --- New uses of this
type are discouraged because of difficulty describing its usage
when embedded in APIs. 1. Ignored fields. It includes many fields
which are not generally honored. For instance, ResourceVersion
and FieldPath are both very rarely valid in actual usage. 2.
Invalid usage help. It is impossible to add specific help for
individual usage. In most embedded usages, there are particular restrictions
like, "must refer only to types A and B" or "UID not honored"
or "name must be restricted". Those cannot be well described
when embedded. 3. Inconsistent validation. Because the usages
are different, the validation rules are different by usage, which
makes it hard for users to predict what will happen. 4. The fields
are both imprecise and overly precise. Kind is not a precise
mapping to a URL. This can produce ambiguity during interpretation
and require a REST mapping. In most cases, the dependency is
on the group,resource tuple and the version of the actual
struct is irrelevant. 5. We cannot easily change it. Because
this type is embedded in many locations, updates to this type will
affect numerous schemas. Don''t make new APIs embed an underspecified
API type they do not control. Instead of using this type, create
a locally provided and used type that is well-focused on your
reference. For example, ServiceReferences for admission registration:
https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
.'
properties:
apiVersion:
description: API version of the referent.
type: string
fieldPath:
description: 'If referring to a piece of an object instead of
an entire object, this string should contain a valid JSON/Go
field access statement, such as desiredState.manifest.containers[2].
For example, if the object reference is to a container within
a pod, this would take on a value like: "spec.containers{name}"
(where "name" refers to the name of the container that triggered
the event) or if no container name is specified "spec.containers[2]"
(container with index 2 in this pod). This syntax is chosen
only to have some well-defined way of referencing a part of
an object. TODO: this design is not final and this field is
subject to change in the future.'
type: string
kind:
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
type: string
namespace:
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
type: string
resourceVersion:
description: 'Specific resourceVersion to which this reference
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
type: string
uid:
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
type: string
type: object
type: array
services:
description: Services reports addresses for the services
properties:
serviceMgmt:
description: ServiceStatus is the status info and network addresses
of a service
properties:
externalDNS:
description: ExternalDNS are external public addresses for
the service
items:
type: string
type: array
externalIP:
description: ExternalIP are external public addresses for
the service LoadBalancerPorts such as AWS ELB provide public
address and load balancing for the service IngressPorts
are manually created public addresses for the service https://kubernetes.io/docs/concepts/services-networking/service/#external-ips
https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
https://kubernetes.io/docs/concepts/services-networking/ingress/
items:
type: string
type: array
internalDNS:
description: InternalDNS are internal addresses of the service
inside the cluster
items:
type: string
type: array
internalIP:
description: InternalIP are internal addresses of the service
inside the cluster https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
items:
type: string
type: array
nodePorts:
description: NodePorts are the most basic network available.
NodePorts use the networks available on the hosts of kubernetes
nodes. This generally works from within a pod, and from
the internal network of the nodes, but may fail from public
network. https://kubernetes.io/docs/concepts/services-networking/service/#nodeport
items:
type: string
type: array
podPorts:
description: 'PodPorts are the second most basic network address.
Every pod has an IP in the cluster and the pods network
is a mesh so the operator running inside a pod in the cluster
can use this address. Note: pod IPs are not guaranteed to
persist over restarts, so should be rediscovered. Note2:
when running the operator outside of the cluster, pod IP
is not accessible.'
items:
type: string
type: array
type: object
serviceS3:
description: ServiceStatus is the status info and network addresses
of a service
properties:
externalDNS:
description: ExternalDNS are external public addresses for
the service
items:
type: string
type: array
externalIP:
description: ExternalIP are external public addresses for
the service LoadBalancerPorts such as AWS ELB provide public
address and load balancing for the service IngressPorts
are manually created public addresses for the service https://kubernetes.io/docs/concepts/services-networking/service/#external-ips
https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
https://kubernetes.io/docs/concepts/services-networking/ingress/
items:
type: string
type: array
internalDNS:
description: InternalDNS are internal addresses of the service
inside the cluster
items:
type: string
type: array
internalIP:
description: InternalIP are internal addresses of the service
inside the cluster https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
items:
type: string
type: array
nodePorts:
description: NodePorts are the most basic network available.
NodePorts use the networks available on the hosts of kubernetes
nodes. This generally works from within a pod, and from
the internal network of the nodes, but may fail from public
network. https://kubernetes.io/docs/concepts/services-networking/service/#nodeport
items:
type: string
type: array
podPorts:
description: 'PodPorts are the second most basic network address.
Every pod has an IP in the cluster and the pods network
is a mesh so the operator running inside a pod in the cluster
can use this address. Note: pod IPs are not guaranteed to
persist over restarts, so should be rediscovered. Note2:
when running the operator outside of the cluster, pod IP
is not accessible.'
items:
type: string
type: array
type: object
serviceSts:
description: ServiceStatus is the status info and network addresses
of a service
properties:
externalDNS:
description: ExternalDNS are external public addresses for
the service
items:
type: string
type: array
externalIP:
description: ExternalIP are external public addresses for
the service LoadBalancerPorts such as AWS ELB provide public
address and load balancing for the service IngressPorts
are manually created public addresses for the service https://kubernetes.io/docs/concepts/services-networking/service/#external-ips
https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
https://kubernetes.io/docs/concepts/services-networking/ingress/
items:
type: string
type: array
internalDNS:
description: InternalDNS are internal addresses of the service
inside the cluster
items:
type: string
type: array
internalIP:
description: InternalIP are internal addresses of the service
inside the cluster https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
items:
type: string
type: array
nodePorts:
description: NodePorts are the most basic network available.
NodePorts use the networks available on the hosts of kubernetes
nodes. This generally works from within a pod, and from
the internal network of the nodes, but may fail from public
network. https://kubernetes.io/docs/concepts/services-networking/service/#nodeport
items:
type: string
type: array
podPorts:
description: 'PodPorts are the second most basic network address.
Every pod has an IP in the cluster and the pods network
is a mesh so the operator running inside a pod in the cluster
can use this address. Note: pod IPs are not guaranteed to
persist over restarts, so should be rediscovered. Note2:
when running the operator outside of the cluster, pod IP
is not accessible.'
items:
type: string
type: array
type: object
required:
- serviceMgmt
- serviceS3
type: object
upgradePhase:
description: Upgrade reports the status of the ongoing upgrade process
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
`
View Source
const File_deploy_crds_noobaa_io_v1alpha1_backingstore_cr_yaml = `apiVersion: noobaa.io/v1alpha1
kind: BackingStore
metadata:
name: default
spec:
`
View Source
const File_deploy_crds_noobaa_io_v1alpha1_bucketclass_cr_yaml = `apiVersion: noobaa.io/v1alpha1
kind: BucketClass
metadata:
name: default
spec:
`
View Source
const File_deploy_crds_noobaa_io_v1alpha1_namespacestore_cr_yaml = `apiVersion: noobaa.io/v1alpha1
kind: NamespaceStore
metadata:
name: default
spec:
`
View Source
const File_deploy_crds_noobaa_io_v1alpha1_noobaa_cr_yaml = `apiVersion: noobaa.io/v1alpha1
kind: NooBaa
metadata:
name: noobaa
spec: {}
`
View Source
const File_deploy_crds_noobaa_io_v1alpha1_noobaaaccount_cr_yaml = `apiVersion: noobaa.io/v1alpha1
kind: NooBaaAccount
metadata:
name: default
spec: {}
`
View Source
const File_deploy_internal_admission_webhook_yaml = `` /* 1240-byte string literal not displayed */
View Source
const File_deploy_internal_ceph_objectstore_user_yaml = `` /* 128-byte string literal not displayed */
View Source
const File_deploy_internal_cloud_creds_aws_cr_yaml = `` /* 625-byte string literal not displayed */
View Source
const File_deploy_internal_cloud_creds_azure_cr_yaml = `` /* 429-byte string literal not displayed */
View Source
const File_deploy_internal_cloud_creds_gcp_cr_yaml = `` /* 425-byte string literal not displayed */
View Source
const File_deploy_internal_configmap_empty_yaml = `apiVersion: v1
kind: ConfigMap
metadata:
labels:
app: noobaa
data: {}
`
View Source
const File_deploy_internal_configmap_postgres_db_yaml = `` /* 662-byte string literal not displayed */
View Source
const File_deploy_internal_configmap_postgres_initdb_yaml = `` /* 1423-byte string literal not displayed */
View Source
const File_deploy_internal_deployment_endpoint_yaml = `` /* 3773-byte string literal not displayed */
View Source
const File_deploy_internal_hpa_endpoint_yaml = `` /* 283-byte string literal not displayed */
View Source
const File_deploy_internal_job_upgrade_db_yaml = `` /* 669-byte string literal not displayed */
View Source
const File_deploy_internal_pod_agent_yaml = `` /* 1138-byte string literal not displayed */
View Source
const File_deploy_internal_prometheus_rules_yaml = `` /* 7468-byte string literal not displayed */
View Source
const File_deploy_internal_pvc_agent_yaml = `` /* 191-byte string literal not displayed */
View Source
const File_deploy_internal_route_mgmt_yaml = `` /* 306-byte string literal not displayed */
View Source
const File_deploy_internal_route_s3_yaml = `` /* 283-byte string literal not displayed */
View Source
const File_deploy_internal_route_sts_yaml = `` /* 245-byte string literal not displayed */
View Source
const File_deploy_internal_secret_empty_yaml = `apiVersion: v1
kind: Secret
metadata:
labels:
app: noobaa
type: Opaque
data: {}
`
View Source
const File_deploy_internal_service_admission_webhook_yaml = `` /* 185-byte string literal not displayed */
View Source
const File_deploy_internal_service_db_yaml = `` /* 391-byte string literal not displayed */
View Source
const File_deploy_internal_service_mgmt_yaml = `` /* 664-byte string literal not displayed */
View Source
const File_deploy_internal_service_s3_yaml = `` /* 540-byte string literal not displayed */
View Source
const File_deploy_internal_service_sts_yaml = `` /* 210-byte string literal not displayed */
View Source
const File_deploy_internal_servicemonitor_mgmt_yaml = `` /* 370-byte string literal not displayed */
View Source
const File_deploy_internal_servicemonitor_s3_yaml = `` /* 258-byte string literal not displayed */
View Source
const File_deploy_internal_statefulset_core_yaml = `` /* 4246-byte string literal not displayed */
View Source
const File_deploy_internal_statefulset_db_yaml = `` /* 1675-byte string literal not displayed */
View Source
const File_deploy_internal_statefulset_postgres_db_yaml = `` /* 3292-byte string literal not displayed */
View Source
const File_deploy_internal_text_system_status_readme_progress_tmpl = `` /* 555-byte string literal not displayed */
View Source
const File_deploy_internal_text_system_status_readme_ready_tmpl = `` /* 1198-byte string literal not displayed */
View Source
const File_deploy_internal_text_system_status_readme_rejected_tmpl = `` /* 506-byte string literal not displayed */
View Source
const File_deploy_namespace_yaml = `apiVersion: v1
kind: Namespace
metadata:
name: noobaa
labels:
openshift.io/cluster-monitoring: "true"
`
View Source
const File_deploy_obc_lib_bucket_provisioner_package_yaml = `` /* 130-byte string literal not displayed */
View Source
const File_deploy_obc_lib_bucket_provisioner_v1_0_0_clusterserviceversion_yaml = `` /* 173351-byte string literal not displayed */
View Source
const File_deploy_obc_objectbucket_io_objectbucketclaims_crd_yaml = `` /* 3560-byte string literal not displayed */
View Source
const File_deploy_obc_objectbucket_io_objectbuckets_crd_yaml = `` /* 4490-byte string literal not displayed */
View Source
const File_deploy_obc_objectbucket_v1alpha1_objectbucket_cr_yaml = `` /* 378-byte string literal not displayed */
View Source
const File_deploy_obc_objectbucket_v1alpha1_objectbucketclaim_cr_yaml = `` /* 204-byte string literal not displayed */
View Source
const File_deploy_obc_storage_class_yaml = `` /* 209-byte string literal not displayed */
View Source
const File_deploy_olm_catalog_source_yaml = `` /* 190-byte string literal not displayed */
View Source
const File_deploy_olm_csv_config_yaml = `role-paths:
- deploy/role.yaml
- deploy/cluster_role.yaml
`
View Source
const File_deploy_olm_description_md = `The noobaa operator creates and reconciles a NooBaa system in a Kubernetes/Openshift cluster.
NooBaa provides an S3 object-store service abstraction and data placement policies to create hybrid and multi cloud data solutions.
For more information on using NooBaa refer to [Github](https://github.com/noobaa/noobaa-core) / [Website](https://www.noobaa.io) / [Articles](https://noobaa.desk.com).
## How does it work?
- The operator deploys the noobaa core pod and two services - Mgmt (UI/API) and S3 (object-store).
- Both services require credentials which you will get from a secret that the operator creates - use describe noobaa to locate it.
- The service addresses will also appear in the describe output - pick the one that is suitable for your client:
- minikube - use the NodePort address.
- remote cluster - probably need one of the External addresses.
- connect an application on the same cluster - use Internal DNS (though any address should work)
- Feel free to email us or open github issues on any question.
## Getting Started
### Notes:
- The following instructions are for **minikube** but it works on any Kubernetes/Openshift clusters.
- This will setup noobaa in the **my-noobaa-operator** namespace.
- You will need **jq**, **curl**, **kubectl** or **oc**, **aws-cli**.
### 1. Install OLM (if you don't have it already):
` + "`" + `` + "`" + `` + "`" + `
curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.12.0/install.sh | bash -s 0.12.0
` + "`" + `` + "`" + `` + "`" + `
### 2. Install noobaa-operator:
` + "`" + `` + "`" + `` + "`" + `
kubectl create -f https://operatorhub.io/install/noobaa-operator.yaml
` + "`" + `` + "`" + `` + "`" + `
Wait for it to be ready:
` + "`" + `` + "`" + `` + "`" + `
kubectl wait pod -n my-noobaa-operator -l noobaa-operator --for=condition=ready
` + "`" + `` + "`" + `` + "`" + `
### 3. Create noobaa system:
` + "`" + `` + "`" + `` + "`" + `
curl -sL https://operatorhub.io/api/operator?packageName=noobaa-operator |
jq '.operator.customResourceDefinitions[0].yamlExample | .metadata.namespace="my-noobaa-operator"' |
kubectl create -f -
` + "`" + `` + "`" + `` + "`" + `
Wait for it to be ready:
` + "`" + `` + "`" + `` + "`" + `
kubectl wait pod -n my-noobaa-operator -l noobaa-core --for=condition=ready
kubectl get noobaa -n my-noobaa-operator -w
# NAME PHASE MGMT-ENDPOINTS S3-ENDPOINTS IMAGE AGE
# noobaa **Ready** [https://192.168.64.12:31121] [https://192.168.64.12:32557] noobaa/noobaa-core:4.0 19m
` + "`" + `` + "`" + `` + "`" + `
### 4. Get system information to your shell:
` + "`" + `` + "`" + `` + "`" + `
NOOBAA_SECRET=$(kubectl get noobaa noobaa -n my-noobaa-operator -o json | jq -r '.status.accounts.admin.secretRef.name' )
NOOBAA_MGMT=$(kubectl get noobaa noobaa -n my-noobaa-operator -o json | jq -r '.status.services.serviceMgmt.nodePorts[0]' )
NOOBAA_S3=$(kubectl get noobaa noobaa -n my-noobaa-operator -o json | jq -r '.status.services.serviceS3.nodePorts[0]' )
NOOBAA_ACCESS_KEY=$(kubectl get secret $NOOBAA_SECRET -n my-noobaa-operator -o json | jq -r '.data.AWS_ACCESS_KEY_ID|@base64d')
NOOBAA_SECRET_KEY=$(kubectl get secret $NOOBAA_SECRET -n my-noobaa-operator -o json | jq -r '.data.AWS_SECRET_ACCESS_KEY|@base64d')
` + "`" + `` + "`" + `` + "`" + `
### 5. Connect to Mgmt UI:
` + "`" + `` + "`" + `` + "`" + `
# show email/password from the secret:
kubectl get secret $NOOBAA_SECRET -n my-noobaa-operator -o json | jq '.data|map_values(@base64d)'
# open mgmt UI login:
open $NOOBAA_MGMT
` + "`" + `` + "`" + `` + "`" + `
### 6. Connect to S3 with aws-cli:
` + "`" + `` + "`" + `` + "`" + `
alias s3='AWS_ACCESS_KEY_ID=$NOOBAA_ACCESS_KEY AWS_SECRET_ACCESS_KEY=$NOOBAA_SECRET_KEY aws --endpoint $NOOBAA_S3 --no-verify-ssl s3'
s3 ls
s3 sync /var/log/ s3://first.bucket
s3 ls s3://first.bucket
` + "`" + `` + "`" + `` + "`" + `
`
View Source
const File_deploy_olm_noobaa_icon_base64 = `` /* 24048-byte string literal not displayed */
View Source
const File_deploy_olm_noobaa_operator_clusterserviceversion_yaml = `` /* 1577-byte string literal not displayed */
View Source
const File_deploy_olm_operator_group_yaml = `` /* 155-byte string literal not displayed */
View Source
const File_deploy_olm_operator_source_yaml = `` /* 264-byte string literal not displayed */
View Source
const File_deploy_olm_operator_subscription_yaml = `` /* 237-byte string literal not displayed */
View Source
const File_deploy_operator_yaml = `` /* 1149-byte string literal not displayed */
View Source
const File_deploy_role_binding_endpoint_yaml = `` /* 238-byte string literal not displayed */
View Source
const File_deploy_role_binding_yaml = `` /* 211-byte string literal not displayed */
View Source
const File_deploy_role_endpoint_yaml = `` /* 715-byte string literal not displayed */
View Source
const File_deploy_role_ui_yaml = `` /* 227-byte string literal not displayed */
View Source
const File_deploy_role_yaml = `` /* 1887-byte string literal not displayed */
View Source
const File_deploy_scc_endpoint_yaml = `` /* 729-byte string literal not displayed */
View Source
const File_deploy_scc_yaml = `` /* 715-byte string literal not displayed */
View Source
const File_deploy_service_account_endpoint_yaml = `apiVersion: v1
kind: ServiceAccount
metadata:
name: noobaa-endpoint
`
View Source
const File_deploy_service_account_ui_yaml = `apiVersion: v1
kind: ServiceAccount
metadata:
name: noobaa-odf-ui
`
View Source
const File_deploy_service_account_yaml = `` /* 250-byte string literal not displayed */
View Source
const Sha256_deploy_cluster_role_binding_yaml = "15c78355aefdceaf577bd96b4ae949ae424a3febdc8853be0917cf89a63941fc"
View Source
const Sha256_deploy_cluster_role_yaml = "b3be23b51cbfad068dcf49bffa5f6af04c99dfc9623e2656f872e5f0643a8aeb"
View Source
const Sha256_deploy_crds_noobaa_io_backingstores_crd_yaml = "21d7000fc44c8205f57d01bf5a5489e8822d078230ee749876ea86890947b5b9"
View Source
const Sha256_deploy_crds_noobaa_io_bucketclasses_crd_yaml = "f61325186856036886a6758a34b1770d12d16a6fec1feca58e2fa6dc5921fe49"
View Source
const Sha256_deploy_crds_noobaa_io_namespacestores_crd_yaml = "f7541d48fbef88f3eefaa1b70dbbdfdc45182121b6286e2cca2017f09685d009"
View Source
const Sha256_deploy_crds_noobaa_io_noobaaaccounts_crd_yaml = "7526b82c1d939e8876604ca7f4893ac83eca229061b05df7b8886fd08685bea7"
View Source
const Sha256_deploy_crds_noobaa_io_noobaas_crd_yaml = "8b54bf712425e99e288c40417e1b7d722e86ba551e5d562210cd269215c0ac4a"
View Source
const Sha256_deploy_crds_noobaa_io_v1alpha1_backingstore_cr_yaml = "84ca6f2a35a413e74a51375bd0ec31c33bb76a00de8e0ef8d02a7798e02ec460"
View Source
const Sha256_deploy_crds_noobaa_io_v1alpha1_bucketclass_cr_yaml = "fc6047d603b8275240b1d2dc12efa32a977a83edfff4ab565e92c6523a5d8b70"
View Source
const Sha256_deploy_crds_noobaa_io_v1alpha1_namespacestore_cr_yaml = "0938c22769bd9f2759d0ffd33b04a4650ec84dcd73508d9ef368f5908c1caec4"
View Source
const Sha256_deploy_crds_noobaa_io_v1alpha1_noobaa_cr_yaml = "498c2013757409432cfd98b21a5934bccf506f1af1b885241db327024aa450fd"
View Source
const Sha256_deploy_crds_noobaa_io_v1alpha1_noobaaaccount_cr_yaml = "69085515e8d16eaa9f320a32f2881cbd93d232bfbb072eef8692896a86f7b6dd"
View Source
const Sha256_deploy_internal_admission_webhook_yaml = "a9d71b881748ed66ec0447d16a41fc7004a3db0634e455f10e5ed41f4c010f47"
View Source
const Sha256_deploy_internal_ceph_objectstore_user_yaml = "655f33a1e3053847a298294d67d7db647d26fd11d1df7e229af718a8308bbd8e"
View Source
const Sha256_deploy_internal_cloud_creds_aws_cr_yaml = "8e4159bc3470c135b611b6d9f4338612be0e6ea381d5061cc79e84a7eec0ab6a"
View Source
const Sha256_deploy_internal_cloud_creds_azure_cr_yaml = "e9a8455b8657869be6e8a107519f3d1cfab36a536c479d6688eef6981262946a"
View Source
const Sha256_deploy_internal_cloud_creds_gcp_cr_yaml = "f4415e851da03426e8c31a7cb5b904b4438d958a5297c70b967ca6c2881d360f"
View Source
const Sha256_deploy_internal_configmap_empty_yaml = "6405c531c6522ecd54808f5cb531c1001b9ad01a73917427c523a92be44f348f"
View Source
const Sha256_deploy_internal_configmap_postgres_db_yaml = "afe8a865abf2b033229df9dcea392abc1cb27df965d5ff0181f6d931504dce4e"
View Source
const Sha256_deploy_internal_configmap_postgres_initdb_yaml = "016881f9a5e0561dbf10e7034dead0ee636556c162439d4d54c974a65253357c"
View Source
const Sha256_deploy_internal_deployment_endpoint_yaml = "6adfd84b4ec66fa67d259195abed8c8d675dd469a9ef93a6a7fb623650f4b3da"
View Source
const Sha256_deploy_internal_hpa_endpoint_yaml = "5f6d756b2a8a7419b0d3b103c0289e911cba08748da2d36db0c0c7e497e6f423"
View Source
const Sha256_deploy_internal_job_upgrade_db_yaml = "4ae1ae1f6009e578ea4cc937c305068dd8f21b93b0d7fd43350628e84725f337"
View Source
const Sha256_deploy_internal_pod_agent_yaml = "204e11eea569564b507010d13c43a2d3ad5feae9e86666a08904508eab231830"
View Source
const Sha256_deploy_internal_prometheus_rules_yaml = "020543cc2d0cae0cec95afc569bca77511e1d8d2d09969b8f303fa7b1c977935"
View Source
const Sha256_deploy_internal_pvc_agent_yaml = "c76fd98867e2e098204377899568a6e1e60062ece903c7bcbeb3444193ec13f8"
View Source
const Sha256_deploy_internal_route_mgmt_yaml = "1d462d165da5a660b85900e46a11e4d1a53e1498bf9d086b4b68afdceab08394"
View Source
const Sha256_deploy_internal_route_s3_yaml = "16050267fd5cb0a34ff7b4d849a601d2583da1a11394a94f38c4f066c1613f34"
View Source
const Sha256_deploy_internal_route_sts_yaml = "a593179d9e3864dbc953e61cae744cd747ddd41aeb524248597f8f932680854e"
View Source
const Sha256_deploy_internal_secret_empty_yaml = "d63aaeaf7f9c7c1421fcc138ee2f31d2461de0dec2f68120bc9cce367d4d4186"
View Source
const Sha256_deploy_internal_service_admission_webhook_yaml = "810a70b263d44621713864aa6e6e72e6079bbdc02f6e2b9143ba9ebf4ab52102"
View Source
const Sha256_deploy_internal_service_db_yaml = "64559363daddd9caf781f104b876b33fb63e4f2551570e73bdb2bfae736f33ee"
View Source
const Sha256_deploy_internal_service_mgmt_yaml = "89c34cdc0078bec5fdd4146775838248fccfb30032ffe8279e62b460a3856204"
View Source
const Sha256_deploy_internal_service_s3_yaml = "df7d8c8ee81b820678b7d8648b26c6cf86da6be00caedad052c3848db5480c37"
View Source
const Sha256_deploy_internal_service_sts_yaml = "51e73a53da81ceaad02fb6380658dee5375b824183aba1a27c83251ce62bccb6"
View Source
const Sha256_deploy_internal_servicemonitor_mgmt_yaml = "172b25b71872e74fb32ecf32b9c68d41cc60d155cb469ed5ecf7ad282f3e597a"
View Source
const Sha256_deploy_internal_servicemonitor_s3_yaml = "e3940bdfdfbaf5cacefa51f92623ffb00e5360e58640c67558b5cf5135edd57f"
View Source
const Sha256_deploy_internal_statefulset_core_yaml = "3b0aec2d946e02a9d8b44b8f191c335be33a75c8c2d2dc2f04c64cf37ecbfa3f"
View Source
const Sha256_deploy_internal_statefulset_db_yaml = "3de515b92c4892045b4e9c0ad8d0b69eaf198b7708818cd9e58c5e4cb53e2073"
View Source
const Sha256_deploy_internal_statefulset_postgres_db_yaml = "2cd6f3fdb0087481d8d692dece6f68e5d75fd4f46233db7b1e37c1c3665233c7"
View Source
const Sha256_deploy_internal_text_system_status_readme_progress_tmpl = "d26aa1028e4a235018cc46e00392d3209d3e09e8320f3692be6346a9cfdf289a"
View Source
const Sha256_deploy_internal_text_system_status_readme_ready_tmpl = "ed4077141304bbf69b08401f314b70c381523c60a7e18211576ba5275a286c30"
View Source
const Sha256_deploy_internal_text_system_status_readme_rejected_tmpl = "32d46b0a1eadbe10501b2b3a6529503c76c0c77e25464f56f4ee9fd9115100c4"
View Source
const Sha256_deploy_namespace_yaml = "303398323535d7f8229cb1a5378ad019cf4fa7930891688e3eea55c77e7bf69a"
View Source
const Sha256_deploy_obc_lib_bucket_provisioner_package_yaml = "26eed5792ad7e75fa7e02329e648efff0be25f33595dcc1b4671fb99758f7cc0"
View Source
const Sha256_deploy_obc_lib_bucket_provisioner_v1_0_0_clusterserviceversion_yaml = "aee3bfbb7be1965fbe6ec0741802d84fc81f3b47ea213c1c8bb1bb2c3eb130b6"
View Source
const Sha256_deploy_obc_objectbucket_io_objectbucketclaims_crd_yaml = "e0822d03a3670e12981ba36697b0e8746368e66f561005f66134a481429966fb"
View Source
const Sha256_deploy_obc_objectbucket_io_objectbuckets_crd_yaml = "a1da53a81af9a94b7cc6ac677d0f5bb181b8b34dad92338a94228722067b4361"
View Source
const Sha256_deploy_obc_objectbucket_v1alpha1_objectbucket_cr_yaml = "0246e12a1337b2f68d408ff688b55fd6116bc7cd8f877e06d36e00d7255a81f9"
View Source
const Sha256_deploy_obc_objectbucket_v1alpha1_objectbucketclaim_cr_yaml = "1a4391ac6d7393a2d3fba47f18c1097506a3f1f27bf6309c18897e30de9ec8c8"
View Source
const Sha256_deploy_obc_storage_class_yaml = "d84f84e94b6802c1ae96a9ed473d04ac1fb968f41d368c4cb7d438b75a8ceeb4"
View Source
const Sha256_deploy_olm_catalog_source_yaml = "7e8580ab7a46eac1f975cc8b77010e065a7b9e516fba18eb1486d790de7aa6d5"
View Source
const Sha256_deploy_olm_csv_config_yaml = "7902c00f83ed852ecb10b9ba2602e5c0271fc4f94afdc81dc757198942c63217"
View Source
const Sha256_deploy_olm_description_md = "e821fdae5dc993ff1bf79e6393aa965ba9d2d9488462e47ebe2daff6bb83bf2e"
View Source
const Sha256_deploy_olm_noobaa_icon_base64 = "4684eb3f4be354c728e210364a7e5e6806b68acb945b6e129ebc4d75fd97073c"
View Source
const Sha256_deploy_olm_noobaa_operator_clusterserviceversion_yaml = "b9bb7c35dacebb254fddffe38f7d2f79021605207ebe9fa7ac621fd780abc577"
View Source
const Sha256_deploy_olm_operator_group_yaml = "6a81a348f305328e33cea2dd4fa6b16581995c323b8cd2e8c698fdecabe750bb"
View Source
const Sha256_deploy_olm_operator_source_yaml = "2f5cc3b1bec5332087fd6f3b80f0769c404a513d061ef822604fb87b6f301f30"
View Source
const Sha256_deploy_olm_operator_subscription_yaml = "77611fd0b8ec510d277f3f9cb7eb7f8845f2b0fda04732bf9111887d2855d7d3"
View Source
const Sha256_deploy_operator_yaml = "2870838f688bf1691d85c64dc5e302eb6575996427c7cfdb7143f322ff0dbd18"
View Source
const Sha256_deploy_role_binding_endpoint_yaml = "ab85a33434b0a5fb685fb4983a9d97313e277a5ec8a2142e49c276d51b8ba0e9"
View Source
const Sha256_deploy_role_binding_yaml = "59a2627156ed3db9cd1a4d9c47e8c1044279c65e84d79c525e51274329cb16ff"
View Source
const Sha256_deploy_role_endpoint_yaml = "27ace6cdcae4d87add5ae79265c4eee9d247e5910fc8a74368139d31add6dac2"
View Source
const Sha256_deploy_role_ui_yaml = "49d210f2ec7facbd486e6ac96515c1d2886f26afe6f7155be3994b4f0b1d0311"
View Source
const Sha256_deploy_role_yaml = "eb0941a5e095fa7ac391e05782e6847e419e4d0dc17f6d8151df0032c977c743"
View Source
const Sha256_deploy_scc_endpoint_yaml = "27642f221c6289dff59734f9368aa5dcb3b10fe6c98de8aba2bfb71807c30c66"
View Source
const Sha256_deploy_scc_yaml = "cbb071961f7dd77e5bdca7e36b89e1e1982265c4e7dc95f00109d0acc64a3c06"
View Source
const Sha256_deploy_service_account_endpoint_yaml = "c2331e027114658e48a2bd1139b00cce06dfd834aa682eae923de54874a6baed"
View Source
const Sha256_deploy_service_account_ui_yaml = "d6cb0e92fdb350148399e1ac42bfa640e254bdbb295c9a15dc9edfd4335e73f6"
View Source
const Sha256_deploy_service_account_yaml = "7c68e5bd65c614787d7d4cdf80db8c14d9159ce8e940c5134d33d21dbe66893f"
View Source
const Version = "5.10.0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.