Jonathan Lebon
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # FCOS infrastructure requirements In the *ideal* scenario, we'd like to have an OpenShift cluster for every architecture we want to support. This is unrealistic at this point, so we're currently working on a model like this: 1. Primary x86_64 pipeline running in an OpenShift cluster (in a Jenkins instance to start, though that may change eventually), ideally on bare metal with virtualization support, though nested virt would be OK too. - We need some level of control at the OpenShift project level. E.g. need to be able to modify build configs or deployment configs easily. - Uptime/SLE comparable to the rest of the Fedora infra. - Ideally, we would not maintain this cluster, though we could if needed. E.g. one path forward is to just give us some hardware and we manage it ourselves. 2. From the primary pipeline, we would SSH to multi-arch machines (i.e. not part of the cluster) that have `/dev/kvm` and `podman`, ideally Fedora CoreOS or Fedora, to build artifacts. - Ideally, we would not maintain these nodes, though we could if needed. - DM, if it's Fedora CoreOS OS maintenance wouldn't really be an issue, but yeah, not having to maintain the hardware if something goes bad would be nice. - we'd need to configure zincati to try to not do updates in the middle of a pipeline build - JL: bootstrapping issue: can't be FCOS to start with if we don't yet have FCOS on multi-arch :) - DM: well we do have dev builds that we could start with! - Uptime/SLE comparable to the rest of the Fedora infra Q&A: 1. Q [kevin] - In Fedora Infra we only have openshift 3.11 and it's running on vm's. I don't think this will meet the above needs? (we do plan to deploy a 4.x bare metal cluster to replace these, but it's not available yet) - JL: Ouch. Hmm does it support nested virt at least? It's not ideal, but it should work for (1) until we move to bare metal. I think we checked this already in the past, but don't remember the outcome. :| Re. versioning, OCP 4.x is preferred (because it's what we actively work on as a team), but personally wouldn't call it a dealbreaker. DM may disagree. :) - JL: do you have a timeline re. when this bare metal 4.x cluster will be installed? - K: Well, we have the hardware racked and mgmt access, we are just waiting for cycles to do the actuall install and setup. I would hope in the next month or so? 2. Q [kevin] - Would the fedora infra openshift app constraints be ok? everything in git, etc? - JL: Perhaps. But IIRC the permissions there are quite restrictive. E.g. you can't `oc create -f testpod.yaml` or `oc exec` to test things. Would it be possible to loosen the RBACs for a specific project only? - K: I suppose, but the idea was to have that production cluster very locked down so we can easily redeploy it and know nothing would be lost. We keep hoping to have a development cluster up soon in AWS, but it keeps hitting stalls. ;( ) - DM: for our purposes we have optimized being able to start our pipelines from scratch. Fedora infra need not worry about re-deploying our pipeline if the cluster goes boom. We just need the access to create things ourselves. 3. Q [kevin] - For the arch nodes, does that need root access, or just a user who can run podman and access /dev/kvm? - JL: rootless podman + /dev/kvm is all we need. - K: Does it need ssh access while it's running? or just to start the job and save off results? - JL: Dusty can definitively answer that, but I think it'd require constant SSH access. We might be able to tweak the model though if that's an issue for some reason. - DM: The model we're using right now continuously uses the SSH connection. 4. Q [kevin] - For the arch nodes, no other config needs to be done directly on them? just ssh and podman and you make all your changes in containers, which you manage elsewhere? - JL: Yup exactly! (With some expectation that the podman installed there is kept somewhat up to date with the latest release in Fedora so there isn't too big a skew.) - K: is the ssh access just needed to start the jobs? or does it interactively do things? - DM: The model we're using right now continuously uses the SSH connection. 5. Q [kevin] - How idle would the arch nodes be? Is the pipeline running things most of the time? or just sporadically? I ask this because I wonder if it's worth exploring time sharing koji builders (ie, disable the builder in koji, run FCOS pods, re-enable in koji and it just does both part time) - JL: It's idle most of the time. We have development and mechanical builds going every X hours, and production builds are every two weeks. So I don't think we necessarily need dedicated builders. 6. Q [kevin] - where does the ssh for arch nodes come from? The openshift pipeline? Which means it would be better for all of them to be in the same place? - JL: Yes, we would SSH from the pipeline to the node. I guess they don't *have* to be in the same physical place as long as there's SSH access possible. 7. Q [kevin] - any storage needs? - JL: On the OpenShift side, we would need a PVC with let's say... 10G at least, basically just to persist Jenkins state and logs. From Jenkins, we provision pods which need a lot of ephemeral storage (e.g. let's say 30G to be safe). For the multi-arch nodes we SSH into, we'll probably need a similar amount of ephemeral storage, though I'll let DM answer that one. - DM: Is storage a big concern? If we could get 100G everywhere (openshift PV and on the multiarch nodes under /home/ then I'd think we'd be fine). Outcome: - short term: we can use the AWS ARM instance to produce non-prod builds - slightly less short term: ARM hardware in CentOS CI we can SSH into - long term: OCP4 bare metal cluster in Fedora infra from which we can SSH to Koji builders... need to flesh out Koji integration AI: - Dusty will go ahead with using AWS ARM hardware for now - Kevin to reply on thread after looking at HW inventory re. whether to do prod builds in AWS or use ARM HW in cluster

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully