-
Notifications
You must be signed in to change notification settings - Fork 42
Add Azure building instructions #50
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: liz <liz@heptio.com>
|
|
||
| ``` | ||
| /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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/crosses/creates/ ?
| "kubernetes_cni_version": "{{user `kubernetes_cni_version`}}" | ||
| } | ||
| }, | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the Azure supported version is from OpenLogic.
Signed-off-by: liz liz@heptio.com