![thats me](images/mirek.na.hackathone.jpg)
## Ingress 101
### (RAMBO Edition)
[Miroslav "mirek" Biňas](miroslav.binas@tuke.sk) / [Cloud Native Košice](https://www.linkedin.com/events/cloudnativeko-icemeetup-47209200561047355392/comments/)
## Previously
### on Cloud Native Košice
## Kubernetes is ~~not~~ HUGE!
## Kubernetes 101
### (RAMBO Edition)
[Miroslav "mirek" Biňas](miroslav.binas@tuke.sk) / [Cloud Native Košice](https://www.linkedin.com/events/cloudnativeko-icemeetup-47209200561047355392/comments/)
[![kubectl](images/kubectl.png)](https://kubernetes.io/docs/reference/kubectl/)
[![K8s Architecture](images/k8s.architecture.png)](https://thenewstack.io/kubernetes-an-overview/)
## Pod
> The smallest deployable unit of computing that can be created and managed.
![Pod vs Container](images/pod.vs.containers.jpg)
## Deployment
> Provides **declarative updates** for `Pods` and `ReplicaSets`.
![Control Loop](images/control.loop.webp)
### Don't deploy on a friday!
## Service
> **A method** for **exposing a network application** that is running as one or more `Pods` in your cluster.
![Service Types](images/service.types.png)
![About Ports](images/nodeport.port.targetport.png)
## [First Blood](http://52.58.85.13:8000/)
## Houston, we have a problem.
## Ingress
> Ingress **exposes HTTP and HTTPS routes from outside the cluster to services within the cluster**. Traffic routing is controlled by rules defined on the Ingress resource.
[![](images/ingress-architecture.png)](https://kubernetes.io/docs/concepts/services-networking/ingress/)
## [Ingress Controller](https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/)
## Components of Ingress Rule
`HOST/PATH=SERVICE_NAME:SERVICE_PORT`
[![](images/ingress-state.png)](https://kubernetes.io/docs/concepts/services-networking/ingress/)
### Links
* Single-Node K8s Clusters
* [minikube](https://minikube.sigs.k8s.io/docs/)
* [MicroK8s](https://microk8s.io/)
* [K3s](https://k3s.io/)
* Kubernetes: The Documentary - [part 1](https://www.youtube.com/watch?v=BE77h7dmoQU), [part 2](https://www.youtube.com/watch?v=318elIq37PE)
![qr code](https://api.qrserver.com/v1/create-qr-code/?data=https://bit.ly/3zoixAv&size=300x300)
(**https://bit.ly/3zoixAv**)