vmware-tanzu / vmware-tanzu/vm-operator
Create a means of deploying the manager binary into a K8S cluster
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 134
- Forks
- 83
- Avg merge
- 4d 18m
- Merged PRs (30d)
- 73
Description
Being able to deploy the code and run end to end tests against it is an important part of developer experience.
As it stands, we have the ability to create a container and test it in our internal pipelines, but we should have that capability in this OSS repo.
We should add the following capabilities, with appropriate makefile targets:
- Build a container image from the manager binary. The makefile can use an opinionated name.
- Load the container image into a Kind K8S cluster or similar
- Deploy the CRDs necessary to support VM Operator into the K8S cluster
- Deploy Pod / Deployment YAML that will create one or more instances of VM Operator in the cluster
- This should come its own checks to ensure that the pod came up successfully
Most of this work is relatively simple scripting and plumbing. Once we have this work done, we can move on to creating some e2e tests against the deployed operator.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the manager binary build path and the existing Makefile. Trace how a container image and Kubernetes resources can be produced, then review the Kind or similar cluster workflow. Done means Makefile targets build and load the image, deploy the required CRDs and Pod or Deployment YAML, and check that the VM Operator pod starts successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- developer-experience, devops, infrastructure, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100