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

mizar preliminary installation not to install binary #1381

Conversation

h-w-chen
Copy link
Collaborator

What type of PR is this?
/kind bug

What this PR does / why we need it:
This PR is part of fixes to #1357. The more important fix is from mizar:dev side. This PR only solves the kube-up scale-out preliminary step related issue.

As the preliminary step, it does not download mizar cni binary and have it installed. Instead, it only ensures the cni binary folder is there. The full-fledged mizar installation will be done by daemonset or other means.

With this change, kubelet will not invoke the possibly polluted cni binary before the proper mizar parts are there.

Which issue(s) this PR fixes:

Fixes #1357

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

None

Copy link
Collaborator

@Sindica Sindica left a comment

Choose a reason for hiding this comment

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

/lgtm

@centaurus-cloud-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Sindica
To complete the pull request process, please assign dingyin
You can assign the PR to them by writing /assign @dingyin in a comment when ready.

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

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

chmod +x ${KUBE_BIN}/mizarcni
#BUGBUG: This is a hack around arktos runtime hardcoding of CNI bin dir
# create folder only here
# mizar will be installed via daemonset or other means later
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please rename install-mizar-cni-bin

@Sindica Sindica merged commit 87aa3e0 into CentaurusInfra:poc-2022-01-30 Feb 24, 2022
@h-w-chen h-w-chen deleted the hw-mizar-premilinary-installation-has-no-binary-installaed branch February 24, 2022 23:34
centaurus-cloud-bot pushed a commit that referenced this pull request Mar 1, 2022
* kube-proxy of rp nodes connecting to tp masters (#1351)

* Mizar-Arktos integration with multitenancy network isolation for n-TP x n-RP scale out architecture (#1320)

* Mizar-Arktos integration with multitenancy network isolation

* Deploy Mizar daemon as DaemonSet while keeping operator as static pod

* Source Mizar CRDs, daemon, and operator yaml files from arktos repo

Co-authored-by: Sonya Li <[email protected]>

* Use in-cluster config for Mizar operator

Co-authored-by: Sonya Li <[email protected]>

* Deploy mizar daemon and operator after tp and rp ready (#1363)

* mizar preliminary installtion does not have binary installed (#1381)

Co-authored-by: hwchen <[email protected]>
Co-authored-by: Vinay Kulkarni <[email protected]>
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