Sha256: e12d32bd7e8bf503e44e8d0d9c63b972d1c1c72ad6c908ea3946caa78260b9d2

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

#### KOPS

### Prerequisites

- [kubectl](https://github.com/kubernetes/kops/blob/master/docs/install.md#kubectl) installed
- [kops](https://github.com/kubernetes/kops/blob/master/docs/install.md) client installed
- SSH key generated(needed for accessing cluster's master)
- Amazon S3 bucket for storing cluster's state created
- Route 53 domain for cluster access
- IAM user with correct policies:
     - AmazonEC2FullAccess
     - AmazonRoute53FullAccess
     - AmazonS3FullAccess
     - IAMFullAccess
     - AmazonVPCFullAccess

### Setup

Export AWS access keys and ID if you didn't before
```
export AWS_ACCESS_KEY_ID=<access key>
export AWS_SECRET_ACCESS_KEY=<secret key>
```

Create cluster configuration
```
kops create cluster --name *kops.example.com* --state "s3://kops-example-state-store" --zones *eu-central-1b* --ssh-public-key *path to SSH key*
```

Review and edit cluster configuration if needed
```
kops edit cluster --name *kops.example.com* --state "s3://kops-example-state-store"
```

Build the cluster
```
kops update cluster --name *kops.example.com* --state "s3://kops-example-state-store" --yes
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kite-0.1.0 tpl/aws/docs/kops.md