Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the new EKS bootstrap script #5

Merged
merged 6 commits into from
Sep 11, 2018
Merged

Use the new EKS bootstrap script #5

merged 6 commits into from
Sep 11, 2018

Conversation

pgavlin
Copy link
Member

@pgavlin pgavlin commented Sep 11, 2018

Just what it says on the tin.

Just what it says on the tin.
@ericrudder ericrudder changed the title Use the new EKS bootstraph script. Use the new EKS bootstrap script Sep 11, 2018
Copy link
Member

@lukehoban lukehoban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

systemctl daemon-reload
systemctl restart kubelet kube-proxy
const clusterCaData = eksCluster.certificateAuthority.apply(ca => Buffer.from(ca.data).toString("base64"));
const userdata = pulumi.all([awsRegion, eksCluster.name, eksCluster.endpoint, clusterCaData])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor - but looks like we no longer need region? (and similarly the line above that gets it?)

@lukehoban
Copy link
Member

BTW - Any reason we aren't running integration tests on PRs (or merges to master)? Seems it would be useful to run that extra validation.

- Add the ability to attach a public key to EC2 worker nodes.
- Attach a root volume to worker nodes with a configurable size that
  defaults to 20GiB.
- Incorporate parent names in all child resources.
- Add an ingress rule that accommodates extension API servers.
- Use CloudFormation to set up the ASG in order to get rolling updates
  on launch configuration changes.
- Fix the type token for `ServiceRole`.
Copy link
Member

@lukehoban lukehoban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

instanceLaunchConfiguration.id,
pulumi.output(args.desiredCapacity || 2),
pulumi.output(args.minSize || 1),
pulumi.output(args.maxSize || 2),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor - but pretty sure the pulumi.output is not needed here.

}
}

export default function transform<T, U>(name: string, input: T, func: (v: T) => U, opts?: pulumi.CustomResourceOptions): pulumi.Output<U> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're going to include this (and it seems overkill for the task) - let's add a comment.

@pgavlin pgavlin merged commit c6cfed8 into master Sep 11, 2018
@pulumi-bot pulumi-bot deleted the pgavlin/eksBootstrap branch September 11, 2018 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants