Introduction to Kubernetes
Frank Heilmann
Platform Architect and Freelance Instructor
Labels:
environment: prodapp: my_cool_apphas_GPU: trueSelectors:
Examples:
...
selector:
environment: prod
app: my_cool_app
...
...
nodeSelector:
has_GPU: true
...


apiVersion: v1
kind: Service
metadata:
name: Kubernetes_Service_2
spec:
type: ...
selector:
app: app2
...

Avoids uneven load on resources, increases efficiency and lowers response times
Example:
apiVersion: v1
kind: Service
metadata:
name: <service name>
spec:
type: LoadBalancer
selector:
<key1>: <value1>
<key2>: <value2>
...

Kubernetes has all necessary components to secure applications running on
it, e.g:
Introduction to Kubernetes