Skip to content

add testing instructions for k8s operator integration#64388

Open
williamong-tel wants to merge 3 commits intomasterfrom
add-k8s-testing-instructions
Open

add testing instructions for k8s operator integration#64388
williamong-tel wants to merge 3 commits intomasterfrom
add-k8s-testing-instructions

Conversation

@williamong-tel
Copy link
Contributor

@williamong-tel williamong-tel commented Mar 6, 2026

I previously didn't realize we had a make k3d-deploy target. Updated the makefile and contributing.md so that new devs are more aware and I think this will help speed up testing.

Changes:

Update the CONTRIBUTING.md to include a testing section that utilizes k3d.
Update the make target to help easier run locally built images.

@williamong-tel williamong-tel self-assigned this Mar 6, 2026
@williamong-tel williamong-tel added the no-changelog Indicates that a PR does not require a changelog entry label Mar 6, 2026
@github-actions github-actions bot requested a review from tigrato March 6, 2026 19:15
@williamong-tel
Copy link
Contributor Author

On a side note, running make image in our root repo takes a million years, do you guys have any suggestions for devs in order to speed things up?

Copy link
Contributor

@bernardjkim bernardjkim left a comment

Choose a reason for hiding this comment

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

Thanks for taking the time to add testing documentation!


```shell
# From the repo root
make image
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this make target still work as intended? I'm unable to use this to build an image.

You might be able to take a look at deploy-cloud.sh and dev-deploy.md in the private repo for some inspiration. I usually use that script to build local images and deploy to my cloud staging cluster for testing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you remember what errors you were getting? I had errors also, but after running make -C build.assets buildbox-centos7, I was able to proceed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I rebuilt an image and I did have some issues.

I've updated the troubleshooting part and hopefully you can run it this time https://github.com/gravitational/teleport/pull/64388/changes#diff-2a7b69b8f52f3c8407e31436f330f5395b0873ee267be8d9da6861d89778eaecR117

It does take forever to run make image though :(

Copy link
Contributor

@tigrato tigrato left a comment

Choose a reason for hiding this comment

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

Thank you!

Updated troubleshooting instructions for local image build in CONTRIBUTING.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants