Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.05 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.05 KB

Interview

Exercise

  • 🐳 dockerify the app
  • ☸ write a deployment and deploy to minikube
  • 🍪 provide inbound access to the app

Considerations / discussion points:

  • The app is pretty flakey, so a:
    • small image will be important to improve startup time on rescheduling
    • aggressive checks will be needed to minimize bounced requests
    • multiple replicas will be needed to minimize dropped requests
  • Network policy deny-all policy
  • internal+external TLS, auth - how sidecar pattern might help with this
  • How to run the app as non-privileged user
  • Readonly FS
  • How to inject secrets via env vars / files, which is better
  • memory + cpu allocation right sizing
  • autoscaling

use minikube with ingress

minikube start --memory=4096 --addons=ingress

maybe if one can find a way to make ingress work with network policies and a cni:

minikube start --network-plugin=cni --memory=4096 --addons=ingress
kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.6/install/kubernetes/quick-install.yaml