Skip to content

Add make target for custom-deploy #153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

ChristianZaccaria
Copy link
Contributor

Issue link

Closes #152

The changes here are similar to what is done in this PR for MCAD

What changes have been made

  • The custom-deploy make target can be used for building and pushing a custom image of InstaScale and deploying it on your K8s cluster for development.
  • Added documentation to Readme.

Note: using the name custom-deploy for the make target as there is already an existing easy way of deploying InstaScale (latest) to your K8s cluster. This make target focuses on the custom image deployments.

Verification steps

Example: make custom-deploy ENGINE=<podman or docker> IMG=quay.io/<username>/instascale:<image tag>

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Manual tests

@ChristianZaccaria ChristianZaccaria requested review from dimakis, VanillaSpoon and Fiona-Waters and removed request for sutaakar and Maxusmusti September 27, 2023 11:06
Copy link
Contributor

@Fiona-Waters Fiona-Waters left a comment

Choose a reason for hiding this comment

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

I have run the make command on an OSD cluster and can confirm that an instascale-controller-manager deployment and pod are created where I can view Instascale logs. I applied an appwrapper and can see that instascale picks it up as expected also.
Just one small comment regarding the command in make file. Otherwise it looks good.

@ChristianZaccaria
Copy link
Contributor Author

I have run the make command on an OSD cluster and can confirm that an instascale-controller-manager deployment and pod are created where I can view Instascale logs. I applied an appwrapper and can see that instascale picks it up as expected also. Just one small comment regarding the command in make file. Otherwise it looks good.

@Fiona-Waters Brilliant, thanks for testing it out!

Copy link
Contributor

@VanillaSpoon VanillaSpoon left a comment

Choose a reason for hiding this comment

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

lgtm thanks @ChristianZaccaria :D

@ChristianZaccaria
Copy link
Contributor Author

ChristianZaccaria commented Oct 12, 2023

@anishasthana Hi again, could we get this merged as well please? It's from last sprint [InstaScale]

@openshift-ci
Copy link

openshift-ci bot commented Oct 13, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anishasthana, VanillaSpoon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot merged commit f0c0e51 into project-codeflare:main Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Instascale] Simplify image build, push, and deployment (all-in-one)
4 participants