Does anyone have a recommendation for someone with a domain name and a k8s cluster where I can set up a simple image and/or video host?

I don’t want to have to use Imgur anymore, and am more than capable of setting up cloudflared, and just want to share a screenshot or two, or perhaps show some friends something cool in a video game without having to go through YouTube or Twitch.

  • cestvrai@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Why would you use k8s for image hosting?

    I use bucket storage from my cloud provider with a subdomain. With this kind of setup you can get access control and a CDN out of the box.

    • kelvie@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I mean it has longhorn and NFS storage providers, k8s would just be for the services cause it’s easy to deploy and manage.

    • Fenzik@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Yep, k8s is for people who need regular capacity scaling and high availability. Self hosting images is a static website, perfect for an S3 bucket or similar

      • cestvrai@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I guess if you were an image host running a thumbnailing service or something 🤔

          • kelvie@lemmy.caOP
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            Yeah as long as the URL has some unguessable hash I’d be okay with this, I’ll look into this.

            • linearchaos@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              the hashes look like this

              bafybeih3otruk3juwppyva2giufgtnll5tjqsk6mzmhjiksjkpbh434mae

              IPFS is kind of like a torrent system, you generate the file, add it to something like ipfs desktop or brave browser, it injects the hash into the p2p system, they download it from you directly or any one else that has downloaded it.

              It’s not for truly private things, it’s more like throwing it on an unlisted imgur. It’s also not possible to redact things so if you shove it out there, it might be out there forever.

              • musicmatze@kbin.social
                link
                fedilink
                arrow-up
                1
                ·
                11 months ago

                It’s also not possible to redact things so if you shove it out there, it might be out there forever.

                To be honest, is that different with other solutions? I mean if you post something to your whateverAccount, you might be able to redact it… that does not mean that it isn’t out there anymore though, just that your profile does not show the old content anymore, right?

                • linearchaos@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  11 months ago

                  Actually yeah it is. In IPFS files under a certain size get cashed permanently. The size is pretty small I think it’s like 2K, but it’s enough that you really want to make sure you don’t accidentally share like your entire drive is a folder or something because a lot of it will stick around forever without anybody doing anything.