diff --git a/slides/kube/namespaces.md b/slides/kube/namespaces.md index aa06ace6..110ee4f5 100644 --- a/slides/kube/namespaces.md +++ b/slides/kube/namespaces.md @@ -2,21 +2,23 @@ - We cannot have two resources with the same name + (Or can we...?) + -- - We cannot have two resources *of the same type* with the same name - (But it's OK to have a `rng` service, a `rng` deployment, and a `rng` daemon set) + (But it's OK to have a `rng` service, a `rng` deployment, and a `rng` daemon set!) -- - We cannot have two resources of the same type with the same name *in the same namespace* - (But it's OK to have e.g. two `rng` services in different namespaces) + (But it's OK to have e.g. two `rng` services in different namespaces!) -- -- In other words: the tuple *(type, name, namespace)* needs to be unique +- In other words: the tuple *(type, name, namespace)* needs to be unique (In the resource YAML, the type is called `Kind`) @@ -190,4 +192,4 @@ Note: it might take a minute or two for the app to be up and running. - the [Kubernetes documentation about network policies](https://kubernetes.io/docs/concepts/services-networking/network-policies/) - - this [talk about network policies at KubeCon 2017 US](https://www.youtube.com/watch?v=3gGpMmYeEO8) by [@ahmetb](https://twitter.com/ahmetb) \ No newline at end of file + - this [talk about network policies at KubeCon 2017 US](https://www.youtube.com/watch?v=3gGpMmYeEO8) by [@ahmetb](https://twitter.com/ahmetb)