Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

feat!: add support to StatefulSet #59

Merged
merged 17 commits into from
Oct 3, 2024
Merged

Conversation

lostbean
Copy link
Collaborator

@lostbean lostbean commented Oct 2, 2024

This PR adds support to apps/StatefulSet resources in k8s. In order to do it, it creates the concept of workloads. A service specify the workload which can be either an apps/Deployment or apps/StatefulSet. As a consequence, it also results in breaking change in the plugin API. Instead of passing and returning the apps/DeploymentSpec, it will use the core/PodSpec because it's a common data structure across the workloads.

ci/obd-demo.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@leoporoli leoporoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved with some comments

@lostbean lostbean merged commit 470c157 into main Oct 3, 2024
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants