-
Notifications
You must be signed in to change notification settings - Fork 49
Add separate Packer builder for Kubernetes workers #390
Add separate Packer builder for Kubernetes workers #390
Conversation
d97028a
to
4d04c09
Compare
Todo:
|
71d51c0
to
8d1c06d
Compare
127ce51
to
e442967
Compare
a20c293
to
214ef20
Compare
/assign |
214ef20
to
64b5ba8
Compare
64b5ba8
to
839722d
Compare
/retest |
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 good in general, can you take a look at my notes
/assign @MattiasGees
/unassign
packer/amazon/centos-k8s-worker.json
Outdated
"tags": { | ||
"Name": "tarmak_{{user `tarmak_environment`}}_{{user `tarmak_base_image_name`}}", | ||
"tarmak_environment": "{{user `tarmak_environment`}}", | ||
"tarmak_base_image_name": "{{user `tarmak_base_image_name`}}" |
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 think it would be good having the manifests hash and the kubernetes_version in the tags and potentially the ami_name
We want to decrease the provision time when a new Kubernetes worker nodes comes up. We do this by creating a separate Packer build for the Kubernetes workers. This will run the Puppet code during the Packer run and install and configure almost everything. On initial boot we will only need to run Puppet to configure the cluster specific settings. Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
When builds run concurrently, this causes problems with naming and ssh keys. This change fiexs that. Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
8b7c442
to
3bde278
Compare
Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
Renamed the files + added the tags /unassign |
Thank you @MattiasGees this works great /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: simonswine The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
We want to decrease the provision time when a new Kubernetes worker nodes comes up. We do this by creating a separate Packer build for the Kubernetes workers. This will run the Puppet code during the Packer run and install and configure almost everything. On initial boot we will only need to run Puppet to configure the cluster specific settings.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #65Special notes for your reviewer:
Release note: