Giter VIP home page Giter VIP logo

Comments (5)

electrofink avatar electrofink commented on July 17, 2024 1

@rocketraman I have to dig a little into the git history of my changes because I ended up refactoring the template quite heavily to suit my needs. I will try to find a version with minimal changes to the original template file that is provided by docker.

from for-azure.

rocketraman avatar rocketraman commented on July 17, 2024

+1

@semkath How did you even attach disks to the vm scale set? I don't see that option in the portal. Did you use a CLI command?

NOTE: there is another use case... I want to backup Docker volume data. The built-in nodes don't have enough room to store the backup temporarily, so if I can attach a larger Azure disk to the nodes in the scale set, I can execute the backup container on each of them, writing the backups to the attached disk.

from for-azure.

electrofink avatar electrofink commented on July 17, 2024

@rocketraman Well the answer to that is.. it's complicated. Azure introduced "managed disks" a couple of weeks ago. Your scale set needs to use managed disks, for more details, see https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-attached-disks
Unfortunately, the Azure for Docker template does not use managed disks, instead it uses unmanaged disks for the scale sets. This means that I had to basically rewrite the Azure for Docker template to use managed disks. I did other changes as well to suit my deployment needs, but the Azure API documentation provides a way on how to do this.

from for-azure.

electrofink avatar electrofink commented on July 17, 2024

Oh and I figured out why the partition was not showing up, I missed a crucial detail when dealing with managed disks: You have to allow traffic on port 8443. The Azure documentation states as much on https://docs.microsoft.com/en-us/azure/storage/storage-managed-disks-overview but I didn't realize this when I added a network security group to the subnet where my scale set lives.
I will leave this here for posterity so that others can learn from my mistakes.

from for-azure.

rocketraman avatar rocketraman commented on July 17, 2024

@semkath Any chance you can share a diff of your managed disk changes to the template?

from for-azure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.