Skip to content

Conversation

@guillaumerose
Copy link
Contributor

@guillaumerose guillaumerose commented Dec 10, 2020

The operator will never run and won't create what we used to delete.
It is cleaner and speed up a little bit cluster creation.

A patch release in 4.6 branch extracted the CRDs from the bindata of
prometheus operator. All required CRDs are now present by default even
if the monitoring operator never ran.

The procedure to activate monitoring is to remove the ClusterOperator
and the Deployment from overrides.

This method can be reused for other operators. At the end, all overrides
should added before the cluster starts.

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: guillaumerose

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

The pull request process is described here

Details 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

@guillaumerose
Copy link
Contributor Author

guillaumerose commented Dec 10, 2020

It requires openshift/cluster-version-operator#488
/hold

@guillaumerose
Copy link
Contributor Author

/retest

The operator will never run and won't create what we used to delete.
It is cleaner and speed up a little bit cluster creation.

A patch release in 4.6 branch extracted the CRDs from the bindata of
prometheus operator. All required CRDs are now present by default even
if the monitoring operator never ran.

The procedure to activate monitoring is to remove the ClusterOperator
and the Deployment from overrides.

This method can be reused for other operators. At the end, all overrides
should added before the cluster starts.
openshift-etcd namespace was not cleaned up. This method is more general
@guillaumerose
Copy link
Contributor Author

/retest

@openshift-ci
Copy link

openshift-ci bot commented Dec 23, 2020

@guillaumerose: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-snc fd1efa1 link /test e2e-snc

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@openshift-ci-robot
Copy link

@guillaumerose: PR needs rebase.

Details

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.

group: apps/v1
name: etcd-quorum-guard
namespace: openshift-machine-config-operator
- kind: ClusterOperator
Copy link
Member

Choose a reason for hiding this comment

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

@guillaumerose do we need those ClusterOperators as kind in the override list also, doesn't setting up the deployment as unmanagement works?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes it is needed as the installer is waiting for all cluster operators to be ready.

@guillaumerose
Copy link
Contributor Author

It's in master now.

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.

3 participants