Skip to content

Commit

Permalink
Merge pull request #3 from mesosphere/nick-updates
Browse files Browse the repository at this point in the history
Fleshing out more of the docs
  • Loading branch information
smugcloud committed Sep 8, 2017
2 parents 003e9ca + f4744b7 commit 6d9d6c9
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 5 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,7 @@ Endpoints: 9.0.2.5:53
Session Affinity: None
Events: <none>
```

## Documents

For more details, please see the [docs folder](docs)
40 changes: 38 additions & 2 deletions docs/aws.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
TODO
# AWS Cluster

Add details about using AWS creds, choosing the platform, and necessary permisisons
The easiest way to get started on AWS is by setting environment variables with your access keys.

```
export AWS_ACCESS_KEY_ID=<YOUR ACCESS KEY>
export AWS_SECRET_ACCESS_KEY=<YOUR SECRET KEY>
```

You can then pass the platform variable to the `launch-dcos` command

```
make docker
# You are now in a container.
make launch-dcos PLATFORM=aws
# Launches DC/OS cluster. The cluster provisioning will take ~15 minutes.
make setup-cli
# Configures the DC/OS CLI and kubectl.
make install
# Installs kubernetes on your cluster. Takes ~2 minutes.
make kubectl-tunnel PLATFORM=aws
# Creates a ssh tunnel to a node-agent for APIServer access.
# Make sure the API Server and Kubelets are up by running:
kubectl get nodes
# If you see a result like this, everything is working properly, and you are now running Kubernetes on DC/OS.
NAME STATUS AGE VERSION
kube-node-0-kubelet.kubernetes.mesos Ready 13s v1.7.5
kube-node-1-kubelet.kubernetes.mesos Ready 13s v1.7.5
kube-node-2-kubelet.kubernetes.mesos Ready 13s v1.7.5
make uninstall
# Uninstalls kubernetes.
make destroy-dcos
# Deletes the DC/OS cluster.
```
```
8 changes: 5 additions & 3 deletions docs/existing_cluster.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
If you already have a DC/OS 1.10+ cluster, Kubernetes is publicly available in the Universe.
# Existing Cluster

If you already have a DC/OS 1.10+ cluster, Kubernetes is publicly available in the Catalog. Please ensure your cluster satisfies the minimum [resource requirements](resource-requirements.md)

```
dcos package install kubernetes
dcos package install beta-kubernetes
```

This will create a 3 node Kubernetes cluster via DC/OS
This will create a 3 node Kubernetes cluster via DC/OS.
12 changes: 12 additions & 0 deletions docs/gce-service-account.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Google Cloud Platform Service Account

A service account represents a Google Cloud service identity, such as code running on Compute Engine VMs.

To retrive the credential file from Google Cloud, request a key

```
gcloud iam service-accounts keys create key.json --iam-account=nick-960@cool-project-781.iam.gserviceaccount.com
```

Note the location of this downloaded key as you will use it to provision a GCE cluster.
Empty file removed docs/gce_permissions.md
Empty file.
Empty file removed docs/gce_service_account.md
Empty file.
6 changes: 6 additions & 0 deletions docs/limitations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Kubernetes on DC/OS is currently in Beta and has the following known limitations.

* Package upgrades are not supported
* One Kubernetes cluster can be run on a given DC/OS cluster
* Strict security mode in DC/OS Enterprise is not supported
* You cannot reach Kubernetes services from nodes not running kube-proxy
3 changes: 3 additions & 0 deletions docs/resource-requirements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Resource Requirements

Your cluster must have at least 3 private nodes for the default configuration with: 6 CPU | 5654 MB MEM | 615 MB Disk.

0 comments on commit 6d9d6c9

Please sign in to comment.