Kubernetes Objects: Updated links to docs resources (#7207)
* Updated links to docs resources * Minor fixes after review Fixes after @tengqm review
This commit is contained in:
parent
98df5e5c6a
commit
1f0f465a72
|
|
@ -17,7 +17,7 @@ This page explains how Kubernetes objects are represented in the Kubernetes API,
|
|||
|
||||
A Kubernetes object is a "record of intent"--once you create the object, the Kubernetes system will constantly work to ensure that object exists. By creating an object, you're effectively telling the Kubernetes system what you want your cluster's workload to look like; this is your cluster's **desired state**.
|
||||
|
||||
To work with Kubernetes objects--whether to create, modify, or delete them--you'll need to use the [Kubernetes API](https://git.k8s.io/community/contributors/devel/api-conventions.md). When you use the `kubectl` command-line interface, for example, the CLI makes the necessary Kubernetes API calls for you; you can also use the Kubernetes API directly in your own programs. Kubernetes currently provides a `golang` [client library](https://github.com/kubernetes/client-go) for this purpose, and other language libraries (such as [Python](https://github.com/kubernetes-incubator/client-python)) are being developed.
|
||||
To work with Kubernetes objects--whether to create, modify, or delete them--you'll need to use the [Kubernetes API](/docs/concepts/overview/kubernetes-api/). When you use the `kubectl` command-line interface, for example, the CLI makes the necessary Kubernetes API calls for you. You can also use the Kubernetes API directly in your own programs using one of [Client Libraries](/docs/reference/client-libraries/).
|
||||
|
||||
### Object Spec and Status
|
||||
|
||||
|
|
@ -56,7 +56,7 @@ In the `.yaml` file for the Kubernetes object you want to create, you'll need to
|
|||
* `kind` - What kind of object you want to create
|
||||
* `metadata` - Data that helps uniquely identify the object, including a `name` string, UID, and optional `namespace`
|
||||
|
||||
You'll also need to provide the object `spec` field. The precise format of the object `spec` is different for every Kubernetes object, and contains nested fields specific to that object. The [Kubernetes API reference](/docs/concepts/overview/kubernetes-api/) can help you find the spec format for all of the objects you can create using Kubernetes.
|
||||
You'll also need to provide the object `spec` field. The precise format of the object `spec` is different for every Kubernetes object, and contains nested fields specific to that object. The [Kubernetes API Reference](/docs/reference/generated/kubernetes-api/{{page.version}}/) can help you find the spec format for all of the objects you can create using Kubernetes.
|
||||
For example, the `spec` format for a `Pod` object can be found
|
||||
[here](/docs/reference/generated/kubernetes-api/{{page.version}}/#podspec-v1-core),
|
||||
and the `spec` format for a `Deployment` object can be found
|
||||
|
|
|
|||
Loading…
Reference in New Issue