Skip to content

Commit 7a6f932

Browse files
committed
Added more information about pods
Signed-off-by: knrt10 <[email protected]>
1 parent 73fedf8 commit 7a6f932

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

readme.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<img src="https://user-images.githubusercontent.com/24803604/67205502-87c43800-f42d-11e9-9941-2a27d5dea0fe.png" />
33
</p>
44

5-
This is just a simple demonstration to get a basic understanding of how kubernetes works while working step by step. I learnt kubernetes like this and made this repo to solve some problems that I faced during my learning experience so that it might help other beginners. We won't be going into depth about docker :blush: but will see sufficient content to get you basic understanding to learn and work with kuberntes. :v: Hope you enjoy learning. If you like it please give it a :star2:.
5+
This is just a simple demonstration to get a basic understanding of how kubernetes works while working step by step. I learnt kubernetes like this and made this repo to solve some problems that I faced during my learning experience so that it might help other beginners. We won't be going into depth about docker :blush: but will see sufficient content to get you basic understanding to learn and work with kubernetes. :v: Hope you enjoy learning. If you like it please give it a :star2:.
66

77
**Important :-** By seeing size of readme you might have second thoughts but to be honest if you work from start you won't experience any problem and learn along the way.
88

@@ -56,6 +56,7 @@ This is just a simple demonstration to get a basic understanding of how kubernet
5656
- [Using labels for categorizing worker nodes](#using-labels-for-categorizing-worker-nodes)
5757
- [Scheduling pods to specific nodes](#scheduling-pods-to-specific-nodes)
5858
- [Scheduling to one specific node](#scheduling-to-one-specific-node)
59+
- [Annotating pods](#Annotating-pods)
5960

6061
4. [Todo](#todo)
6162

@@ -635,10 +636,17 @@ minikube Ready master 9d v1.10.0 beta.kubernetes.io/arch=amd64
635636
```
636637
But setting the *nodeSelector* to a specific node by the hostname label may lead to the pod being unschedulable if the node is offline.
637638

639+
### Annotating pods
640+
641+
In addition to other labels, pods and other objects can also contain annotations. They are also key value pairs, so in essence they are similar to labels, but aren't meant to hold identifying information. They can't be used to group objects the way label can.
642+
643+
Example
644+
645+
`kubeclt get pod -a`
638646

639647
## Todo
640648

641-
- [ ] Write more about pods
649+
- [x] ~~Write more about pods~~
642650
- [ ] Write about yaml files
643651
- [ ] Write about ingress routing
644652
- [ ] Write about volumes

0 commit comments

Comments
 (0)