Git Product home page Git Product logo

k8s-exercise's Introduction

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

k8s-exercise's People

Contributors

chrisns avatar dependabot[bot] avatar renovate-bot avatar the-repository-manager[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

k8s-exercise's Issues

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

Rate Limited

These updates are currently rate limited. Click on a checkbox below to force their creation now.

  • Lock file maintenance

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.