# on the cli
`kubectl` and `oc` are the same binary, with `oc` embeding `kubectl`
`~/.kube/config` stores information about your context once authenticated to a cluster
a context is your cluster + namespace + user
`oc config` to interact with your context(s)
`kustomize` is a k8s templating system. `oc` offers similar templates via the GUI.
# different types of resources
| k8s | ocp |
| - | - |
|**namespace**: allows scoping of permissions | **project**: extension of namespace with more permissioning configuration and metadata |
| **ingress**: requires installation of an additional ingress controller that dictates the features offered | **route**: includes many features, inc. TLS configuration, HAproxy, LB, etc. |
| **deployment**: creates and owns `replicasets` | **deploymentconfig**: consistency > availability, allows for more custom rollout config if desired |
| **kustomize**: manage config with 'overlays' | **template**: similar to jinja tempaltes. uses the `oc process` command. |