Skip to content

payload/render: update the bootstrap render to skip servicemonitor - #221

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
abhinavdahiya:fix_render
Jul 17, 2019
Merged

payload/render: update the bootstrap render to skip servicemonitor#221
openshift-merge-robot merged 1 commit into
openshift:masterfrom
abhinavdahiya:fix_render

Conversation

@abhinavdahiya

Copy link
Copy Markdown
Contributor

the manifests directory on the bootstrap is used by the cluster-bootstrap to push to the cluster.
servicemonitor for cvo was added by #214
servicemonitor api is created by the cluster-monitoring-operator and therefore this causes the bootstrapping to get stuck until we get the monitoring operator running.

This skips the servicemonitor in the bootstrap render as it is not required for the bootstrap cvo pod.

/cc @smarterclayton @brancz

the `manifests` directory on the bootstrap is used by the cluster-bootstrap to push to the cluster.
`servicemonitor` for cvo was added by openshift#214
`servicemonitor` api is created by the cluster-monitoring-operator and therefore this causes the bootstrapping to get stuck until we get the monitoring operator running.

This skips the `servicemonitor` in the bootstrap render as it is not required for the bootstrap cvo pod.
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@abhinavdahiya: GitHub didn't allow me to request PR reviews from the following users: brancz.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

the manifests directory on the bootstrap is used by the cluster-bootstrap to push to the cluster.
servicemonitor for cvo was added by #214
servicemonitor api is created by the cluster-monitoring-operator and therefore this causes the bootstrapping to get stuck until we get the monitoring operator running.

This skips the servicemonitor in the bootstrap render as it is not required for the bootstrap cvo pod.

/cc @smarterclayton @brancz

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.

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 11, 2019
@abhinavdahiya

Copy link
Copy Markdown
Contributor Author

/retest

@crawford

Copy link
Copy Markdown
Contributor

/approve

@smarterclayton

Copy link
Copy Markdown
Contributor

Seems ok to me

@abhinavdahiya

Copy link
Copy Markdown
Contributor Author

/retest

@brancz

brancz commented Jul 12, 2019

Copy link
Copy Markdown
Contributor

We were under the assumption that because of the run level this would already be applied at a later point. I’ll lgtm this and put hold on it, feel free to remove the hold, if that assumption was incorrect.

/lgtm
/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 12, 2019
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@brancz: changing LGTM is restricted to collaborators

Details

In response to this:

We were under the assumption that because of the run level this would already be applied at a later point. I’ll lgtm this and put hold on it, feel free to remove the hold, if that assumption was incorrect.

/lgtm
/hold

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.

@smarterclayton

Copy link
Copy Markdown
Contributor

Bootstrap is special. Maybe we need an annotation that excludes things from bootstrap render?

@abhinavdahiya

Copy link
Copy Markdown
Contributor Author

Bootstrap is special. Maybe we need an annotation that excludes things from bootstrap render?
@smarterclayton
the list of things right now is small (2) and if this get's bigger we can think about that. and k8s annotations would mean parsing the file... not thrilled

@smarterclayton

smarterclayton commented Jul 13, 2019 via email

Copy link
Copy Markdown
Contributor

@abhinavdahiya

Copy link
Copy Markdown
Contributor Author

/hold cancel

the bootstrap render is reading, templating (text based) and copying,, it treats them as text file and not k8s manifests. So the annotation part would be a change from it being simple..

for now, I don't think the marshalling into k8s objects to make skipping on render is of great value.

ping @smarterclayton
if you agree this is a acceptable solution for now, lgtm (/lgtm) would be nice :)

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 15, 2019
@smarterclayton

Copy link
Copy Markdown
Contributor

/lgtm

Sorry

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 16, 2019
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, brancz, crawford, smarterclayton

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:
  • OWNERS [abhinavdahiya,crawford,smarterclayton]

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

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants