Skip to content

Commit

Permalink
Resolving review comments
Browse files Browse the repository at this point in the history
Resolving review comments
  • Loading branch information
rajeshdeshpande02 authored Jun 3, 2019
1 parent 4d83b54 commit 18418cf
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,25 @@ If the prefix is omitted, the annotation Key is presumed to be private to the us

The `kubernetes.io/` and `k8s.io/` prefixes are reserved for Kubernetes core components.

For example, the sample Pod with the annotation `imageregistry: https://hub.docker.com/`
For example, here’s the configuration file for a Pod that has the annotation `imageregistry: https://hub.docker.com/` :

```yaml

apiVersion: v1
kind: Pod
metadata:
name: cuda-test
name: annotations-demo
annotations:
imageregistry: "https://hub.docker.com/"
spec:
containers:
- name: cuda-test
image: "k8s.gcr.io/cuda-vector-add:v0.1"
resources:
limits:
nvidia.com/gpu: 1
- name: nginx
image: nginx:1.7.9
ports:
- containerPort: 80

```
{{% /capture %}}
{{% capture whatsnext %}}
Expand Down

0 comments on commit 18418cf

Please sign in to comment.