Skip to content

Commit

Permalink
Added more information about pods
Browse files Browse the repository at this point in the history
Signed-off-by: knrt10 <tripathi.kautilya@gmail.com>
  • Loading branch information
knrt10 committed Nov 2, 2019
1 parent 73fedf8 commit 7a6f932
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<img src="https://user-images.githubusercontent.com/24803604/67205502-87c43800-f42d-11e9-9941-2a27d5dea0fe.png" />
</p>

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:.
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:.

**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.

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

4. [Todo](#todo)

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

### Annotating pods

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.

Example

`kubeclt get pod -a`

## Todo

- [ ] Write more about pods
- [x] ~~Write more about pods~~
- [ ] Write about yaml files
- [ ] Write about ingress routing
- [ ] Write about volumes
Expand Down

0 comments on commit 7a6f932

Please sign in to comment.