-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- generate bundle using Makefile - build and push bundle using GH actions on new tag Signed-off-by: Alexander Maslennikov <[email protected]>
- Loading branch information
1 parent
b311edb
commit b92a258
Showing
25 changed files
with
1,046 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
20 changes: 10 additions & 10 deletions
20
config/rbac/auth_proxy_service.yaml → ...-operator-webhook-service_v1_service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
creationTimestamp: null | ||
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/component: webhook | ||
app.kubernetes.io/created-by: maintenance-operator | ||
app.kubernetes.io/part-of: maintenance-operator | ||
app.kubernetes.io/instance: webhook-service | ||
app.kubernetes.io/managed-by: kustomize | ||
name: controller-manager-metrics-service | ||
namespace: system | ||
app.kubernetes.io/name: service | ||
app.kubernetes.io/part-of: maintenance-operator | ||
name: maintenance-operator-webhook-service | ||
spec: | ||
ports: | ||
- name: https | ||
port: 8443 | ||
- port: 443 | ||
protocol: TCP | ||
targetPort: https | ||
targetPort: 9443 | ||
selector: | ||
control-plane: controller-manager | ||
status: | ||
loadBalancer: {} |
100 changes: 100 additions & 0 deletions
100
bundle/manifests/maintenance.nvidia.com_maintenanceoperatorconfigs.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
cert-manager.io/inject-ca-from: maintenance-operator-system/maintenance-operator-serving-cert | ||
controller-gen.kubebuilder.io/version: v0.15.0 | ||
creationTimestamp: null | ||
name: maintenanceoperatorconfigs.maintenance.nvidia.com | ||
spec: | ||
group: maintenance.nvidia.com | ||
names: | ||
kind: MaintenanceOperatorConfig | ||
listKind: MaintenanceOperatorConfigList | ||
plural: maintenanceoperatorconfigs | ||
singular: maintenanceoperatorconfig | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: MaintenanceOperatorConfig is the Schema for the maintenanceoperatorconfigs | ||
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: MaintenanceOperatorConfigSpec defines the desired state of | ||
MaintenanceOperatorConfig | ||
properties: | ||
logLevel: | ||
default: info | ||
description: LogLevel is the operator logging level | ||
enum: | ||
- debug | ||
- info | ||
- error | ||
type: string | ||
maxNodeMaintenanceTimeSeconds: | ||
default: 1600 | ||
description: |- | ||
MaxNodeMaintenanceTimeSeconds is the time from when a NodeMaintenance is marked as ready (phase: Ready) | ||
until the NodeMaintenance is considered stale and removed by the operator. | ||
should be less than idle time for any autoscaler that is running. | ||
default to 30m (1600 seconds) | ||
format: int32 | ||
minimum: 0 | ||
type: integer | ||
maxParallelOperations: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
default: 1 | ||
description: |- | ||
MaxParallelOperations indicates the maximal number nodes that can undergo maintenance | ||
at a given time. 0 means no limit | ||
value can be an absolute number (ex: 5) or a percentage of total nodes in the cluster (ex: 10%). | ||
absolute number is calculated from percentage by rounding up. | ||
defaults to 1. The actual number of nodes that can undergo maintenance may be lower depending | ||
on the value of MaintenanceOperatorConfigSpec.MaxUnavailable. | ||
x-kubernetes-int-or-string: true | ||
maxUnavailable: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
description: |- | ||
MaxUnavailable is the maximum number of nodes that can become unavailable in the cluster. | ||
value can be an absolute number (ex: 5) or a percentage of total nodes in the cluster (ex: 10%). | ||
absolute number is calculated from percentage by rounding up. | ||
by default, unset. | ||
new nodes will not be processed if the number of unavailable node will exceed this value | ||
x-kubernetes-int-or-string: true | ||
type: object | ||
status: | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: null | ||
storedVersions: null |
Oops, something went wrong.