Skip to content
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

Add a job for creating on demand OpenShift clusters #2114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tplavcic
Copy link
Contributor

No description provided.

Copy link
Collaborator

@hors hors left a comment

Choose a reason for hiding this comment

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

please create the task for it

cloud/jenkins/create_openshift_cluster.groovy Show resolved Hide resolved
stage('cluster1') {
steps {
createCluster('cluster1')
sleep(time:"${params.CLUSTER_DURATION}",unit:"HOURS")
Copy link
Collaborator

Choose a reason for hiding this comment

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

What if the spot instance dies? Who will remove the cluster?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nobody, just like in our normal tests

Copy link
Contributor Author

Choose a reason for hiding this comment

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

as a solution we can use jenkins master for running these jobs or specify non spot instances (pricier)

Copy link
Collaborator

Choose a reason for hiding this comment

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

@tplavcic The difference is you can run it for 12 hours and spot will have more time to die. I suggest to have https://cloud.cd.percona.com/job/pxc-operator-aws-remove-openshift officially

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.

2 participants