@@ -3502,3 +3502,175 @@ manager:
3502
3502
# @schema {"name": "manager.index.readreplica.rotator.clusterRoleBinding.name", "type": "string"}
3503
3503
# manager.index.readreplica.rotator.clusterRoleBinding.name -- name of clusterRoleBinding
3504
3504
name : vald-readreplica-rotate
3505
+ # @schema {"name": "manager.index.operator", "type": "object"}
3506
+ # manager.index.operator -- [THIS FEATURE IS WIP] operator that manages vald index
3507
+ operator :
3508
+ # @schema {"name": "manager.index.operator.enabled", "type": "boolean"}
3509
+ # manager.index.operator.enabled -- index operator enabled
3510
+ enabled : false
3511
+ # @schema {"name": "manager.index.operator.version", "alias": "version"}
3512
+ # manager.index.operator.version -- version of index operator config
3513
+ version : v0.0.0
3514
+ # @schema {"name": "manager.index.operator.time_zone", "type": "string"}
3515
+ # manager.index.operator.time_zone -- Time zone
3516
+ time_zone : " "
3517
+ # @schema {"name": "manager.index.operator.logging", "alias": "logging"}
3518
+ # manager.index.operator.logging -- logging config (overrides defaults.logging)
3519
+ logging : {}
3520
+ # @schema {"name": "manager.index.operator.name", "type": "string"}
3521
+ # manager.index.operator.name -- name of manager.index.operator deployment
3522
+ name : vald-index-operator
3523
+ # @schema {"name": "manager.index.operator.kind", "type": "string", "enum": ["Deployment", "DaemonSet"]}
3524
+ # manager.index.operator.kind -- deployment kind: Deployment or DaemonSet
3525
+ kind : Deployment
3526
+ # @schema {"name": "manager.index.operator.progressDeadlineSeconds", "type": "integer"}
3527
+ # manager.index.operator.progressDeadlineSeconds -- progress deadline seconds
3528
+ progressDeadlineSeconds : 600
3529
+ # @schema {"name": "manager.index.operator.replicas", "type": "integer", "minimum": 0}
3530
+ # manager.index.operator.replicas -- number of replicas.
3531
+ replicas : 1
3532
+ # @schema {"name": "manager.index.operator.revisionHistoryLimit", "type": "integer", "minimum": 0}
3533
+ # manager.index.operator.revisionHistoryLimit -- number of old history to retain to allow rollback
3534
+ revisionHistoryLimit : 2
3535
+ # @schema {"name": "manager.index.operator.terminationGracePeriodSeconds", "type": "integer", "minimum": 0}
3536
+ # manager.index.operator.terminationGracePeriodSeconds -- duration in seconds pod needs to terminate gracefully
3537
+ terminationGracePeriodSeconds : 30
3538
+ # @schema {"name": "manager.index.operator.podSecurityContext", "type": "object"}
3539
+ # manager.index.operator.podSecurityContext -- security context for pod
3540
+ podSecurityContext :
3541
+ runAsUser : 65532
3542
+ runAsNonRoot : true
3543
+ runAsGroup : 65532
3544
+ fsGroup : 65532
3545
+ fsGroupChangePolicy : " OnRootMismatch"
3546
+ # @schema {"name": "manager.index.operator.securityContext", "type": "object"}
3547
+ # manager.index.operator.securityContext -- security context for container
3548
+ securityContext :
3549
+ runAsUser : 65532
3550
+ runAsNonRoot : true
3551
+ runAsGroup : 65532
3552
+ privileged : false
3553
+ allowPrivilegeEscalation : false
3554
+ readOnlyRootFilesystem : true
3555
+ capabilities :
3556
+ drop :
3557
+ - ALL
3558
+ # @schema {"name": "manager.index.operator.podPriority", "alias": "podPriority"}
3559
+ podPriority :
3560
+ # manager.index.operator.podPriority.enabled -- manager.index.operator pod PriorityClass enabled
3561
+ enabled : true
3562
+ # manager.index.operator.podPriority.value -- manager.index.operator pod PriorityClass value
3563
+ value : 1000000
3564
+ # @schema {"name": "manager.index.operator.annotations", "type": "object"}
3565
+ # manager.index.operator.annotations -- deployment annotations
3566
+ annotations : {}
3567
+ # @schema {"name": "manager.index.operator.podAnnotations", "type": "object"}
3568
+ # manager.index.operator.podAnnotations -- pod annotations
3569
+ podAnnotations : {}
3570
+ # @schema {"name": "manager.index.operator.image", "alias": "image"}
3571
+ image :
3572
+ # manager.index.operator.image.repository -- image repository
3573
+ repository : vdaas/vald-index-operator
3574
+ # manager.index.operator.image.tag -- image tag (overrides defaults.image.tag)
3575
+ tag : " "
3576
+ # manager.index.operator.image.pullPolicy -- image pull policy
3577
+ pullPolicy : Always
3578
+ # @schema {"name": "manager.index.operator.rollingUpdate", "alias": "rollingUpdate"}
3579
+ rollingUpdate :
3580
+ # manager.index.operator.rollingUpdate.maxSurge -- max surge of rolling update
3581
+ maxSurge : 25%
3582
+ # manager.index.operator.rollingUpdate.maxUnavailable -- max unavailable of rolling update
3583
+ maxUnavailable : 25%
3584
+ # @schema {"name": "manager.index.operator.initContainers", "alias": "initContainers"}
3585
+ # manager.index.operator.initContainers -- init containers
3586
+ initContainers : []
3587
+ # @schema {"name": "manager.index.operator.env", "alias": "env"}
3588
+ # manager.index.operator.env -- environment variables
3589
+ env :
3590
+ - name : MY_NODE_NAME
3591
+ valueFrom :
3592
+ fieldRef :
3593
+ fieldPath : spec.nodeName
3594
+ - name : MY_POD_NAME
3595
+ valueFrom :
3596
+ fieldRef :
3597
+ fieldPath : metadata.name
3598
+ - name : MY_POD_NAMESPACE
3599
+ valueFrom :
3600
+ fieldRef :
3601
+ fieldPath : metadata.namespace
3602
+ # @schema {"name": "manager.index.operator.volumeMounts", "alias": "volumeMounts"}
3603
+ # manager.index.operator.volumeMounts -- volume mounts
3604
+ volumeMounts : []
3605
+ # @schema {"name": "manager.index.operator.volumes", "alias": "volumes"}
3606
+ # manager.index.operator.volumes -- volumes
3607
+ volumes : []
3608
+ # @schema {"name": "manager.index.operator.nodeName", "type": "string"}
3609
+ # manager.index.operator.nodeName -- node name
3610
+ nodeName : " "
3611
+ # @schema {"name": "manager.index.operator.nodeSelector", "alias": "nodeSelector"}
3612
+ # manager.index.operator.nodeSelector -- node selector
3613
+ nodeSelector : {}
3614
+ # @schema {"name": "manager.index.operator.tolerations", "alias": "tolerations"}
3615
+ # manager.index.operator.tolerations -- tolerations
3616
+ tolerations : []
3617
+ # @schema {"name": "manager.index.operator.affinity", "alias": "affinity"}
3618
+ affinity :
3619
+ nodeAffinity :
3620
+ # manager.index.operator.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution -- node affinity preferred scheduling terms
3621
+ preferredDuringSchedulingIgnoredDuringExecution : []
3622
+ requiredDuringSchedulingIgnoredDuringExecution :
3623
+ # manager.index.operator.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms -- node affinity required node selectors
3624
+ nodeSelectorTerms : []
3625
+ podAffinity :
3626
+ # manager.index.operator.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod affinity preferred scheduling terms
3627
+ preferredDuringSchedulingIgnoredDuringExecution : []
3628
+ # manager.index.operator.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod affinity required scheduling terms
3629
+ requiredDuringSchedulingIgnoredDuringExecution : []
3630
+ podAntiAffinity :
3631
+ # manager.index.operator.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity preferred scheduling terms
3632
+ preferredDuringSchedulingIgnoredDuringExecution :
3633
+ - weight : 100
3634
+ podAffinityTerm :
3635
+ topologyKey : kubernetes.io/hostname
3636
+ labelSelector :
3637
+ matchExpressions :
3638
+ - key : app
3639
+ operator : In
3640
+ values :
3641
+ - vald-index-operator
3642
+ # manager.index.operator.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution -- pod anti-affinity required scheduling terms
3643
+ requiredDuringSchedulingIgnoredDuringExecution : []
3644
+ # @schema {"name": "manager.index.operator.topologySpreadConstraints", "alias": "topologySpreadConstraints"}
3645
+ # manager.index.operator.topologySpreadConstraints -- topology spread constraints of manager.index.operator pods
3646
+ topologySpreadConstraints : []
3647
+ # @schema {"name": "manager.index.operator.server_config", "alias": "server_config"}
3648
+ # manager.index.operator.server_config -- server config (overrides defaults.server_config)
3649
+ server_config :
3650
+ servers :
3651
+ rest : {}
3652
+ grpc : {}
3653
+ healths :
3654
+ liveness : {}
3655
+ readiness : {}
3656
+ startup : {}
3657
+ metrics :
3658
+ pprof : {}
3659
+ # @schema {"name": "manager.index.operator.observability", "alias": "observability"}
3660
+ # manager.index.operator.observability -- observability config (overrides defaults.observability)
3661
+ observability :
3662
+ otlp :
3663
+ attribute :
3664
+ service_name : vald-index-operator
3665
+ # @schema {"name": "manager.index.operator.resources", "alias": "resources"}
3666
+ # manager.index.operator.resources -- compute resources
3667
+ resources :
3668
+ requests :
3669
+ cpu : 200m
3670
+ memory : 65Mi
3671
+ limits :
3672
+ cpu : 600m
3673
+ memory : 200Mi
3674
+ # @schema {"name": "manager.index.operator.namespace", "type": "string"}
3675
+ # manager.index.operator.namespace -- namespace to discovery
3676
+ namespace : _MY_POD_NAMESPACE_
0 commit comments