Skip to content

Commit

Permalink
Add AWS Kubernetes templates and tweak CLC template.
Browse files Browse the repository at this point in the history
[finishes #87995230]
  • Loading branch information
alexwelch committed Feb 9, 2015
1 parent 6d979bf commit d8db0dd
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 28 deletions.
40 changes: 40 additions & 0 deletions db/job_templates/aws-kubernetes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: AWS Kubernetes Cluster with Panamax Remote Agent
description:
Automated kubernetes cluster creation in AWS with the Panamax Remote Agent pre-installed.
Requires an [AWS account.](http://aws.amazon.com/)
documentation: |
Create a Kubernetes cluster on AWS, deployment ready from Panamax.
Visit the [AWS console](http://aws.amazon.com/) to collect required items to launch the job.
Deployment of cluster varies based on number of minions requested.
An additional Panamax Remote Agent node and Kubernetes Master node is also created.
If the job fails for any reason, please check the logs.
Any nodes created prior to the error need manual deletion.
Please reference the logs at the end of the job to collect the private key to access the nodes via ssh.
environment:
- variable: REMOTE_TARGET_NAME
value:
description: A friendly name for your Remote Deployment Target.
- variable: AWS_ACCESS_KEY_ID
value:
description: AWS access key that has ability to create servers, assign IPs, create keys and security groups in EC2.
- variable: AWS_SECRET_ACCESS_KEY
value:
description: Corresponding secret key for the access key specified.
- variable: REGION
value: us-west-2a
description: Region and availability zone to deploy your cluster.
- variable: MINION_COUNT
value: 2
description: Number of minions to include in your cluster. A master node is auto-created. Do not count the master node in this value.
- variable: VM_SIZE
value: t2.micro
description: Size for each node in your cluster. The value should match the available sizes in the AWS console that are compatible with RHEL 7.
steps:
- name: Deploy AWS Cluster
source: centurylink/kube-cluster-deploy:aws
- name: Install Kubernetes on Cluster
source: centurylink/kube-install:aws
- name: Deploy Panamax Remote Agent Node
source: centurylink/agent-server-deploy:aws
- name: Install Panamax Remote Agent, Adaptor and Remote Target Endpoint
source: centurylink/remote-agent-install:aws
44 changes: 16 additions & 28 deletions db/job_templates/clc-kubernetes.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,40 @@
name: CenturyLink Cloud Kubernetes Cluster with Panamax Remote Agent
type: ClusterJobTemplate
description: |
description:
Automated kubernetes cluster creation in CenturyLink Cloud with the Panamax Remote Agent pre-installed.
Requires a [CLC account.](https://control.tier3.com/)
documentation: |
Create a Kubernetes cluster on CentruyLink Cloud, deployment ready from Panamax. Visit the
[CLC dashboard](https://control.tier3.com/) to collect required items to launch the job. Deployment of cluster
takes approx. 12+ mins and varies based on number of minions requested. An additional Panamax Remote Agent node and
Kubernetes Master node is also created. If the job fails for any reason, please check the logs. Any nodes created
prior to the error need manual deletion.
vendor: CenturyLink Cloud
adapter: Kubernetes
Create a Kubernetes cluster on CentruyLink Cloud, deployment ready from Panamax.
Visit the [CLC dashboard](https://control.tier3.com/) to collect required items to launch the job.
Deployment of cluster takes approx.
12+ mins and varies based on number of minions requested.
An additional Panamax Remote Agent node and Kubernetes Master node is also created.
If the job fails for any reason, please check the logs.
Any nodes created prior to the error need manual deletion.
environment:
- variable: REMOTE_TARGET_NAME
value:
description: |
Enter a friendly name for your Remote Deployment Target. This name needs to be unique.
description: A friendly name for your Remote Deployment Target. This name needs to be unique.
- variable: USERNAME
value:
description: |
Enter your CLC Username which you use to access the CLC dashboard.
description: Your CLC Username which you use to access the CLC dashboard.
- variable: PASSWORD
value:
description: |
Enter your CLC Password which you use to access the CLC dashboard.
description: Your CLC Password which you use to access the CLC dashboard.
- variable: REGION
value: WA1
description: |
Enter the region to deploy your cluster. Valid values include:  CA1, CA2, CA3, DE1, GB3, IL1, NY1, UC1, UT1, VA1,
WA1
description: Region to deploy your cluster. Valid values include: CA1, CA2, CA3, DE1, GB3, IL1, NY1, UC1, UT1, VA1, WA1
- variable: MINION_COUNT
value: 2
description: |
Enter the number of minions to include in your cluster. A master node is auto-created. Do not count the master node
in this value.
description: Number of minions to include in your cluster. A master node is auto-created. Do not count the master node in this value.
- variable: CPU
value: 2
description: |
Enter the number of CPUs for each node in your cluster. Select a value from 1 to 16. A minium of 2 is recommended.
description: Number of CPUs for each node in your cluster. Select a value from 1 to 16. A minium of 2 is recommended.
- variable: MEMORY_GB
value: 2
description: |
Enter the amount of memory for each node in your cluster. Select a value from 1 to 128. A minium of 2 is
recommended.
description: Amount of memory for each node in your cluster. Select a value from 1 to 128. A minium of 2 is recommended.
- variable: GROUP_ID
value:
description: |
Enter the server group id. Ex.: wa1-36474. You can find this value via the browser url on the CLC dashboard.
description: Server group id. Ex.: wa1-36474. You can find this value via the browser url on the CLC dashboard.
steps:
- name: Deploy CenturyLink Cloud Cluster
source: centurylink/kube-cluster-deploy:latest
Expand Down

0 comments on commit d8db0dd

Please sign in to comment.