-
Bug
-
Resolution: Duplicate
-
Undefined
-
rhos-18.0.2
-
None
-
False
-
-
False
-
?
-
None
-
-
-
Important
Currently, memcached service configuration doesn't have a nodeSelector.
~~~
properties:
enabled:
default: true
type: boolean
templates:
additionalProperties:
properties:
replicas:
default: 1
format: int32
type: integer
tls:
properties:
caBundleSecretName:
type: string
secretName:
type: string
type: object
type: object
type: object
type: object
~~~
The curious thing is infra-operator has the nodeSelector in config/crd/bases/memcached.openstack.org_memcacheds.yaml.
~~~
schema:
openAPIV3Schema:
description: Memcached is the Schema for the memcacheds 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: MemcachedSpec defines the desired state of Memcached
properties:
containerImage:
description: Name of the memcached container image to run (will be
set to environmental default if empty)
type: string
nodeSelector:
additionalProperties:
type: string
description: NodeSelector to target subset of worker nodes running
this service
type: object
replicas:
default: 1
description: Size of the memcached cluster
format: int32
maximum: 32
minimum: 1
type: integer
tls:
description: TLS settings for memcached service
properties:
caBundleSecretName:
description: CaBundleSecretName - holding the CA certs in a pre-created
bundle file
type: string
secretName:
description: SecretName - holding the cert, key for the service
type: string
type: object
required:
- containerImage
- replicas
type: object
~~~
- relates to
-
OSPRH-10734 Top level nodeSelector needs to be propagated to each service.
-
- Closed
-