ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Containers on Bare Metal

    IT Discussion
    containers bare metal
    6
    31
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stacksofplatesS
      stacksofplates @Emad R
      last edited by stacksofplates

      @Emad-R said in Containers on Bare Metal:

      Does anyone have experience running the above? if so are you doing it in Prod/Dev ?

      please dont start rant against certain technology, there are more stuff than docker out there , like LXD, OpenVZ etc.

      It depends on how you're using them. If you're just treating them like systemd services (podman makes this easy) then it's just as easy as running normal services on a VM. I wouldn't worry about the extra abstraction if you don't want to until you are using orchestration tools like k8s, Nomad, Open shift, etc and you need to squeeze every bit of performance out of the application. But it's fine either way.

      1 Reply Last reply Reply Quote 3
      • travisdh1T
        travisdh1 @stacksofplates
        last edited by

        @stacksofplates said in Containers on Bare Metal:

        @travisdh1 said in Containers on Bare Metal:

        Containers never run on bare metal. They are all considered Type-3 hypervisors. Assuming I remember correctly, it's been a while since we had that discussion.

        I'm assuming he means run them on bare metal vs inside of a VM.

        Then the answer is no, because it's impossible.

        It really doesn't matter. So long as you've got enough cpu/ram/iops to handle your workload.

        stacksofplatesS scottalanmillerS 2 Replies Last reply Reply Quote 0
        • stacksofplatesS
          stacksofplates @travisdh1
          last edited by stacksofplates

          @travisdh1 said in Containers on Bare Metal:

          @stacksofplates said in Containers on Bare Metal:

          @travisdh1 said in Containers on Bare Metal:

          Containers never run on bare metal. They are all considered Type-3 hypervisors. Assuming I remember correctly, it's been a while since we had that discussion.

          I'm assuming he means run them on bare metal vs inside of a VM.

          Then the answer is no, because it's impossible.

          It really doesn't matter. So long as you've got enough cpu/ram/iops to handle your workload.

          Idk what this is supposed to mean but you can def deploy to bare metal. Depending on how the container is constructed and what engine you're using you can deploy just a binary that's just process on the system. All containers are just processes but not all of them are single binaries with no dependencies.

          Even if you're using a full OS inside of a container running in Docker it's still using the kernel on bare metal.

          travisdh1T 1 Reply Last reply Reply Quote 1
          • travisdh1T
            travisdh1 @stacksofplates
            last edited by

            @stacksofplates said in Containers on Bare Metal:

            @travisdh1 said in Containers on Bare Metal:

            @stacksofplates said in Containers on Bare Metal:

            @travisdh1 said in Containers on Bare Metal:

            Containers never run on bare metal. They are all considered Type-3 hypervisors. Assuming I remember correctly, it's been a while since we had that discussion.

            I'm assuming he means run them on bare metal vs inside of a VM.

            Then the answer is no, because it's impossible.

            It really doesn't matter. So long as you've got enough cpu/ram/iops to handle your workload.

            Idk what this is supposed to mean but you can def deploy to bare metal. Depending on how the container is constructed and what engine you're using you can deploy just a binary that's just process on the system. All containers are just processes but not all of them are single binaries with no dependencies.

            Even if you're using a full OS inside of a container running in Docker it's still using the kernel on bare metal.

            That's like saying "You can deploy Hyper-V to bare metal." Of course you can, that's the entire point. Containers are just another type of virtualization. I really don't get the confusion.

            stacksofplatesS 1 Reply Last reply Reply Quote 0
            • Emad RE
              Emad R @black3dynamite
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • Emad RE
                Emad R @black3dynamite
                last edited by

                @black3dynamite said in Containers on Bare Metal:

                To use something like LXD, you would install Ubuntu and then LXD.
                https://help.ubuntu.com/lts/serverguide/lxd.html

                Excatly, and not KVM -> Ubuntu -> LXD

                What will I lose if I went Ubuntu -> LXD

                that's what I am thinking .... what are the negatives or potential downsides to this in the future of skipping the whole type 1 virtulization

                black3dynamiteB 1 Reply Last reply Reply Quote 0
                • black3dynamiteB
                  black3dynamite @Emad R
                  last edited by

                  @Emad-R said in Containers on Bare Metal:

                  @black3dynamite said in Containers on Bare Metal:

                  To use something like LXD, you would install Ubuntu and then LXD.
                  https://help.ubuntu.com/lts/serverguide/lxd.html

                  Excatly, and not KVM -> Ubuntu -> LXD

                  What will I lose if I went Ubuntu -> LXD

                  that's what I am thinking .... what are the negatives or potential downsides to this in the future of skipping the whole type 1 virtulization

                  I haven't used LXD enough to properly give a negative or potential downsides. But I think it really depends on your needs.
                  There is a nice documentation on LXD that can help answer some of your questions.
                  https://lxd.readthedocs.io/en/latest/

                  1 Reply Last reply Reply Quote 1
                  • black3dynamiteB
                    black3dynamite
                    last edited by

                    https://linuxcontainers.org/
                    firefox_lZuKmAVI6F.png

                    1 Reply Last reply Reply Quote 1
                    • stacksofplatesS
                      stacksofplates @travisdh1
                      last edited by

                      @travisdh1 said in Containers on Bare Metal:

                      @stacksofplates said in Containers on Bare Metal:

                      @travisdh1 said in Containers on Bare Metal:

                      @stacksofplates said in Containers on Bare Metal:

                      @travisdh1 said in Containers on Bare Metal:

                      Containers never run on bare metal. They are all considered Type-3 hypervisors. Assuming I remember correctly, it's been a while since we had that discussion.

                      I'm assuming he means run them on bare metal vs inside of a VM.

                      Then the answer is no, because it's impossible.

                      It really doesn't matter. So long as you've got enough cpu/ram/iops to handle your workload.

                      Idk what this is supposed to mean but you can def deploy to bare metal. Depending on how the container is constructed and what engine you're using you can deploy just a binary that's just process on the system. All containers are just processes but not all of them are single binaries with no dependencies.

                      Even if you're using a full OS inside of a container running in Docker it's still using the kernel on bare metal.

                      That's like saying "You can deploy Hyper-V to bare metal." Of course you can, that's the entire point. Containers are just another type of virtualization. I really don't get the confusion.

                      No it's not because a type 1 doesn't share the kernel with the guests. So even though the container could (doesn't have to) be using libraries separately from the host it's still sharing the kernel, it's just a namespace. So yes it's still running on bare metal just like any other process that would be running in the OS.

                      1 Reply Last reply Reply Quote 0
                      • Emad RE
                        Emad R @travisdh1
                        last edited by Emad R

                        @travisdh1 said in Containers on Bare Metal:

                        Type-3 hypervisors.

                        never heard this term b4, and I think in the future it will expire. You would just run containers on bare metal and that it. we didnt reach this step but i think in 10 years or so

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @Emad R
                          last edited by

                          @Emad-R said in Containers on Bare Metal:

                          Does anyone have experience running the above? if so are you doing it in Prod/Dev ?

                          For like 20 years now, yeah. It's quite common.

                          1 Reply Last reply Reply Quote 1
                          • scottalanmillerS
                            scottalanmiller @travisdh1
                            last edited by

                            @travisdh1 said in Containers on Bare Metal:

                            Containers never run on bare metal. They are all considered Type-3 hypervisors. Assuming I remember correctly, it's been a while since we had that discussion.

                            Type-C

                            And the majority run on bare metal. But certainly lots of people do Type-C inside a VM as well. That's what he is asking about. Both approaches are common.

                            1 Reply Last reply Reply Quote 1
                            • scottalanmillerS
                              scottalanmiller @travisdh1
                              last edited by

                              @travisdh1 said in Containers on Bare Metal:

                              @stacksofplates said in Containers on Bare Metal:

                              @travisdh1 said in Containers on Bare Metal:

                              Containers never run on bare metal. They are all considered Type-3 hypervisors. Assuming I remember correctly, it's been a while since we had that discussion.

                              I'm assuming he means run them on bare metal vs inside of a VM.

                              Then the answer is no, because it's impossible.

                              It really doesn't matter. So long as you've got enough cpu/ram/iops to handle your workload.

                              It is, we do both and have for a long time.

                              1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @Emad R
                                last edited by

                                @Emad-R said in Containers on Bare Metal:

                                @travisdh1 said in Containers on Bare Metal:

                                Type-3 hypervisors.

                                never heard this term b4, and I think in the future it will expire. You would just run containers on bare metal and that it. we didnt reach this step but i think in 10 years or so

                                That's because it is Type-C, not Type-3. Type-3 isn't used because it implies something that is incorrect.

                                Emad RE 1 Reply Last reply Reply Quote 1
                                • Emad RE
                                  Emad R @scottalanmiller
                                  last edited by Emad R

                                  @scottalanmiller

                                  Interesting, thanks.
                                  https://containersummit.io/events/sf-2015/videos/type-c-hypervisors

                                  scottalanmillerS 1 Reply Last reply Reply Quote 1
                                  • scottalanmillerS
                                    scottalanmiller @Emad R
                                    last edited by

                                    @Emad-R said in Containers on Bare Metal:

                                    @scottalanmiller

                                    Interesting, thanks.
                                    https://containersummit.io/events/sf-2015/videos/type-c-hypervisors

                                    MangoCon 2 had a topic on them that sadly didn't get recorded.

                                    1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller
                                      last edited by

                                      LXD is what we use. Very fast, very mature, and good tools for it.

                                      Emad RE stacksofplatesS 2 Replies Last reply Reply Quote 1
                                      • Emad RE
                                        Emad R @scottalanmiller
                                        last edited by

                                        @scottalanmiller

                                        Nice, do you try to do them with ceph storage or you simply go with the default zfs

                                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @Emad R
                                          last edited by

                                          @Emad-R said in Containers on Bare Metal:

                                          @scottalanmiller

                                          Nice, do you try to do them with ceph storage or you simply go with the default zfs

                                          ZFS isn't a default on any system that I know. But definitely not CEPH, CEPH isn't very performant unless you do a lot of extra stuff (Starwind makes a CEPH acceleration product.) ZFS was only default for Solaris Zones, not LXD. Much of LXD doesn't have have ZFS as an option. We are normally on XFS.

                                          Emad RE 1 Reply Last reply Reply Quote 0
                                          • Emad RE
                                            Emad R @scottalanmiller
                                            last edited by

                                            @scottalanmiller

                                            https://lxd.readthedocs.io/en/latest/clustering/
                                            https://lxd.readthedocs.io/en/latest/storage/

                                            I think latest versions and especially with clustering recommends ZFS storage, which is nice cause now it is added easily as fuse fs

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post