mirror of https://github.com/kubernetes/kops.git
One space after a period. Periods after sentences.
This commit is contained in:
parent
28363f5d01
commit
c147517c40
18
README.md
18
README.md
|
@ -13,7 +13,7 @@ The easiest way to get a production grade Kubernetes cluster up and running.
|
|||
|
||||
We like to think of it as `kubectl` for clusters.
|
||||
|
||||
`kops` helps you create, destroy, upgrade and maintain production-grade, highly available, Kubernetes clusters from the command line. AWS (Amazon Web Services) is currently officially supported, with GCE and VMware vSphere in alpha and other platforms planned.
|
||||
`kops` helps you create, destroy, upgrade and maintain production-grade, highly available, Kubernetes clusters from the command line. AWS (Amazon Web Services) is currently officially supported, with GCE and VMware vSphere in alpha and other platforms planned.
|
||||
|
||||
|
||||
## Can I see it in action?
|
||||
|
@ -79,7 +79,7 @@ information on changes between releases.
|
|||
|
||||
## Getting involved and contributing!
|
||||
|
||||
Are you interested in contributing to kops? We, the maintainers and community, would love your suggestions, contributions, and help! We have a quick-start guide on [adding a feature](/docs/development/adding_a_feature.md). Also, the maintainers can be contacted at any time to learn more about how to get involved.
|
||||
Are you interested in contributing to kops? We, the maintainers and community, would love your suggestions, contributions, and help! We have a quick-start guide on [adding a feature](/docs/development/adding_a_feature.md). Also, the maintainers can be contacted at any time to learn more about how to get involved.
|
||||
|
||||
In the interest of getting more new folks involved with kops, we are starting to tag issues with `good-starter-issue`. These are typically issues that have smaller scope but are good ways to start to get acquainted with the codebase.
|
||||
|
||||
|
@ -92,10 +92,10 @@ What this means:
|
|||
__Issues__
|
||||
* Help read and triage issues, assist when possible.
|
||||
* Point out issues that are duplicates, out of date, etc.
|
||||
- Even if you don't have tagging permissions, make a note and tag maintainers. (`/close`,`/dupe #127`)
|
||||
- Even if you don't have tagging permissions, make a note and tag maintainers (`/close`,`/dupe #127`).
|
||||
|
||||
__Pull Requests__
|
||||
* Read and review the code. Leave comments, questions, and critiques (`/lgtm` )
|
||||
* Read and review the code. Leave comments, questions, and critiques (`/lgtm` ).
|
||||
* Download, compile, and run the code and make sure the tests pass (make test).
|
||||
- Also verify that the new feature seems sane, follows best architectural patterns, and includes tests.
|
||||
|
||||
|
@ -111,7 +111,7 @@ __Pull Requests__
|
|||
|
||||
## Office Hours
|
||||
|
||||
Kops maintainers set aside one hour every other week for **public** office hours. Office hours are hosted on a [zoom video chat](https://zoom.us/my/k8ssigaws) on Fridays at [5 pm UTC/12 noon ET/9 am US Pacific](http://www.worldtimebuddy.com/?pl=1&lid=100,5,8,12), on odd week numbered weeks. We strive to get to know and help developers either working on `kops` or interested in getting to know more about the project.
|
||||
Kops maintainers set aside one hour every other week for **public** office hours. Office hours are hosted on a [zoom video chat](https://zoom.us/my/k8ssigaws) on Fridays at [5 pm UTC/12 noon ET/9 am US Pacific](http://www.worldtimebuddy.com/?pl=1&lid=100,5,8,12), on odd week numbered weeks. We strive to get to know and help developers either working on `kops` or interested in getting to know more about the project.
|
||||
|
||||
|
||||
### Open Office Hours Topics
|
||||
|
@ -147,17 +147,17 @@ If you think you have found a bug please follow the instructions below.
|
|||
|
||||
- Please spend a small amount of time giving due diligence to the issue tracker. Your issue might be a duplicate.
|
||||
- Set `-v 10` command line option and save the log output. Please paste this into your issue.
|
||||
- Note the version of kops you are running (from `kops version`), and the command line options you are using
|
||||
- Open a [new issue](https://github.com/kubernetes/kops/issues/new)
|
||||
- Note the version of kops you are running (from `kops version`), and the command line options you are using.
|
||||
- Open a [new issue](https://github.com/kubernetes/kops/issues/new).
|
||||
- Remember users might be searching for your issue in the future, so please give it a meaningful title to helps others.
|
||||
- Feel free to reach out to the kops community on [kubernetes slack](https://github.com/kubernetes/community/blob/master/communication.md#social-media)
|
||||
- Feel free to reach out to the kops community on [kubernetes slack](https://github.com/kubernetes/community/blob/master/communication.md#social-media).
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
We also use the issue tracker to track features. If you have an idea for a feature, or think you can help kops become even more awesome follow the steps below.
|
||||
|
||||
- Open a [new issue](https://github.com/kubernetes/kops/issues/new)
|
||||
- Open a [new issue](https://github.com/kubernetes/kops/issues/new).
|
||||
- Remember users might be searching for your issue in the future, so please give it a meaningful title to helps others.
|
||||
- Clearly define the use case, using concrete examples. EG: I type `this` and kops does `that`.
|
||||
- Some of our larger features will require some design. If you would like to include a technical design for your feature please include it in the issue.
|
||||
|
|
|
@ -6,18 +6,18 @@ This document also applies to using the `kops` API to customize a Kubernetes clu
|
|||
|
||||
> We like to think of it as `kubectl` for Clusters.
|
||||
|
||||
Because of the above statement `kops` includes an API which provides a feature for users to utilize YAML or JSON manifests for managing their `kops` created Kubernetes installations. In the same way, you can use a YAML manifest to deploy a Job you can deploy and manage a `kops` Kuberenetes instance with a manifest. All of these values are also usable via the interactive editor with `kops edit`.
|
||||
Because of the above statement `kops` includes an API which provides a feature for users to utilize YAML or JSON manifests for managing their `kops` created Kubernetes installations. In the same way, you can use a YAML manifest to deploy a Job you can deploy and manage a `kops` Kuberenetes instance with a manifest. All of these values are also usable via the interactive editor with `kops edit`.
|
||||
|
||||
The following is a list of the benefits of using a file to manage instances.
|
||||
|
||||
- Capability to access API values that are not accessible via the command line such as setting the max price for spot instances.
|
||||
- Create, update, and delete clusters without entering an interactive editor. This feature is helpful when automating cluster creation.
|
||||
- Create, update, and delete clusters without entering an interactive editor. This feature is helpful when automating cluster creation.
|
||||
- Ability to check-in files to source control that represents an installation.
|
||||
- Run commands such as `kops delete -f mycuster.yaml`.
|
||||
|
||||
## Exporting a Cluster
|
||||
|
||||
At this time you must run `kops create cluster` and then export the YAML from the state store. We plan in the future to have the capability to generate kops YAML via the command line. The following is an example of creating a cluster and exporting the YAML.
|
||||
At this time you must run `kops create cluster` and then export the YAML from the state store. We plan in the future to have the capability to generate kops YAML via the command line. The following is an example of creating a cluster and exporting the YAML.
|
||||
|
||||
```shell
|
||||
export NAME=k8s.example.com
|
||||
|
@ -35,7 +35,7 @@ export KOPS_STATE_STORE=s3://example-state-store
|
|||
--vpc vpc-6335dd1a
|
||||
```
|
||||
|
||||
The next step is to export the configuration to a YAML document. `kops` has a command that allows the export in a single YAML document, but since JSON files need to separate documents, we only export YAML with a single command. You can export JSON with multiple commands.
|
||||
The next step is to export the configuration to a YAML document. `kops` has a command that allows the export in a single YAML document, but since JSON files need to separate documents, we only export YAML with a single command. You can export JSON with multiple commands.
|
||||
|
||||
```shell
|
||||
kops get $NAME -o yaml > $NAME.yaml
|
||||
|
@ -230,7 +230,7 @@ kops delete -f $NAME.yaml --yes
|
|||
|
||||
## YAML Examples
|
||||
|
||||
With the above YAML file, a user can add configurations that are not available via the command line. For instance, you can add a `MaxPrice` value to a new instance group and use spot instances. Also add node and cloud labels for the new instance group.
|
||||
With the above YAML file, a user can add configurations that are not available via the command line. For instance, you can add a `MaxPrice` value to a new instance group and use spot instances. Also add node and cloud labels for the new instance group.
|
||||
|
||||
```yaml
|
||||
apiVersion: kops/v1alpha2
|
||||
|
@ -281,7 +281,7 @@ Please refer to the rolling-update [documentation](cli/kops_rolling-update_clust
|
|||
|
||||
## Further References
|
||||
|
||||
`kops` implements a full API that defines the various elements in the YAML file exported above. Two top level components exist; `ClusterSpec` and `InstanceGroup`.
|
||||
`kops` implements a full API that defines the various elements in the YAML file exported above. Two top level components exist; `ClusterSpec` and `InstanceGroup`.
|
||||
|
||||
### Cluster Spec
|
||||
|
||||
|
@ -314,7 +314,7 @@ To access the full configuration that a `kops` installation is running execute:
|
|||
kops get cluster $NAME --full -o yaml
|
||||
```
|
||||
|
||||
This command prints the entire YAML configuration. But _do not_ use the full document, you may experience strange and unique unwanted behaviors.
|
||||
This command prints the entire YAML configuration. But _do not_ use the full document, you may experience strange and unique unwanted behaviors.
|
||||
|
||||
### Instance Groups
|
||||
|
||||
|
@ -329,7 +329,7 @@ spec:
|
|||
|
||||
Full documentation is accessible via [godocs](https://godoc.org/k8s.io/kops/pkg/apis/kops#InstanceGroupSpec).
|
||||
|
||||
Instance Groups map to auto scale groups in AWS, and Instance Groups in GCE. They are an API level description of a group of compute instances used as Masters or Nodes.
|
||||
Instance Groups map to Auto Scaling Groups in AWS, and Instance Groups in GCE. They are an API level description of a group of compute instances used as Masters or Nodes.
|
||||
|
||||
More documentation is available in the [Instance Group](instance_groups.md) document.
|
||||
|
||||
|
|
Loading…
Reference in New Issue