Skip to content

Commit

Permalink
Add missing documentation (#196)
Browse files Browse the repository at this point in the history
* release 0.9.0

Signed-off-by: Eytan Avisror <[email protected]>

* add missing docs

Signed-off-by: Eytan Avisror <[email protected]>
  • Loading branch information
eytan-avisror authored Nov 14, 2020
1 parent 964bbf1 commit 13cd2e8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/EKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,3 +505,11 @@ Any update to the configmap will trigger a reconcile for instancegroups which ar
This is enforced via the `status.configMD5` field, which has an MD5 hash of the last seen configmap data, this guarantees consistency with the values defined in the configmap.

This also makes upgrades easier across a managed cluster, an operator can now simply modify the default value for `image` and trigger an upgrade across all instance groups.

## Annotations

| Annotation Key | Annotation Value | Purpose |
|----------------|------------------|---------|
|instancemgr.keikoproj.io/cluster-autoscaler-enabled|"true"|setting this annotation to true will add the relevant cluster-autoscaler EC2 tags according to cluster name, taints, and labels|
|instancemgr.keikoproj.io/os-family|either "windows", "bottlerocket", or "amazonlinux2" (default)|this is required if you are running a windows or bottlerocket based AMI, by default the controller will try to bootstrap an amazonlinux2 AMI|
|instancemgr.keikoproj.io/default-labels|comma-seprarated key-value string e.g. "label1=value1,label2=value2"|allows overriding the default node labels added by the controller, by default the role label is added depending on the cluster version|
9 changes: 9 additions & 0 deletions docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ iam:GetInstanceProfile
iam:PassRole
ec2:DescribeSecurityGroups
ec2:DescribeSubnets
ec2:DescribeInstanceTypeOfferings
ec2:DescribeInstanceTypes
ec2:DescribeLaunchTemplates
ec2:DescribeLaunchTemplateVersions
ec2:CreateLaunchTemplate
ec2:CreateLaunchTemplateVersion
ec2:ModifyLaunchTemplate
ec2:DeleteLaunchTemplate
ec2:DeleteLaunchTemplateVersions
autoscaling:CreateOrUpdateTags
autoscaling:DeleteTags
autoscaling:SuspendProcesses
Expand Down
6 changes: 5 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

- [Installation](https://github.com/keikoproj/instance-manager/blob/master/docs/INSTALL.md)
- [FAQ](https://github.com/keikoproj/instance-manager/blob/master/docs/FAQ.md)
- [EKS Provisioner API Reference](https://github.com/keikoproj/instance-manager/blob/master/docs/EKS.md)

## EKS Provisioner

- [API Reference](https://github.com/keikoproj/instance-manager/blob/master/docs/EKS.md#api-reference)
- [Annotations](https://github.com/keikoproj/instance-manager/blob/master/docs/EKS.md#annotations)

0 comments on commit 13cd2e8

Please sign in to comment.