Code Monkey home page Code Monkey logo

kubernetes-level1's Introduction

Prerequisites:-

  1. Install terraform
  2. Install kubectl
  3. Install gcloud
  4. Create project on google cloud
  5. Create service account and activate using command gcloud auth activate-service-account --key-file=$("/create-gcp-cluster/creads/serviceaccount.json")
  6. run level1.sh script
  7. if required install helm and add service account

Run level1.sh script ./level1.sh

In the context of test: What was the node size chosen for the Kubernetes nodes? And why? -> chosen node size for nodes g1-small as I am going to deploy guest-book application which requires cpu: 100m memory: 100Mi for each pod and each deployment in staging and production namespace. -> we can take f1-micro but with this autoscaling can fail with insufficient memory because f1.micro has only 0.6 GB of memory

What method was chosen to install the demo application and ingress controller on the cluster, justify the method used -> chose Kubectl commands to install application and ingress on cluster -> can use Helm and install application and ingress as well -> For Helm we need to create service account and need to maintain tiller version which I face during my current development and there are development happening for tiller less helm but for now I would really want to stick with kubectl reference https://medium.com/virtuslab/think-twice-before-using-helm-25fbb18bc822

What would be your chosen solution to monitor the application on the cluster and why? If we want standard monitoring-> -> Prometheus is one of the most popular monitoring tools used with Kubernetes. It's community-driven and a member of the Cloud Native Computing Foundation. This project, developed first by SoundCloud and afterward donated to the CNCF, is inspired by Google Borg Monitor.

-> Prometheus stores all its data as a time series. This data can be queried via the PromQL query language and visualized with a built-in expression browser. Since Prometheus is not a dashboard, it relies on Grafana for visualizing data.

If we want each container logs monitoring more details- Dynatrace

What additional components / plugins would you install on the cluster to manage it better?

Deployment - kubespray https://github.com/kubernetes-incubator/kubespray

Monitoring - Dynatrace https://github.com/Dynatrace/dynatrace-oneagent-operator

Testing - kube-monkey https://github.com/asobti/kube-monkey

Security - Kubesec.io https://kubesec.io

Development - Helm https://github.com/kubernetes/helm

kubernetes-level1's People

Watchers

James Cloos avatar

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.