Comments (5)
@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.
+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.
@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.
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.
@semkath Any chance you can share a diff of your managed disk changes to the template?
from for-azure.
Related Issues (20)
- Newly provisioned swarm is not working as swarm is not initialized. HOT 5
- Cloudstor plugin not enabled in newly provisioned swarm HOT 11
- Cannot SSH into node after VM restart - no agent container HOT 3
- waagent.log is not rotating 18.03.0-ce HOT 1
- tcp4 / tcp port not being exposed/mapped to running container after it's been in use before
- Not able to share cloudstor azure named volumes across multiple containers on same host HOT 12
- Docker logs not moving to storage accounts instead kept on Disk. HOT 3
- how to enable auto-scaling for swarm-worker-vmss on the basis of Memory usage
- Cloudstor: Prevent deletion of underlying Azure file share when docker volume is removed. HOT 2
- Fail to deploy Docker for Azure HOT 3
- Unable to SSH into Manager VMSS's after upgrading the instance(s) to the last mode on Azure portal HOT 2
- Project no longer supported? HOT 10
- Mongodb failed to run with persisted volume with cloudstor plugin. HOT 2
- Enable hard link support in cloudstor:azure
- Cannot restart docker daemon on management nodes
- VMSS restart hangs indefinitely at creating .ssh directory
- Error response from daemon: plugin cloudstor:azure already exists
- Storage account
- Can't connect to my Azure Docker Image BDD from SQL Management Studio
- Does not work at all
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from for-azure.