Skip to content

Commit ccdf309

Browse files
authored
[Feature] [ML] Release V1Beta1 API (#1658)
1 parent 1a81cf4 commit ccdf309

File tree

163 files changed

+32040
-220
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+32040
-220
lines changed

.golangci.yaml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,26 +41,40 @@ linters-settings:
4141
alias: policy
4242
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/shared/v1
4343
alias: sharedApi
44-
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1
44+
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1
4545
alias: schedulerApi
46+
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/profiles
47+
alias: schedulerProfilesv1beta1
48+
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/container
49+
alias: schedulerContainerApi
50+
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/container/resources
51+
alias: schedulerContainerResourcesApi
52+
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/pod
53+
alias: schedulerPodApi
54+
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/pod/resources
55+
alias: schedulerPodResourcesApi
56+
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1
57+
alias: schedulerApiv1alpha1
4658
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/profiles
47-
alias: schedulerProfiles
59+
alias: schedulerProfilesv1alpha1
4860
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/container
49-
alias: schedulerContainerApi
61+
alias: schedulerContainerApiv1alpha1
5062
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/container/resources
51-
alias: schedulerContainerResourcesApi
63+
alias: schedulerContainerResourcesApiv1alpha1
5264
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/pod
53-
alias: schedulerPodApi
65+
alias: schedulerPodApiv1alpha1
5466
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/pod/resources
55-
alias: schedulerPodResourcesApi
67+
alias: schedulerPodResourcesApiv1alpha1
5668
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/shared
5769
alias: shared
5870
- pkg: github.com/arangodb/kube-arangodb/pkg/handlers/enterprise/ml/shared
5971
alias: mlShared
6072
- pkg: github.com/arangodb/kube-arangodb/pkg/handlers/enterprise/ml/shared/test
6173
alias: mlSharedTests
62-
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/ml/v1alpha1
74+
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/ml/v1beta1
6375
alias: mlApi
76+
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/ml/v1alpha1
77+
alias: mlApiv1alpha1
6478
- pkg: github.com/arangodb/kube-arangodb/integrations/scheduler/v1/definition
6579
alias: pbSchedulerV1
6680
- pkg: github.com/arangodb/kube-arangodb/integrations/scheduler/v1

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- (Feature) (ML) Add TLS Secrets
1111
- (Feature) (ML) Allow to change API port
1212
- (Feature) (ML) Enable TLS
13+
- (Feature) (ML) Release V1Beta1 API
1314

1415
## [1.2.40](https://github.com/arangodb/kube-arangodb/tree/1.2.40) (2024-04-10)
1516
- (Feature) Add Core fields to the Scheduler Container Spec

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,14 +431,15 @@ update-generated:
431431
"client lister informer deepcopy" \
432432
"github.com/arangodb/kube-arangodb/pkg/generated" \
433433
"github.com/arangodb/kube-arangodb/pkg/apis" \
434-
"deployment:v1 replication:v1 storage:v1alpha backup:v1 deployment:v2alpha1 replication:v2alpha1 apps:v1 ml:v1alpha1 scheduler:v1alpha1" \
434+
"deployment:v1 replication:v1 storage:v1alpha backup:v1 deployment:v2alpha1 replication:v2alpha1 apps:v1 ml:v1alpha1 ml:v1beta1 scheduler:v1alpha1 scheduler:v1beta1" \
435435
--go-header-file "./tools/codegen/boilerplate.go.txt" \
436436
$(VERIFYARGS)
437437
GOPATH=$(GOBUILDDIR) $(VENDORDIR)/k8s.io/code-generator/generate-groups.sh \
438438
"deepcopy" \
439439
"github.com/arangodb/kube-arangodb/pkg/generated" \
440440
"github.com/arangodb/kube-arangodb/pkg/apis" \
441-
"shared:v1 scheduler:v1alpha1/container scheduler:v1alpha1/container/resources scheduler:v1alpha1/pod scheduler:v1alpha1/pod/resources" \
441+
"shared:v1 scheduler:v1alpha1/container scheduler:v1alpha1/container/resources scheduler:v1alpha1/pod scheduler:v1alpha1/pod/resources\
442+
shared:v1 scheduler:v1beta1/container scheduler:v1beta1/container/resources scheduler:v1beta1/pod scheduler:v1beta1/pod/resources" \
442443
--go-header-file "./tools/codegen/boilerplate.go.txt" \
443444
$(VERIFYARGS)
444445

chart/kube-arangodb/crds/ml-extension.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ spec:
1212
scope: Namespaced
1313
versions:
1414
- name: v1alpha1
15+
schema:
16+
openAPIV3Schema:
17+
type: object
18+
x-kubernetes-preserve-unknown-fields: true
19+
served: true
20+
storage: false
21+
subresources:
22+
status: {}
23+
- name: v1beta1
1524
schema:
1625
openAPIV3Schema:
1726
type: object

chart/kube-arangodb/crds/ml-storage.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ spec:
1212
scope: Namespaced
1313
versions:
1414
- name: v1alpha1
15+
schema:
16+
openAPIV3Schema:
17+
type: object
18+
x-kubernetes-preserve-unknown-fields: true
19+
served: true
20+
storage: false
21+
subresources:
22+
status: {}
23+
- name: v1beta1
1524
schema:
1625
openAPIV3Schema:
1726
type: object

chart/kube-arangodb/crds/scheduler-profile.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ spec:
1212
scope: Namespaced
1313
versions:
1414
- name: v1alpha1
15+
schema:
16+
openAPIV3Schema:
17+
type: object
18+
x-kubernetes-preserve-unknown-fields: true
19+
served: true
20+
storage: false
21+
subresources:
22+
status: {}
23+
- name: v1beta1
1524
schema:
1625
openAPIV3Schema:
1726
type: object

0 commit comments

Comments
 (0)