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

Housekeeping things #5561

Merged
merged 1 commit into from
Aug 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions COMMUNITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ Ready to start contributing? Head over to our [contribution docs](CONTRIBUTING.m
## Core team

The core team of maintainers are Chetan Patwal ([@cPu1](https://github.com/cPu1)),
Jake Klein ([@aclevername](https://github.com/aclevername)),
Niki Manoledaki ([@nikimanoledaki](https://github.com/nikimanoledaki)),
Gergely Brautigam ([@Skarlso](https://github.com/Skarlso)),
and Himangini Daware ([@Himangini](https://github.com/Himangini)).

## Join us!
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Looking forward to seeing you in the repo! :sparkles:
# Legal bits

## License
`eksctl` is [Apache 2.0 licenced](LICENSE).
`eksctl` is [Apache 2.0 licensed](LICENSE).

## Certificate of Origin

Expand Down
2 changes: 1 addition & 1 deletion examples/04-existing-vpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ vpc:
id: "vpc-0dd338ecf29863c55" # (optional, must match VPC ID used for each subnet below)
cidr: "192.168.0.0/16" # (optional, must match CIDR used by the given VPC)
subnets:
# must provide 'private' and/or 'public' subnets by availibility zone as shown
# must provide 'private' and/or 'public' subnets by availability zone as shown
private:
eu-north-1a:
id: "subnet-0b2512f8c6ae9bf30"
Expand Down
2 changes: 1 addition & 1 deletion examples/10-encrypted-volumes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ nodeGroups:
volumeType: gp2
volumeEncrypted: true

- name: ng2-encrypt-using-customer-encrytion-key
- name: ng2-encrypt-using-customer-encryption-key
instanceType: m5.xlarge
desiredCapacity: 1
volumeSize: 100
Expand Down
2 changes: 1 addition & 1 deletion examples/23-kubeflow-spot-instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ metadata:

# Add all possible AZs to ensure nodes can be spun up in any AZ later on.
# THIS CAN'T BE CHANGED LATER. YOU WILL HAVE TO CREATE A NEW CLUSTER TO ADD NEW AZ SUPPORT.
# This list applies to the whole clustr and isn't specific to nodegroups
# This list applies to the whole cluster and isn't specific to nodegroups
availabilityZones: ["us-east-1a", "us-east-1b", "us-east-1d", "us-east-1f"]

nodeGroups:
Expand Down
2 changes: 1 addition & 1 deletion pkg/actions/cluster/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func deleteDeprecatedStacks(ctx context.Context, stackManager manager.StackManag
if errs := tasks.DoAllSync(); len(errs) > 0 {
return true, handleErrors(errs, "deprecated stacks")
}
logger.Success("deleted all %s deperecated stacks", count)
logger.Success("deleted all %s deprecated stacks", count)
return true, nil
}
return false, nil
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/eksctl.io/register.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package api

// Conventional Kubernetes API contants
// Conventional Kubernetes API constants
const (
GroupName = "eksctl.io"
)
6 changes: 3 additions & 3 deletions pkg/cloudconfig/cloudconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
defaultFilePermissions = "0644"
)

// CloudConfig stores informaiton of the cloud config
// CloudConfig stores information of the cloud config
type CloudConfig struct {
Commands []interface{} `json:"runcmd"`
Packages []string `json:"packages"`
Expand Down Expand Up @@ -63,7 +63,7 @@ func (c *CloudConfig) AddCommand(cmd ...string) {
c.Commands = append(c.Commands, cmd)
}

// AddShellCommand adds a shell comannd, which will be run on node start up
// AddShellCommand adds a shell command, which will be run on node start up
func (c *CloudConfig) AddShellCommand(cmd string) {
c.Commands = append(c.Commands, []string{Shell, "-c", cmd})
}
Expand All @@ -79,7 +79,7 @@ func (c *CloudConfig) AddFile(f File) {
c.WriteFiles = append(c.WriteFiles, f)
}

// AddScript adds a scipt, which will be placed on the node
// AddScript adds a script, which will be placed on the node
func (c *CloudConfig) AddScript(p, s string) {
c.AddFile(File{
Content: s,
Expand Down
2 changes: 1 addition & 1 deletion pkg/ctl/cmdutils/nodegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func PopulateNodegroupFromStack(nodeGroupType api.NodeGroupType, nodeGroupName s
return nil
}

// PopulateUnmanagedNodegroup populates the unmanaged nodegroup field of a ClucterConfig.
// PopulateUnmanagedNodegroup populates the unmanaged nodegroup field of a ClusterConfig.
func PopulateUnmanagedNodegroup(nodeGroupName string, cfg *api.ClusterConfig) {
cfg.NodeGroups = append(cfg.NodeGroups, &api.NodeGroup{
NodeGroupBase: &api.NodeGroupBase{
Expand Down
2 changes: 1 addition & 1 deletion userdocs/src/usage/addons.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can specify what addons you want and what policies (if required) to attach t
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: exmaple-cluster
name: example-cluster
region: us-west-2
version: "1.19"

Expand Down
2 changes: 1 addition & 1 deletion userdocs/src/usage/eksctl-anywhere.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# EKS Anywhere

`eksctl` provides access to AWS' feature called `EKS Anywhere` with the sub command `eksctl anywhere`.
This requires the `eksctl-anywhere` binary present on `PATH`. Please follow the instruction outlined here [Install eskctl-anywhere](https://anywhere.eks.amazonaws.com/docs/getting-started/install/)
This requires the `eksctl-anywhere` binary present on `PATH`. Please follow the instruction outlined here [Install eksctl-anywhere](https://anywhere.eks.amazonaws.com/docs/getting-started/install/)
to install it.

Once done, execute anywhere commands by running:
Expand Down
2 changes: 1 addition & 1 deletion userdocs/src/usage/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
You'll see a name similar to `eksctl-CLUSTER_NAME-nodegroup-NODEGROUP_NAME`.

You can execute the following to get the userdata. Note the final line which
decodes from base64 and uncompresses the gzipped data.
decodes from base64 and decompresses the gzipped data.
```bash
NG_STACK=eksctl-scrumptious-monster-1595247364-nodegroup-ng-29b8862f # your stack here
LAUNCH_TEMPLATE_ID=$(aws cloudformation describe-stack-resources --stack-name $NG_STACK \
Expand Down
2 changes: 1 addition & 1 deletion userdocs/src/usage/unowned-clusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ for the time-being, `eksctl` will not attempt to retrieve or guess these values.
may change in the future as we learn more about how people are using this command on non eksctl-created clusters.

This means that in order to create nodegroups or managed nodegroups on a cluster which was
not created by `eksctl`, a config file containing VPC details must be provided. At a minumum:
not created by `eksctl`, a config file containing VPC details must be provided. At a minimum:

```yaml
---
Expand Down