Skip to content

Commit

Permalink
build(manifests): 🐳 update manifests and chart for v0.2.6-alpha.14.8
Browse files Browse the repository at this point in the history
  • Loading branch information
tunahanertekin committed Jan 2, 2024
1 parent d9c973a commit b46dfa8
Show file tree
Hide file tree
Showing 12 changed files with 1,609 additions and 6 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
<a name="unreleased"></a>
## [Unreleased]

### Feat
- **notebook:** integrate jupyter notebook

### Fix
- **service:** update service path


<a name="v0.2.6-alpha.14.7"></a>
## [v0.2.6-alpha.14.7] - 2023-12-25

<a name="v0.2.6-alpha.14.6"></a>
## [v0.2.6-alpha.14.6] - 2023-12-13
Expand Down Expand Up @@ -374,7 +383,8 @@
- Merge pull request [#24](https://github.com/robolaunch/robot-operator/issues/24) from robolaunch/23-allow-multiple-launches


[Unreleased]: https://github.com/robolaunch/robot-operator/compare/v0.2.6-alpha.14.6...HEAD
[Unreleased]: https://github.com/robolaunch/robot-operator/compare/v0.2.6-alpha.14.7...HEAD
[v0.2.6-alpha.14.7]: https://github.com/robolaunch/robot-operator/compare/v0.2.6-alpha.14.6...v0.2.6-alpha.14.7
[v0.2.6-alpha.14.6]: https://github.com/robolaunch/robot-operator/compare/v0.2.6-alpha.14.5...v0.2.6-alpha.14.6
[v0.2.6-alpha.14.5]: https://github.com/robolaunch/robot-operator/compare/v0.2.6-alpha.14.4...v0.2.6-alpha.14.5
[v0.2.6-alpha.14.4]: https://github.com/robolaunch/robot-operator/compare/v0.2.6-alpha.14.3...v0.2.6-alpha.14.4
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: robolaunchio/robot-controller-manager
newTag: v0.2.6-alpha.14.7
newTag: v0.2.6-alpha.14.8
4 changes: 2 additions & 2 deletions hack/deploy/chart/robot-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.6-alpha.14.7
version: 0.2.6-alpha.14.8
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v0.2.6-alpha.14.7"
appVersion: "v0.2.6-alpha.14.8"
26 changes: 26 additions & 0 deletions hack/deploy/chart/robot-operator/templates/manager-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,32 @@ rules:
- get
- patch
- update
- apiGroups:
- robot.roboscale.io
resources:
- notebooks
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- robot.roboscale.io
resources:
- notebooks/finalizers
verbs:
- update
- apiGroups:
- robot.roboscale.io
resources:
- notebooks/status
verbs:
- get
- patch
- update
- apiGroups:
- robot.roboscale.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,26 @@ metadata:
labels:
{{- include "robot-operator.labels" . | nindent 4 }}
webhooks:
- admissionReviewVersions:
- v1
clientConfig:
service:
name: '{{ include "robot-operator.fullname" . }}-webhook-service'
namespace: '{{ .Release.Namespace }}'
path: /mutate-robot-roboscale-io-v1alpha1-notebook
failurePolicy: Fail
name: mnotebook.kb.io
rules:
- apiGroups:
- robot.roboscale.io
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- notebooks
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
Expand Down
474 changes: 474 additions & 0 deletions hack/deploy/chart/robot-operator/templates/notebook-crd.yaml

Large diffs are not rendered by default.

183 changes: 183 additions & 0 deletions hack/deploy/chart/robot-operator/templates/robot-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,59 @@ spec:
description: If `true`, a Cloud IDE will be provisioned inside development
suite.
type: boolean
notebookEnabled:
description: If `true`, a Notebook will be provisioned inside development
suite.
type: boolean
notebookTemplate:
description: Configurational parameters of Notebook. Applied if
`.spec.notebookEnabled` is set to `true`.
properties:
display:
description: Notebook connects an X11 socket if it's set to
`true` and a target Notebook resource is set in labels with
key `robolaunch.io/target-vdi`. Applications that requires
GUI can be executed such as VLC.
type: boolean
ingress:
description: '[*alpha*] Notebook will create an Ingress resource
if `true`.'
type: boolean
privileged:
description: If `true`, containers of Notebook will be privileged
containers. It can be used in physical instances where it's
necessary to access I/O devices on the host machine. Not recommended
to activate this field on cloud instances.
type: boolean
resources:
description: Resource limitations of Notebook.
properties:
cpu:
description: CPU resource limit.
pattern: ^([0-9])+(m)$
type: string
gpuCore:
description: GPU core number that will be allocated.
type: integer
gpuInstance:
default: nvidia.com/gpu
description: GPU instance that will be allocated. eg. nvidia.com/mig-1g.5gb.
Defaults to "nvidia.com/gpu".
type: string
memory:
description: Memory resource limit.
pattern: ^([0-9])+(Mi|Gi)$
type: string
type: object
serviceType:
default: NodePort
description: Service type of Notebook. `ClusterIP` and `NodePort`
is supported.
enum:
- ClusterIP
- NodePort
type: string
type: object
remoteIDEEnabled:
description: If `true`, a relay server for remote Cloud IDE will
be provisioned inside development suite.
Expand Down Expand Up @@ -949,6 +1002,73 @@ spec:
description: '[*alpha*] Indicates if RobotDevSuite is attached
to a Robot and actively provisioned it''s resources.'
type: boolean
notebookStatus:
description: Status of Notebook.
properties:
connections:
additionalProperties:
type: string
description: Address of the robot service that can be
reached from outside.
type: object
resource:
description: Generic status for any owned resource.
properties:
created:
description: Shows if the owned resource is created.
type: boolean
phase:
description: Phase of the owned resource.
type: string
reference:
description: Reference to the owned resource.
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
x-kubernetes-map-type: atomic
required:
- created
type: object
type: object
phase:
description: Phase of RobotDevSuite.
type: string
Expand Down Expand Up @@ -1952,6 +2072,69 @@ spec:
description: '[*alpha*] Indicates if RobotDevSuite is attached
to a Robot and actively provisioned it''s resources.'
type: boolean
notebookStatus:
description: Status of Notebook.
properties:
connections:
additionalProperties:
type: string
description: Address of the robot service that can be reached
from outside.
type: object
resource:
description: Generic status for any owned resource.
properties:
created:
description: Shows if the owned resource is created.
type: boolean
phase:
description: Phase of the owned resource.
type: string
reference:
description: Reference to the owned resource.
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
x-kubernetes-map-type: atomic
required:
- created
type: object
type: object
phase:
description: Phase of RobotDevSuite.
type: string
Expand Down
53 changes: 53 additions & 0 deletions hack/deploy/chart/robot-operator/templates/robotartifact-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,59 @@ spec:
description: If `true`, a Cloud IDE will be provisioned inside development
suite.
type: boolean
notebookEnabled:
description: If `true`, a Notebook will be provisioned inside development
suite.
type: boolean
notebookTemplate:
description: Configurational parameters of Notebook. Applied if
`.spec.notebookEnabled` is set to `true`.
properties:
display:
description: Notebook connects an X11 socket if it's set to
`true` and a target Notebook resource is set in labels with
key `robolaunch.io/target-vdi`. Applications that requires
GUI can be executed such as VLC.
type: boolean
ingress:
description: '[*alpha*] Notebook will create an Ingress resource
if `true`.'
type: boolean
privileged:
description: If `true`, containers of Notebook will be privileged
containers. It can be used in physical instances where it's
necessary to access I/O devices on the host machine. Not recommended
to activate this field on cloud instances.
type: boolean
resources:
description: Resource limitations of Notebook.
properties:
cpu:
description: CPU resource limit.
pattern: ^([0-9])+(m)$
type: string
gpuCore:
description: GPU core number that will be allocated.
type: integer
gpuInstance:
default: nvidia.com/gpu
description: GPU instance that will be allocated. eg. nvidia.com/mig-1g.5gb.
Defaults to "nvidia.com/gpu".
type: string
memory:
description: Memory resource limit.
pattern: ^([0-9])+(Mi|Gi)$
type: string
type: object
serviceType:
default: NodePort
description: Service type of Notebook. `ClusterIP` and `NodePort`
is supported.
enum:
- ClusterIP
- NodePort
type: string
type: object
remoteIDEEnabled:
description: If `true`, a relay server for remote Cloud IDE will
be provisioned inside development suite.
Expand Down
Loading

0 comments on commit b46dfa8

Please sign in to comment.