Replace rancher.yourdomain.com with your Rancher URL and token-xxxxx:string with your API bearer token.
This depends on the version of curl used (especially cross operating system)
storageClass with PersistentVolumeClaims are really the way to do storage with Kubernetes.
For Azure There are 3 types of storage avalible.
It is possible to compile Go programs for a different OS, even though go build says otherwise.
You'll need:
golang-crosscompile helper script https://github.com/davecheney/golang-crosscompile| FILE SPACING: | |
| # double space a file | |
| sed G | |
| # double space a file which already has blank lines in it. Output file | |
| # should contain no more than one blank line between lines of text. | |
| sed '/^$/d;G' |
| #!/bin/bash | |
| # | |
| # Copyright 2011, Tim Branyen @tbranyen <[email protected]> | |
| # Dual licensed under the MIT and GPL licenses. | |
| # | |
| # Automatically clone single or multiple repos into a folder, | |
| # great for setting up a git projects folder. | |
| # | |
| # Install: curl https://gist.github.com/raw/902154/github.sh > /usr/local/bin/gh | |
| # chmod +x /usr/local/bin/gh |