Skip to content

Conversation

@ingvagabund
Copy link
Member

Still hacky since there is nothing rending the kubemark RBAC rules right know and we still don't have our own kubemark version of cloud controller manager that would remove NotReady nodes.

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 21, 2019
@ingvagabund
Copy link
Member Author

/retest

2 similar comments
@ingvagabund
Copy link
Member Author

/retest

@ingvagabund
Copy link
Member Author

/retest

@ingvagabund ingvagabund force-pushed the add-support-for-kubemark branch from 44ae62f to b76f6a7 Compare February 26, 2019 09:38
@ingvagabund
Copy link
Member Author

/retest


.PHONY: deploy-kubemark
deploy-kubemark:
kustomize build config | kubectl apply -f -
Copy link
Contributor

Choose a reason for hiding this comment

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

Is kustomize necessary here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Suggesting to run it without the Makefile?

Copy link
Contributor

Choose a reason for hiding this comment

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

No, I'm suggesting to not use kustomize. Not sure what it's doing.

Copy link
Member Author

Choose a reason for hiding this comment

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

Just taking all manifests and pumping them into a single stream. Running just one command to deploy all manifests at once.

Copy link
Contributor

Choose a reason for hiding this comment

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

I believe kubectl can do that too; just do kubectl create -f ./

Copy link
Member Author

@ingvagabund ingvagabund Feb 27, 2019

Choose a reason for hiding this comment

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

The kustomize is (among other things) changing default namespace and patching manifests. Something simple kubectl can not do.

Copy link
Member

Choose a reason for hiding this comment

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

cluster-api, along with kubebuilder and so operator-sdk use kustomize. I'm in favour of using it here for manifest generation and customization

@enxebre
Copy link
Member

enxebre commented Feb 26, 2019

just a few nits, overall lgtm

@enxebre
Copy link
Member

enxebre commented Feb 26, 2019

/approve

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: enxebre

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 26, 2019
@ingvagabund ingvagabund force-pushed the add-support-for-kubemark branch from b76f6a7 to 352d4f9 Compare February 27, 2019 13:13
@ingvagabund
Copy link
Member Author

/test integration

fi
status=$(kubectl get node $node -o json | jq '.status.conditions[] | select(.type=="Ready") | .status' --raw-output)
if [ $status != "Unknown" ]; then
Copy link
Contributor

@paulfantom paulfantom Feb 27, 2019

Choose a reason for hiding this comment

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

Could you invert it to increase readability?

if [ $status == "Unknown" ]; then
        echo "Deleting node $node"
        kubectl delete node $node
fi

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't see any improvement in readibility compared to the current implementation. Can you more elaborate on that?

@ingvagabund ingvagabund force-pushed the add-support-for-kubemark branch from 352d4f9 to 86d5e88 Compare February 28, 2019 12:07
@ingvagabund
Copy link
Member Author

Just rebasing

@paulfantom
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 28, 2019
@ingvagabund
Copy link
Member Author

/retest

@ingvagabund ingvagabund force-pushed the add-support-for-kubemark branch from 86d5e88 to 32314fe Compare February 28, 2019 21:16
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Feb 28, 2019
@openshift-ci-robot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@ingvagabund ingvagabund added the lgtm Indicates that a PR is ready to be merged. label Feb 28, 2019
@openshift-bot
Copy link
Contributor

/retest

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

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

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

// AWSPlatformType is used to install on AWS
AWSProvider = Provider("aws")
// LibvirtPlatformType is used to install of libvirt
LibvirtProvider = Provider("libvirt")
Copy link
Member

Choose a reason for hiding this comment

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

we should add this case into config_test

@ingvagabund
Copy link
Member Author

/retest

@ingvagabund ingvagabund force-pushed the add-support-for-kubemark branch from 32314fe to 86992f9 Compare March 1, 2019 09:02
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Mar 1, 2019
@openshift-ci-robot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@openshift-ci-robot openshift-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 1, 2019
@ingvagabund
Copy link
Member Author

Pulling openshift/cluster-api-actuator-pkg#36 to see more from the failing autoscaler scales out test.

@ingvagabund ingvagabund added the lgtm Indicates that a PR is ready to be merged. label Mar 1, 2019
@ingvagabund
Copy link
Member Author

/test e2e-aws

@openshift-merge-robot openshift-merge-robot merged commit 050a65a into openshift:master Mar 1, 2019
@ingvagabund ingvagabund deleted the add-support-for-kubemark branch March 1, 2019 12:51
ingvagabund pushed a commit to ingvagabund/machine-api-operator that referenced this pull request Jul 11, 2019
…when-placement-is-nil

Check if placement is not nil before accessing AvailabilityZone field
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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants