-
Notifications
You must be signed in to change notification settings - Fork 177
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 basic OpenShift support and setup [Part 1] #1955
base: master
Are you sure you want to change the base?
Conversation
@tnozicka: GitHub didn't allow me to request PR reviews from the following users: tnozicka. Note that only scylladb members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tnozicka 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 |
0afcbff
to
3b42f12
Compare
a9522f7
to
3fd195c
Compare
75a8f53
to
8513810
Compare
0a08384
to
1475312
Compare
1dccbce
to
7a2ea0e
Compare
5800971
to
169c28a
Compare
169c28a
to
35140a2
Compare
/test e2e-openshift-aws-parallel |
export SCYLLA_OPERATOR_FEATURE_GATES | ||
|
||
for i in "${!KUBECONFIGS[@]}"; do | ||
KUBECONFIG="${KUBECONFIGS[$i]}" DEPLOY_DIR="${ARTIFACTS}/deploy/${i}" timeout --foreground -v 10m "${parent_dir}/../ci-deploy.sh" "${SO_IMAGE}" & |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should either add a dedicated script running ci-deploy-release.sh
and set it up in CI or at the very least have a tracking issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for openshift? the manifests are shared
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the split for GKE only coming from the fact ci-deploy.sh
was there before the periodics or is there a different reason that's not there for openshift? In other words why would GKE periodics run a different script than the OpenShift ones (GKE periodics run ci-deploy-release.sh
through run-e2e-gke-release.sh
, while this runs ci-deploy.sh
for both presubmits and periodics).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ci-deploy-release.sh
uses the manifests from a real commit (which is not there for PRs because it's a local merge, so they use ci-deploy.sh
, by design.
run-e2e-openshift-aws.sh
is the entrypoint for presubmits (actually wired for periodics as well at this point)
run-e2e-openshift-aws-release.sh
needs to be added later on and wired for postsubmits and periodics
helm/scylla-operator/templates/scylladbmonitoring_grafana_clusterrole_def_openshift.yaml
Show resolved
Hide resolved
helm/scylla-operator/templates/scylladbmonitoring_prometheus_clusterrole_def_openshift.yaml
Show resolved
Hide resolved
Also please make the PR title a bit more descriptive |
35140a2
to
f0db302
Compare
/test e2e-openshift-aws-serial |
/retest |
/test e2e-openshift-aws-parallel |
@tnozicka: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
this has to fail because it deploys local-csi-driver from a released image and we have changed the mount paths
/override ci/prow/e2e-gke-release-script-latest |
@tnozicka: Overrode contexts on behalf of tnozicka: ci/prow/e2e-gke-release-script-latest In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
(one outstanding comment) |
Description of your changes:
This PR brings the initial support for running on OpenShift.
It also fixes the operator when run on platforms where OwnerReferencesPermissionEnforcement is enabled.
It also moves all persistent storage to
/var/lib
which is available on all OSes, including atomic ones / CoreOS.Note: This is part 1 that wires everything together and fixes most of the issues. Some tests that fail only on OpenShift still fail and need individual followups and we also needs to wire in proper cpu limits that flake a lot of tests waiting for certs to be generated.
Which issue is resolved by this Pull Request:
Resolves #713 #1935