This repository was archived by the owner on Mar 2, 2022. It is now read-only.
Add Azure building instructions#50
Open
liztio wants to merge 1 commit into
Open
Conversation
Signed-off-by: liz <liz@heptio.com>
craigtracey
suggested changes
Apr 2, 2018
|
|
||
| ``` | ||
| /path/to/packer build -var-file <YOUR REGION>.json -var kubernetes_version=<YOUR K8S VERSION> -var kubernetes_cni_version=<YOUR K8S CNI VERSION> -var build_version=`git rev-parse HEAD` packer.json | ||
| /path/to/packer build -var-file <YOUR REGION>.json -var kubernetes_version=<YOUR K8S VERSION> -var kubernetes_cni_version=<YOUR K8S CNI VERSION> -var build_version=`git rev-parse HEAD` -only ami-ubuntu-16.04 packer.json |
Contributor
There was a problem hiding this comment.
centos is also an available target.
|
|
||
| [script]: https://www.packer.io/docs/builders/azure-setup.html#guided-setup | ||
|
|
||
| Creating the image ------------------ The script will spit out a bunch of URLs, |
Contributor
There was a problem hiding this comment.
Looks like formatting errors here.
|
|
||
| Creating the image ------------------ The script will spit out a bunch of URLs, | ||
| which can be very confusing. If you go into the azure console, however, you will | ||
| not see your image in [VM Images][images]. That is because this packer crosses a |
| "kubernetes_cni_version": "{{user `kubernetes_cni_version`}}" | ||
| } | ||
| }, | ||
| { |
Contributor
There was a problem hiding this comment.
I would like for us to maintain parity with other clouds with regard to baseline support (ie. Ubuntu and CentOS). Happy to take CentOS in a follow-up PR, but we should Issue it.
Contributor
Author
There was a problem hiding this comment.
I'm looking through CentOS images and I don't see any "official" CentOS images:
$ az vm image list -f CentOS --all | jq -r '.[].publisher' | sort | uniq
MicrosoftRServer
OpenLogic
RightScaleLinux
batch
center-for-internet-security-inc
cloudera
cloudhub-technologies
cognosys
ingrammicro
saltstack
scalegrid
tokyosystemhouse
tunnelbiz
ubercloud
wmspanel
any idea what we should do there?
Contributor
There was a problem hiding this comment.
Looks like the Azure supported version is from OpenLogic.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: liz liz@heptio.com