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

PWX-31625 : Disable pvc-controller for openshift cluster #1159

Closed
wants to merge 4 commits into from

Conversation

nikita-bhatia
Copy link
Contributor

Disabling PVC controller for openshift since Openshift already has kube-controller maanger.
Having additional kube-controller ends up spamming vcenter with storage tasks.

Tests done :

  • Tested on Rh Openshift cluster 4.12.22
  • pvc-controller is not created and portworx is deployed fine

@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (f2a7fbd) 76.08% compared to head (d049f52) 76.08%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1159   +/-   ##
=======================================
  Coverage   76.08%   76.08%           
=======================================
  Files          64       64           
  Lines       18032    18033    +1     
=======================================
+ Hits        13720    13721    +1     
  Misses       3342     3342           
  Partials      970      970           
Files Changed Coverage Δ
...rivers/storage/portworx/component/pvccontroller.go 91.52% <100.00%> (+0.02%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@piyush-nimbalkar piyush-nimbalkar left a comment

Choose a reason for hiding this comment

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

We would want to deploy the pvc controller if portworx is not deployed in the kube-system namespace. Without that portworx volume will not get deployed.

@nikita-bhatia to verify this ticket, you will have to create a non CSI px volume and check that it gets provisioned. Just deploying px won't tell us anything.

@github-actions
Copy link

This PR is stale because it has been in review for 3 days with no activity.

Copy link

@ggriffiths ggriffiths left a comment

Choose a reason for hiding this comment

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

Needs additional testing as per earlier comment

@camartinez04
Copy link
Collaborator

I can create new PVCs without PX PVC Controller Manager being present on OpenShift (note that we need access to the master nodes) with Portworx deployed on a non kube-system namespace such as portworx. It uses the master node controller. @ggriffiths

@github-actions
Copy link

This PR is stale because it has been in review for 3 days with no activity.

@camartinez04
Copy link
Collaborator

This issue is still happening with more people getting affected

@github-actions
Copy link

This PR is stale because it has been in review for 3 days with no activity.

@zoxpx
Copy link
Collaborator

zoxpx commented Oct 20, 2023

Woops -- looks like I missed this PR, and just re-fixed it @ #1297

I'll just close this one.

@zoxpx zoxpx closed this Oct 20, 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.

None yet

5 participants