Skip to content
Browse files

Adding pod configuration file with names (#14971)

Adding pod configuration file with pod and container name. This explains the usage of names and how it looks like in actual YAML.
  • Loading branch information...
rajeshdeshpande02 authored and k8s-ci-robot committed Jun 19, 2019
1 parent efe2d0f commit 5a4b7a38bca186764f6c178ed9bce810c96df840
Showing with 15 additions and 0 deletions.
  1. +15 −0 content/en/docs/concepts/overview/working-with-objects/
@@ -26,6 +26,21 @@ See the [identifiers design doc](

By convention, the names of Kubernetes resources should be up to maximum length of 253 characters and consist of lower case alphanumeric characters, `-`, and `.`, but certain resources have more specific restrictions.

For example, here’s the configuration file with a Pod name as `nginx-demo` and a Container name as `nginx`:

apiVersion: v1
kind: Pod
name: nginx-demo
- name: nginx
image: nginx:1.7.9
- containerPort: 80

## UIDs

{{< glossary_definition term_id="uid" length="all" >}}

0 comments on commit 5a4b7a3

Please sign in to comment.
You can’t perform that action at this time.