Skip to content

SPL-290970: Support for KVService CRD for KVService integration with SOK #1657

Merged
sgontla merged 5 commits intofeature/epic_SPL-290563from
story_SPL-290970_kvservice_crd
Jan 12, 2026
Merged

SPL-290970: Support for KVService CRD for KVService integration with SOK #1657
sgontla merged 5 commits intofeature/epic_SPL-290563from
story_SPL-290970_kvservice_crd

Conversation

@sgontla
Copy link
Collaborator

@sgontla sgontla commented Dec 22, 2025

Description

New CRD for KVStore KVService on K8s

Testing and Verification

  1. On make install New CRD is recognized:
sgontla@sgk8s:~/git/Operator/splunk-operator$ k get crds | grep enterprise
clustermanagers.enterprise.splunk.com       2025-12-22T18:07:21Z
clustermasters.enterprise.splunk.com        2025-12-22T18:07:21Z
indexerclusters.enterprise.splunk.com       2025-12-22T18:07:21Z
kvservices.enterprise.splunk.com            2025-12-22T18:54:12Z
licensemanagers.enterprise.splunk.com       2025-12-22T18:07:21Z
licensemasters.enterprise.splunk.com        2025-12-22T18:07:21Z
monitoringconsoles.enterprise.splunk.com    2025-12-22T18:07:21Z
searchheadclusters.enterprise.splunk.com    2025-12-22T18:07:21Z
standalones.enterprise.splunk.com           2025-12-22T18:07:21Z
  1. Applied the new KVService type cr, and noticed the trigger on the controller:
sgontla@sgk8s:~/specs$ cat kvservice.yaml
apiVersion: enterprise.splunk.com/v4
kind: KVService
metadata:
  name: kvservice-demo
spec: {}
  1. Operator logs on make run:
plunk.com", "controllerKind": "LicenseManager", "worker count": 15}
2025-12-22T19:39:43.781073542Z	INFO	Starting workers	{"controller": "clustermaster", "controllerGroup": "enterprise.splunk.com", "controllerKind": "ClusterMaster", "worker count": 15}
2025-12-22T19:39:43.781116953Z	INFO	Starting workers	{"controller": "licensemaster", "controllerGroup": "enterprise.splunk.com", "controllerKind": "LicenseMaster", "worker count": 15}
2025-12-22T19:39:43.781155874Z	INFO	Starting workers	{"controller": "clustermanager", "controllerGroup": "enterprise.splunk.com", "controllerKind": "ClusterManager", "worker count": 15}
2025-12-22T19:39:43.781212225Z	INFO	Starting workers	{"controller": "monitoringconsole", "controllerGroup": "enterprise.splunk.com", "controllerKind": "MonitoringConsole", "worker count": 15}
2025-12-22T19:39:43.781215265Z	INFO	Starting workers	{"controller": "indexercluster", "controllerGroup": "enterprise.splunk.com", "controllerKind": "IndexerCluster", "worker count": 15}
2025-12-22T19:39:43.781229065Z	INFO	Starting workers	{"controller": "standalone", "controllerGroup": "enterprise.splunk.com", "controllerKind": "Standalone", "worker count": 15}
2025-12-22T19:39:43.781181954Z	INFO	Starting workers	{"controller": "searchheadcluster", "controllerGroup": "enterprise.splunk.com", "controllerKind": "SearchHeadCluster", "worker count": 15}
2025-12-22T19:39:43.781219005Z	INFO	Starting workers	{"controller": "kvservice", "controllerGroup": "enterprise.splunk.com", "controllerKind": "KVService", "worker count": 15}
2025-12-22T19:39:43.781569314Z	INFO	start	{"controller": "kvservice", "controllerGroup": "enterprise.splunk.com", "controllerKind": "KVService", "KVService": {"name":"kvservice-demo","namespace":"default"}, "namespace": "default", "name": "kvservice-demo", "reconcileID": "d53eb296-0c28-47a9-8436-0568cc08513a", "kvservice": {"name":"kvservice-demo","namespace":"default"}, "CR version": "3196"}





2025-12-22T19:40:03.057024034Z	INFO	start	{"controller": "kvservice", "controllerGroup": "enterprise.splunk.com", "controllerKind": "KVService", "KVService": {"name":"kvservice-demo","namespace":"default"}, "namespace": "default", "name": "kvservice-demo", "reconcileID": "99044226-63b1-4264-96b4-57259b23f3c4", "kvservice": {"name":"kvservice-demo","namespace":"default"}, "CR version": "3322"}
  1. Tests passed on local run make tests:
........
--- PASS: TestRemoveUnwantedOwnerRefSs (0.00s)
=== RUN   TestMergePodUpdates
--- PASS: TestMergePodUpdates (0.00s)
=== RUN   TestMergeServiceSpecUpdates
--- PASS: TestMergeServiceSpecUpdates (0.00s)
=== RUN   TestSortStatefulSetSlices
--- PASS: TestSortStatefulSetSlices (0.00s)
=== RUN   TestHasProbeChanged
--- PASS: TestHasProbeChanged (0.00s)
PASS
coverage: 97.3% of statements
composite coverage: 85.9% of statements

Ginkgo ran 6 suites in 4m21.67406609s
Test Suite Passed

Related Issues

SPL-290970

PR Checklist

  • Code changes adhere to the project's coding standards.
  • Relevant unit and integration tests are included.
  • Documentation has been updated accordingly.
  • All tests pass locally.
  • The PR description follows the project's guidelines.

@sgontla sgontla marked this pull request as draft December 22, 2025 19:41
@sgontla sgontla changed the title Story spl 290970 kvservice crd 290970: Support for KVService CRD for KVService integration with SOK Dec 22, 2025
@sgontla sgontla self-assigned this Dec 22, 2025
@sgontla sgontla changed the title 290970: Support for KVService CRD for KVService integration with SOK SPL-290970: Support for KVService CRD for KVService integration with SOK Dec 23, 2025
@sgontla sgontla marked this pull request as ready for review December 23, 2025 17:41
@sgontla sgontla merged commit 9558312 into feature/epic_SPL-290563 Jan 12, 2026
66 of 71 checks passed
@sgontla sgontla deleted the story_SPL-290970_kvservice_crd branch January 12, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants