Intro to kubernetes
Instructor email: mailto:cludwig@instantbrains.com LinkedIn: https://www.linkedin.com/in/chris-ludwig/
Learning objectives
- What’s the minimum hardware setup needed to use kubernetes as a home lab?
- How would I set up a hybrid cloud burst pattern that scales down to minimal/zero cost?
- Use rancher
- How could I set up continuous delivery through github actions with auto semver bumping?
Questions
Question: Is the idea that each microservice would be managed by a separate team or would a single team manage all the micro services for an application?
- How would you connect nodes from a different network? Would the kube-proxy work across networks?
- Set up a vpn to “fool” k8s into seeing them all on the same network.
- Why do deployments have unique Ids but pods don’t?
- Deployed pods are part of a replica set. Pods are named replica set id + unique pod id
- Are ClusterIP service and ingresses exposed on all nodes, or just the control plane nodes, or just the worker node with the pod?
- How do containers reference each other when deployed on separate pods? Same service and different service.
- Service name or pod IP
- Are selectors OR’d or AND’d? e.g. in a deployment or a service
- OR’d
- For a web service that only supports https, does it matter if you specify both port 80 and 443 or just forward everything to port 80?
- How do you apply labels to nodes in yaml?
- it’s possible
- How would you pass secrets from CI to manifest files?
- Yes, but might require string replacement