-
Notifications
You must be signed in to change notification settings - Fork 137
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
ztp: Add a local registry to the SNO DU profile (CNF-3759) #939
ztp: Add a local registry to the SNO DU profile (CNF-3759) #939
Conversation
Let me know if there's a better place to put these file in. |
We want these CR's to be generated automatically by siteconfig and applied as part of the installation. The siteconfig should take the device and partition size as parameters and generate the required CRs |
Ah so something like how we generate CRs for say BMH? So that would be a new feature of the code base that parses the SiteConfig CR? |
Basically, expand the SiteConfig CRD with a way to specify additional disk partitions. Question: for standard clusters, would a customer want to specify different partitioning for masters vs workers? |
51a3cae
to
f709151
Compare
Going to remove the code and rely on templating instead |
f38b201
to
a89107a
Compare
a89107a
to
842b729
Compare
435f28e
to
6899c60
Compare
6a833b2
to
0fb905f
Compare
ac95962
to
568ec51
Compare
My only other comment, besides the question about the go module changes, would be that we should streamline the git history here before it's merged too, please! |
ztp/source-crs/extra-manifest/image-registry-partition-mc.yaml.tmpl
Outdated
Show resolved
Hide resolved
c4d5b0b
to
814a4fe
Compare
/retest-required |
cc59981
to
688f59c
Compare
ztp: update readme with extra info about verfication ztp: move pv and pvc create SourceCR and update README ztp: init commit to auto generate mc for image registry partition ztp: clean up ztp: remove code used to generate machineconfig and replace with templating for consistency ztp: clean up ztp: remove or revert unused files or changes ztp: revert changes ztp: fix formatting of siteConfig ztp: update go.mod with vendor ztp: add ztp wave annotation for the pv and pvs in SourceCR ztp: split SourceCRs, use mount_mount instead of lable for user input, better error handling and error msg with solutions ztp: fix test case and error message ztp: remove prepending var to path ztp: check for missing mount point before processing it ztp: add tests and clean up the code with correct variable names ztp: include updated mod file ztp: update test cases and better error handling ztp: fix formatting ztp: add a warning on the generated CR Update ztp/image-registry-crs/README.md Co-authored-by: Ian Miller <[email protected]> ztp: use existing src cr pvc, update doc, use latest coreos library instead v22, add sources files under pgt kuztomize test ztp: remove extra lines ztp: rename filename to keep things consistent ztp: enable dynamic update of disk format and a todo for encryption ztp: update doc to include siteConfig values
2fa75ed
to
ff9ff55
Compare
/lgtm |
/retest |
/override ci/prow/e2e-gcp-ovn These changes do not have anything to do with SRO which is causing the failures. |
@lack: Overrode contexts on behalf of lack: ci/prow/e2e-gcp-ovn In response to this:
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. |
/approve |
Ah, we need approval from someone on the go.mod changes too before this can merge. |
/assign @fromanirh |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fromanirh, lack, pixelsoccupied 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:
Approvers can indicate their approval by writing |
/cherrypick 4.10 |
@pixelsoccupied: cannot checkout In response to this:
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. |
/cherrypick release-4.10 |
@pixelsoccupied: #939 failed to apply on top of branch "release-4.10":
In response to this:
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. |
A SNO DU can have limited BW between the centralized registry and itself. This can lead to long image download times. This is unavoidable for the initial deployment. For subsequent pulls of an image we are relying on the fact that the image would be in the cache. There is the possibility that it could have been evicted but this would be the exception vs the rule.
Unfortunately this strategy is flawed as crio will wipe /var/lib/containers/storage in the case on an unclean shutdown
To address this, a local registry will be required on the SNO. The cluster images would need to be mirrored to the this registry along with being used as the regisrty for the applications.