Merge pull request #37869 from windsonsea/objecty

Use a consistent style of URLs and headings in /kubernetes-objects.md
pull/37953/head
Kubernetes Prow Robot 2022-11-15 20:08:48 -08:00 committed by GitHub
commit 05ae0c6bd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 8 deletions

View File

@ -2,16 +2,18 @@
title: Understanding Kubernetes Objects
content_type: concept
weight: 10
card:
card:
name: concepts
weight: 40
---
<!-- overview -->
This page explains how Kubernetes objects are represented in the Kubernetes API, and how you can
express them in `.yaml` format.
<!-- body -->
## Understanding Kubernetes objects {#kubernetes-objects}
*Kubernetes objects* are persistent entities in the Kubernetes system. Kubernetes uses these
@ -32,7 +34,7 @@ interface, for example, the CLI makes the necessary Kubernetes API calls for you
the Kubernetes API directly in your own programs using one of the
[Client Libraries](/docs/reference/using-api/client-libraries/).
### Object Spec and Status
### Object spec and status
Almost every Kubernetes object includes two nested object fields that govern
the object's configuration: the object *`spec`* and the object *`status`*.
@ -86,7 +88,7 @@ The output is similar to this:
deployment.apps/nginx-deployment created
```
### Required Fields
### Required fields
In the `.yaml` file for the Kubernetes object you want to create, you'll need to set values for the following fields:
@ -116,9 +118,9 @@ detail the structure of that `.status` field, and its content for each different
## {{% heading "whatsnext" %}}
Learn more about the following:
* [Pods](https://kubernetes.io/docs/concepts/workloads/pods/) which are the most important basic Kubernetes objects.
* [Deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) objects.
* [Controllers](https://kubernetes.io/docs/concepts/architecture/controller/) in Kubernetes.
* [Kubernetes API overview](https://kubernetes.io/docs/reference/using-api/) which explains some more API concepts.
* [kubectl](https://kubernetes.io/docs/reference/kubectl/) and [kubectl commands](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands).
* [Pods](/docs/concepts/workloads/pods/) which are the most important basic Kubernetes objects.
* [Deployment](/docs/concepts/workloads/controllers/deployment/) objects.
* [Controllers](/docs/concepts/architecture/controller/) in Kubernetes.
* [Kubernetes API overview](/docs/reference/using-api/) which explains some more API concepts.
* [kubectl](/docs/reference/kubectl/) and [kubectl commands](/docs/reference/generated/kubectl/kubectl-commands).