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

Add azure images #46

Merged
merged 3 commits into from Jun 4, 2021
Merged

Conversation

lobziik
Copy link
Contributor

@lobziik lobziik commented May 20, 2021

Add azure images to images configmap and image-reference file

@openshift-ci openshift-ci bot requested review from JoelSpeed and mandre May 20, 2021 14:11
@JoelSpeed
Copy link
Contributor

I spoke with @Danil-Grigorev yesterday, would it be better to have a single image for Azure but with the two binaries in it? This would make the image substitution easier IIUC. This is something we have done with other things like spot termination handlers as part of MAO

@lobziik
Copy link
Contributor Author

lobziik commented May 20, 2021

Agree, it would be easier. I'm mostly doubting about delivering ccm binary to worker nodes... Don't think that it might cause big issues but would prefer to keep it separate. Also building windows binary in future might require special treatment, but I'm not sure there.

For additional context:
upstream manifests for node-manager: https://github.com/openshift/cloud-provider-azure/blob/master/examples/out-of-tree/cloud-node-manager.yaml

@lobziik
Copy link
Contributor Author

lobziik commented May 20, 2021

This might be another thing kubernetes-sigs/cloud-provider-azure#580 - we might want to use different images for different node types (e.g arm)

@Danil-Grigorev
Copy link
Contributor

Agree, it would be easier. I'm mostly doubting about delivering ccm binary to worker nodes... Don't think that it might cause big issues but would prefer to keep it separate. Also building windows binary in future might require special treatment, but I'm not sure there.

For additional context:
upstream manifests for node-manager: https://github.com/openshift/cloud-provider-azure/blob/master/examples/out-of-tree/cloud-node-manager.yaml

https://coreos.slack.com/archives/CM4ERHBJS/p1620994660139000 сс @lobziik We are not required to run azure for windows nodes yet.

@lobziik lobziik changed the title Add azure images WIP: Add azure images May 20, 2021
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 20, 2021
pkg/config/config.go Show resolved Hide resolved
pkg/substitution/substitution.go Show resolved Hide resolved
pkg/substitution/substitution.go Outdated Show resolved Hide resolved
@lobziik lobziik changed the title WIP: Add azure images Add azure images Jun 3, 2021
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 3, 2021
CloudControllerManagerOpenStack string `json:"cloudControllerManagerOpenStack"`
}

// OperatorConfig contains configuration values for templating resources
type OperatorConfig struct {
ManagedNamespace string
ControllerImage string
CloudNodeImage string
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this one will be better named CloudNodeControllerImage

@lobziik
Copy link
Contributor Author

lobziik commented Jun 3, 2021

Suggest to rewiew and merge it for now as well as #45

Gonna introduce finished refactoring with interface (https://github.com/lobziik/cluster-cloud-controller-manager-operator/pull/1) as follow up, would be way more convenient for development and review.

Copy link
Contributor

@Danil-Grigorev Danil-Grigorev left a comment

Choose a reason for hiding this comment

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

/approve0

@Danil-Grigorev
Copy link
Contributor

/lgtm
/approve

@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 3, 2021
@openshift-bot
Copy link

/retest

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

1 similar comment
@openshift-bot
Copy link

/retest

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

Copy link
Contributor

@elmiko elmiko left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 3, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Danil-Grigorev, elmiko

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:
  • OWNERS [Danil-Grigorev,elmiko]

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

/retest

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

6 similar comments
@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 4, 2021

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

Test name Commit Details Rerun command
ci/prow/e2e-aws-ccm 98d2a83 link /test e2e-aws-ccm

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

@openshift-bot
Copy link

/retest

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

1 similar comment
@openshift-bot
Copy link

/retest

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

@openshift-merge-robot openshift-merge-robot merged commit be2215a into openshift:master Jun 4, 2021
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants