Resources in Kubernates
Resources in Kubernates
- Namespace:
Define: Logical Partitions in cluster to group and isolate resources
Get NameSpaces
or
To check my current namespace
:::note Check the NAMESPACE column, if it is empty then current namespace is default :::
To change current namespace (current context)
Pods
Config Maps
Replica Set
Deployment
Every deployment is same as replica set
Any changes in pods configuration in replica set will not take effect in current pods, changes take effect only when new pods are created as part of replica set
But changes in deployment will take effect immediately
Every deployment will create replica set and every change will create new roll out of replica set
To check all changes to deployment
To roll back to previous version of the deployment
To know the revisions
Daemonset
To run a copy of pod on all worker nodes