Coder Social home page Coder Social logo

ud615's Introduction

UD615: Scalable Microservices with Kubernetes

This is the code for Scalable Microservices with Kubernetes. In this course you will learn how to:

Kubernetes Version: 1.2.2

Course Description

Kubernetes is all about applications and in this course you will utilize the Kubernetes API to deploy, manage, and upgrade applications. In this part of the workshop you will use an example application called "app" to complete the labs.

App is an example 12 Factor application that we'll be using throughout the course. During this course you will be working with the following Docker images:

Links

ud615's People

Contributors

13rac1 avatar aebm avatar askcarter avatar kelseyhightower avatar kirkins avatar pierrefritsch avatar sudkul avatar vidbina avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ud615's Issues

Missing key in healthy-monolith.yaml ?

According to video MHC in file kubernetes/pods/healthy-monolith.yaml at group spec/containers/readinessProbe there should be a key periodSeconds with value 10.

It does not exist.

Either the video or the file must be amended.

The Kubernetes Probe API suggests that the video is correct and the file is missing the key.
The key should probably be inserted at line 34 to conform with order of group livenessProbe above.

Anti-pattern: No security context for pods

Dear Colleague,

We are looking to find ways to help developers find security misconfigurations, i.e., violation of security best practices in Kubernetes manifests. We have noticed an instance of no security context in one of your Kubernetes manifests. The recommended practice is use of security context for pods. Without defining a security context for the pod, a container may run with root privilege and write permission into the root file system, making the Kubernetes cluster vulnerable. For examples of Kubernetes security anti-patterns we are following our peer-reviewed publication on Kubernetes security best practices (https://arxiv.org/pdf/2006.15275.pdf).

Location:

Please use securityContext to fix this misconfiguration. We would like to hear if you agree to fix this misconfiguration or have fixed the misconfiguration.

Certificate is expired

openssl x509 -enddate -noout -in kubernetes/tls/cert.pem
notAfter=Apr 26 04:09:08 2017 GMT

Misleading app/README.md

$./server
2016/04/15 06:34:12 Starting server...
2016/04/15 06:34:12 HTTP service listening on 0.0.0.0:5000
2016/04/15 06:34:12 Health service listening on 0.0.0.0:5001
2016/04/15 06:34:12 Started successfully.

Default ports for HTTP and Health services are 80 and 81 respectively.

Issue with circular dependencies

In Lesson 2 part 11 "Create an Image" I get the following error and am unable to proceed:

`cloudshell:~/go/src/github.com/udacity/ud615/app/monolith (udacity-230007)$ go get -u

import cycle not allowed
package github.com/udacity/ud615/app/monolith
imports flag
imports errors
imports runtime
imports internal/cpu
imports runtime`

Any idea how to proceed?

Rolling Updates section needs a exampe-auth:2.0.0 tag

In the deploying Microservices section of the class under Rolling Updates. Kelsey does a rolling update by editing demployments/auth.yml. In the video he changes the image to kelseyhightower/auth:2.0.0.

Following along using this cloned app deployments/auth.yml has udacity/example-auth:1.0.0.
https://github.com/udacity/ud615/blob/master/kubernetes/deployments/auth.yaml#L15

However you do not have a tagged version udacity/example-auth:2.0.0 in your Docker Hub repo. This will cause the rolling update to fail.
https://hub.docker.com/r/udacity/example-auth/tags/

I need to use Kelsey's auth:2.0.0 image to complete the process.

Enjoyed the class. Thanks!

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.