Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

Conversation

@liztio
Copy link
Contributor

@liztio liztio commented Mar 15, 2018

Signed-off-by: liz liz@heptio.com

Signed-off-by: liz <liz@heptio.com>
@liztio liztio requested a review from craigtracey March 15, 2018 21:48

```
/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
Copy link
Contributor

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,
Copy link
Contributor

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
Copy link
Contributor

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`}}"
}
},
{
Copy link
Contributor

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.

Copy link
Contributor Author

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?

Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants