Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

docs: rework README + add initial docs for nomad/k8s #1884

Merged
merged 1 commit into from
Dec 29, 2015

Conversation

jonboulle
Copy link
Contributor

This breaks apart much of the README into a new "basics" document. The
goal is to make the README a little more approachable and do better at
highlighting the different options for people to reach out.

Also adds initial documents describing integration with Nomand and
Kubernetes and links to them appropriately.

@jonboulle
Copy link
Contributor Author

fixes #1570

@jonboulle
Copy link
Contributor Author

/cc @dgonyeo / @yifan-gu for help on the rktnetes stuff

/cc @joshix - this is the first of a series of iterative attempts to restructure/clean up documentation to try make the project more accessible. Mostly pinging you as a heads up as I don't want to turn this PR into a giant rabbit hole - but would love your help/guidance on the next iterations. I'd also like to start exploring something similar for other projects like etcd.


rkt's native image format is ACI, defined in the [App Container spec](app-container.md).
To build ACIs, a simple way to get started is by using [`acbuild`](https://github.com/appc/acbuild).
Another good resource is the [appc build repository](https://github.com/appc/build-repository) which has resources for building ACIs from a number of popular projects and languages.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want to use this opportunity to kill the build-repository?

I don't think there's anything in there worth salvaging, but if people want to still have an example on how to build a container using the host's apt-get I can add it into acbuild's examples.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please, do it

On Fri, Dec 18, 2015 at 7:50 PM, Derek Gonyeo notifications@github.com
wrote:

In Documentation/basics.md
#1884 (comment):

+ +git clone https://github.com/coreos/rkt +cd rkt +vagrant up +vagrant ssh +
+
+Keep in mind while running through the examples that right now rkt needs to be run as root for most operations.
+
+## rkt basics
+
+### Building App Container Images (ACIs)
+
+rkt's native image format is ACI, defined in the App Container spec.
+To build ACIs, a simple way to get started is by using acbuild.
+Another good resource is the appc build repository which has resources for building ACIs from a number of popular projects and languages.

Want to use this opportunity to kill the build-repository?

I don't think there's anything in there worth salvaging, but if people
want to still have an example on how to build a container using the host's
apt-get I can add it into acbuild's examples.


Reply to this email directly or view it on GitHub
https://github.com/coreos/rkt/pull/1884/files#r48055688.


The container runtime is configured at the kubelet level.

** TODO: add example here... **
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kubelet (the agent that runs on each machine to manage containers) provides several flags to use rkt as the container runtime. Including:

  • --container-runtime=rkt chooses rkt as the runtime.
  • --rkt-path sets the rkt binary path.
  • --rkt-stage1-image sets the stage1 image path.

The getting started with rkt guide in Kubernetes provides more detailed information about how to launch a kubernetes cluster with rkt, how to debug it, and more.

(edited to fix link to rkt getting started guide -joshix)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx, added

@jonboulle
Copy link
Contributor Author

@joshix any "hells noes" here, or happy for this to land and we can roll forward?

@jonboulle jonboulle changed the title [WIP] docs: rework README + add docs for nomad/k8s docs: rework README + add initial docs for nomad/k8s Dec 23, 2015
This breaks apart much of the README into a new "basics" document. The
goal is to make the README a little more approachable and do better at
highlighting the different options for people to reach out.

Also adds initial documents describing integration with Nomad and
Kubernetes and links to them appropriately.
@joshix
Copy link
Contributor

joshix commented Dec 28, 2015

LGTM &c. from slack convo, @jonboulle. This is a good direction for the docs to travel. I can see maybe splitting building ACIs out from the "trying rkt" doc entirely in a later changeset.

jonboulle added a commit that referenced this pull request Dec 29, 2015
docs: rework README + add initial docs for nomad/k8s
@jonboulle jonboulle merged commit 7630ab5 into rkt:master Dec 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants