Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
5ddc7f7d
Commit
5ddc7f7d
authored
Mar 04, 2025
by
Maksim Khadkevich
Committed by
GitHub
Mar 04, 2025
Browse files
feat: moved compoundAI operator, APIserver, and examples (#10)
parent
14ce7e03
Changes
239
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
924 additions
and
0 deletions
+924
-0
deploy/compoundai/operator/config/manager/manager.yaml
deploy/compoundai/operator/config/manager/manager.yaml
+106
-0
deploy/compoundai/operator/config/prometheus/kustomization.yaml
.../compoundai/operator/config/prometheus/kustomization.yaml
+17
-0
deploy/compoundai/operator/config/prometheus/monitor.yaml
deploy/compoundai/operator/config/prometheus/monitor.yaml
+40
-0
deploy/compoundai/operator/config/rbac/auth_proxy_client_clusterrole.yaml
...i/operator/config/rbac/auth_proxy_client_clusterrole.yaml
+31
-0
deploy/compoundai/operator/config/rbac/auth_proxy_role.yaml
deploy/compoundai/operator/config/rbac/auth_proxy_role.yaml
+39
-0
deploy/compoundai/operator/config/rbac/auth_proxy_role_binding.yaml
...poundai/operator/config/rbac/auth_proxy_role_binding.yaml
+34
-0
deploy/compoundai/operator/config/rbac/auth_proxy_service.yaml
...y/compoundai/operator/config/rbac/auth_proxy_service.yaml
+36
-0
deploy/compoundai/operator/config/rbac/compoundainim_editor_role.yaml
...undai/operator/config/rbac/compoundainim_editor_role.yaml
+42
-0
deploy/compoundai/operator/config/rbac/compoundainim_viewer_role.yaml
...undai/operator/config/rbac/compoundainim_viewer_role.yaml
+38
-0
deploy/compoundai/operator/config/rbac/compoundainimdeployment_editor_role.yaml
...ator/config/rbac/compoundainimdeployment_editor_role.yaml
+42
-0
deploy/compoundai/operator/config/rbac/compoundainimdeployment_viewer_role.yaml
...ator/config/rbac/compoundainimdeployment_viewer_role.yaml
+38
-0
deploy/compoundai/operator/config/rbac/compoundainimrequest_editor_role.yaml
...perator/config/rbac/compoundainimrequest_editor_role.yaml
+42
-0
deploy/compoundai/operator/config/rbac/compoundainimrequest_viewer_role.yaml
...perator/config/rbac/compoundainimrequest_viewer_role.yaml
+38
-0
deploy/compoundai/operator/config/rbac/kustomization.yaml
deploy/compoundai/operator/config/rbac/kustomization.yaml
+44
-0
deploy/compoundai/operator/config/rbac/leader_election_role.yaml
...compoundai/operator/config/rbac/leader_election_role.yaml
+59
-0
deploy/compoundai/operator/config/rbac/leader_election_role_binding.yaml
...ai/operator/config/rbac/leader_election_role_binding.yaml
+34
-0
deploy/compoundai/operator/config/rbac/role.yaml
deploy/compoundai/operator/config/rbac/role.yaml
+161
-0
deploy/compoundai/operator/config/rbac/role_binding.yaml
deploy/compoundai/operator/config/rbac/role_binding.yaml
+34
-0
deploy/compoundai/operator/config/rbac/service_account.yaml
deploy/compoundai/operator/config/rbac/service_account.yaml
+27
-0
deploy/compoundai/operator/config/samples/kustomization.yaml
deploy/compoundai/operator/config/samples/kustomization.yaml
+22
-0
No files found.
deploy/compoundai/operator/config/manager/manager.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
compoundai-controller-manager
namespace
:
system
labels
:
control-plane
:
controller-manager
app.kubernetes.io/name
:
deployment
app.kubernetes.io/instance
:
compoundai-controller-manager
app.kubernetes.io/component
:
manager
app.kubernetes.io/created-by
:
compoundai-kubernetes-operator
app.kubernetes.io/part-of
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
spec
:
selector
:
matchLabels
:
control-plane
:
controller-manager
replicas
:
1
template
:
metadata
:
annotations
:
kubectl.kubernetes.io/default-container
:
manager
labels
:
control-plane
:
controller-manager
spec
:
# TODO(user): Uncomment the following code to configure the nodeAffinity expression
# according to the platforms which are supported by your solution.
# It is considered best practice to support multiple architectures. You can
# build your manager image using the makefile target docker-buildx.
# affinity:
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: kubernetes.io/arch
# operator: In
# values:
# - amd64
# - arm64
# - ppc64le
# - s390x
# - key: kubernetes.io/os
# operator: In
# values:
# - linux
securityContext
:
runAsNonRoot
:
true
# TODO(user): For common cases that do not require escalating privileges
# it is recommended to ensure that all your Pods/Containers are restrictive.
# More info: https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted
# Please uncomment the following code if your project does NOT have to work on old Kubernetes
# versions < 1.19 or on vendors versions which do NOT support this field by default (i.e. Openshift < 4.11 ).
# seccompProfile:
# type: RuntimeDefault
containers
:
-
command
:
-
/manager
args
:
-
--leader-elect
image
:
controller:latest
name
:
manager
envFrom
:
-
secretRef
:
name
:
compoundai-deployment-env
securityContext
:
allowPrivilegeEscalation
:
false
capabilities
:
drop
:
-
"
ALL"
livenessProbe
:
httpGet
:
path
:
/healthz
port
:
8081
initialDelaySeconds
:
15
periodSeconds
:
20
readinessProbe
:
httpGet
:
path
:
/readyz
port
:
8081
initialDelaySeconds
:
5
periodSeconds
:
10
resources
:
limits
:
cpu
:
1024m
memory
:
1Gi
requests
:
cpu
:
1024m
memory
:
1Gi
serviceAccountName
:
controller-manager
terminationGracePeriodSeconds
:
10
deploy/compoundai/operator/config/prometheus/kustomization.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
resources
:
-
monitor.yaml
deploy/compoundai/operator/config/prometheus/monitor.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Prometheus Monitor Service (Metrics)
apiVersion
:
monitoring.coreos.com/v1
kind
:
ServiceMonitor
metadata
:
labels
:
control-plane
:
controller-manager
app.kubernetes.io/name
:
servicemonitor
app.kubernetes.io/instance
:
controller-manager-metrics-monitor
app.kubernetes.io/component
:
metrics
app.kubernetes.io/created-by
:
compoundai-kubernetes-operator
app.kubernetes.io/part-of
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
controller-manager-metrics-monitor
namespace
:
system
spec
:
endpoints
:
-
path
:
/metrics
port
:
https
scheme
:
https
bearerTokenFile
:
/var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig
:
insecureSkipVerify
:
true
selector
:
matchLabels
:
control-plane
:
controller-manager
deploy/compoundai/operator/config/rbac/auth_proxy_client_clusterrole.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
labels
:
app.kubernetes.io/name
:
clusterrole
app.kubernetes.io/instance
:
metrics-reader
app.kubernetes.io/component
:
kube-rbac-proxy
app.kubernetes.io/created-by
:
compoundai-kubernetes-operator
app.kubernetes.io/part-of
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
metrics-reader
rules
:
-
nonResourceURLs
:
-
"
/metrics"
verbs
:
-
get
deploy/compoundai/operator/config/rbac/auth_proxy_role.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
labels
:
app.kubernetes.io/name
:
clusterrole
app.kubernetes.io/instance
:
proxy-role
app.kubernetes.io/component
:
kube-rbac-proxy
app.kubernetes.io/created-by
:
compoundai-kubernetes-operator
app.kubernetes.io/part-of
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
proxy-role
rules
:
-
apiGroups
:
-
authentication.k8s.io
resources
:
-
tokenreviews
verbs
:
-
create
-
apiGroups
:
-
authorization.k8s.io
resources
:
-
subjectaccessreviews
verbs
:
-
create
deploy/compoundai/operator/config/rbac/auth_proxy_role_binding.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRoleBinding
metadata
:
labels
:
app.kubernetes.io/name
:
clusterrolebinding
app.kubernetes.io/instance
:
proxy-rolebinding
app.kubernetes.io/component
:
kube-rbac-proxy
app.kubernetes.io/created-by
:
compoundai-kubernetes-operator
app.kubernetes.io/part-of
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
proxy-rolebinding
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
ClusterRole
name
:
proxy-role
subjects
:
-
kind
:
ServiceAccount
name
:
controller-manager
namespace
:
system
deploy/compoundai/operator/config/rbac/auth_proxy_service.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion
:
v1
kind
:
Service
metadata
:
labels
:
control-plane
:
controller-manager
app.kubernetes.io/name
:
service
app.kubernetes.io/instance
:
controller-manager-metrics-service
app.kubernetes.io/component
:
kube-rbac-proxy
app.kubernetes.io/created-by
:
compoundai-kubernetes-operator
app.kubernetes.io/part-of
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
controller-manager-metrics-service
namespace
:
system
spec
:
ports
:
-
name
:
https
port
:
8443
protocol
:
TCP
targetPort
:
https
selector
:
control-plane
:
controller-manager
deploy/compoundai/operator/config/rbac/compoundainim_editor_role.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# permissions for end users to edit compoundainims.
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
labels
:
app.kubernetes.io/name
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
compoundainim-editor-role
rules
:
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundainims
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundainims/status
verbs
:
-
get
deploy/compoundai/operator/config/rbac/compoundainim_viewer_role.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# permissions for end users to view compoundainims.
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
labels
:
app.kubernetes.io/name
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
compoundainim-viewer-role
rules
:
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundainims
verbs
:
-
get
-
list
-
watch
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundainims/status
verbs
:
-
get
deploy/compoundai/operator/config/rbac/compoundainimdeployment_editor_role.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# permissions for end users to edit compoundainimdeployments.
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
labels
:
app.kubernetes.io/name
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
compoundainimdeployment-editor-role
rules
:
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundainimdeployments
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundainimdeployments/status
verbs
:
-
get
deploy/compoundai/operator/config/rbac/compoundainimdeployment_viewer_role.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# permissions for end users to view compoundainimdeployments.
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
labels
:
app.kubernetes.io/name
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
compoundainimdeployment-viewer-role
rules
:
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundainimdeployments
verbs
:
-
get
-
list
-
watch
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundainimdeployments/status
verbs
:
-
get
deploy/compoundai/operator/config/rbac/compoundainimrequest_editor_role.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# permissions for end users to edit compoundainimrequests.
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
labels
:
app.kubernetes.io/name
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
compoundainimrequest-editor-role
rules
:
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundainimrequests
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundainimrequests/status
verbs
:
-
get
deploy/compoundai/operator/config/rbac/compoundainimrequest_viewer_role.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# permissions for end users to view compoundainimrequests.
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
labels
:
app.kubernetes.io/name
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
compoundainimrequest-viewer-role
rules
:
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundainimrequests
verbs
:
-
get
-
list
-
watch
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundainimrequests/status
verbs
:
-
get
deploy/compoundai/operator/config/rbac/kustomization.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
resources
:
# All RBAC will be applied under this service account in
# the deployment namespace. You may comment out this resource
# if your manager will use a service account that exists at
# runtime. Be sure to update RoleBinding and ClusterRoleBinding
# subjects if changing service account names.
-
service_account.yaml
-
role.yaml
-
role_binding.yaml
-
leader_election_role.yaml
-
leader_election_role_binding.yaml
# Comment the following 4 lines if you want to disable
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
# which protects your /metrics endpoint.
-
auth_proxy_service.yaml
-
auth_proxy_role.yaml
-
auth_proxy_role_binding.yaml
-
auth_proxy_client_clusterrole.yaml
# For each CRD, "Editor" and "Viewer" roles are scaffolded by
# default, aiding admins in cluster management. Those roles are
# not used by the Project itself. You can comment the following lines
# if you do not want those helpers be installed with your Project.
# - compoundainim_editor_role.yaml
# - compoundainim_viewer_role.yaml
# - compoundainimrequest_editor_role.yaml
# - compoundainimrequest_viewer_role.yaml
# - compoundainimdeployment_editor_role.yaml
# - compoundainimdeployment_viewer_role.yaml
deploy/compoundai/operator/config/rbac/leader_election_role.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# permissions to do leader election.
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
Role
metadata
:
labels
:
app.kubernetes.io/name
:
role
app.kubernetes.io/instance
:
leader-election-role
app.kubernetes.io/component
:
rbac
app.kubernetes.io/created-by
:
compoundai-kubernetes-operator
app.kubernetes.io/part-of
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
leader-election-role
rules
:
-
apiGroups
:
-
"
"
resources
:
-
configmaps
verbs
:
-
get
-
list
-
watch
-
create
-
update
-
patch
-
delete
-
apiGroups
:
-
coordination.k8s.io
resources
:
-
leases
verbs
:
-
get
-
list
-
watch
-
create
-
update
-
patch
-
delete
-
apiGroups
:
-
"
"
resources
:
-
events
verbs
:
-
create
-
patch
deploy/compoundai/operator/config/rbac/leader_election_role_binding.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
RoleBinding
metadata
:
labels
:
app.kubernetes.io/name
:
rolebinding
app.kubernetes.io/instance
:
leader-election-rolebinding
app.kubernetes.io/component
:
rbac
app.kubernetes.io/created-by
:
compoundai-kubernetes-operator
app.kubernetes.io/part-of
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
leader-election-rolebinding
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
Role
name
:
leader-election-role
subjects
:
-
kind
:
ServiceAccount
name
:
controller-manager
namespace
:
system
deploy/compoundai/operator/config/rbac/role.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
name
:
manager-role
rules
:
-
apiGroups
:
-
"
"
resources
:
-
configmaps
-
events
-
pods
-
secrets
-
services
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
"
"
resources
:
-
persistentvolumeclaims
verbs
:
-
create
-
delete
-
get
-
list
-
apiGroups
:
-
"
"
resources
:
-
serviceaccounts
verbs
:
-
get
-
list
-
watch
-
apiGroups
:
-
apps
resources
:
-
deployments
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
autoscaling
resources
:
-
horizontalpodautoscalers
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
coordination.k8s.io
resources
:
-
leases
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
events.k8s.io
resources
:
-
events
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
networking.istio.io
resources
:
-
virtualservices
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
networking.k8s.io
resources
:
-
ingressclasses
-
ingresses
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundaideployments
-
compoundainimdeployments
-
compoundainimrequests
-
compoundainims
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundaideployments/finalizers
-
compoundainimdeployments/finalizers
-
compoundainimrequests/finalizers
verbs
:
-
update
-
apiGroups
:
-
nvidia.com
resources
:
-
compoundaideployments/status
-
compoundainimdeployments/status
-
compoundainimrequests/status
-
compoundainims/status
verbs
:
-
get
-
patch
-
update
deploy/compoundai/operator/config/rbac/role_binding.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRoleBinding
metadata
:
labels
:
app.kubernetes.io/name
:
clusterrolebinding
app.kubernetes.io/instance
:
manager-rolebinding
app.kubernetes.io/component
:
rbac
app.kubernetes.io/created-by
:
compoundai-kubernetes-operator
app.kubernetes.io/part-of
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
manager-rolebinding
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
ClusterRole
name
:
manager-role
subjects
:
-
kind
:
ServiceAccount
name
:
controller-manager
namespace
:
system
deploy/compoundai/operator/config/rbac/service_account.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion
:
v1
kind
:
ServiceAccount
metadata
:
labels
:
app.kubernetes.io/name
:
serviceaccount
app.kubernetes.io/instance
:
controller-manager-sa
app.kubernetes.io/component
:
rbac
app.kubernetes.io/created-by
:
compoundai-kubernetes-operator
app.kubernetes.io/part-of
:
compoundai-kubernetes-operator
app.kubernetes.io/managed-by
:
kustomize
name
:
controller-manager
namespace
:
system
deploy/compoundai/operator/config/samples/kustomization.yaml
0 → 100644
View file @
5ddc7f7d
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
## Append samples of your project ##
resources
:
-
nvidia.com_v1alpha1_compoundainimdeployment.yaml
-
nvidia.com_v1alpha1_compoundainimrequest.yaml
-
nvidia.com_v1alpha1_compoundainim.yaml
-
nvidia.com_v1alpha1_compoundaideployment.yaml
#+kubebuilder:scaffold:manifestskustomizesamples
Prev
1
…
6
7
8
9
10
11
12
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment